I have made the following changes intended for : CE:Adaptation:N900 / wl1251-cal-bin
Please review and accept ASAP - BOSS has already processed this request and suggests ??? See the "Messages from BOSS" section below https://build.pub.meego.com/request/show/2618 Thank You, bossbot ([email protected]) [This message was auto-generated] --- Request # 2618: Messages from BOSS: None State: new 2011-10-24T12:18:30 bossbot Reviews: from bossbot :BOSS suggests accepting this review. See email for more details. BOSS accepted this review because: Target repo CE_Mer_Core_armv7hl found. accepted on No date Changes: submit: home:stskeeps:mer:hw:n900 / wl1251-cal-bin -> CE:Adaptation:N900 / wl1251-cal-bin Index: wl1251-cal.service =================================================================== --- wl1251-cal.service (revision 0) +++ wl1251-cal.service (revision 3) @@ -0,0 +1,13 @@ +[Unit] +Description=wl1251-cal service to set wlan0 MAC address +DefaultDependencies=no +After=dbus.service +Before=connman.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/wl1251-cal + +[Install] +WantedBy=basic.target + Index: wl1251-cal-bin.changes =================================================================== --- wl1251-cal-bin.changes (revision 0) +++ wl1251-cal-bin.changes (revision 3) @@ -0,0 +1,9 @@ +* Fri Oct 21 2011 Carsten Munk <[email protected]> - 0.18 +- Do package with updated spectacle + +* Tue Sep 20 2011 Jouni Peltonen <[email protected]> - 0.18 +- Udev rule replaced with wl1251-cal.service file. BMC#23125 + +* Wed Dec 29 2010 Markus Lehtonen <[email protected]> - 0.18 +- Initial packaging of wl1251-cal binary +- Needed to implement FEA#9548 Index: wl1251-cal-bin.spec =================================================================== --- wl1251-cal-bin.spec (revision 0) +++ wl1251-cal-bin.spec (revision 3) @@ -0,0 +1,82 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +%define debug_package %{nil} +# << macros + +Name: wl1251-cal-bin +Summary: Calibration data pusher for wl1251 +Version: 0.18 +Release: 0 +Group: Communications/Connectivity Adaptation +License: Nokia Proprietary +ExclusiveArch: %arm +Source0: %{name}-%{version}-%{_target_cpu}.tar.bz2 +Source1: license.txt +Source2: wl1251-cal.service +Source100: wl1251-cal-bin.yaml +Requires: systemd +Requires(preun): systemd +Requires(post): systemd +Requires(postun): systemd + + +%description +This application reads the stored calibration data and pushes it to wl1251. + + + +%prep +%setup -q -n %{name}-%{version}-%{_target_cpu} + +# >> setup +# Copy license to build dir +cp %{SOURCE1} . +# << setup + +%build +# >> build pre +# << build pre + + + +# >> build post +# << build post +%install +rm -rf %{buildroot} +# >> install pre +# << install pre + +# >> install post +install -d $RPM_BUILD_ROOT +cp -ax ./usr $RPM_BUILD_ROOT +mkdir -p %{buildroot}/%{_lib}/systemd/system/basic.target.wants +install -D -m 0644 %SOURCE2 ${RPM_BUILD_ROOT}/%{_lib}/systemd/system/ +mkdir -p %{buildroot}/%{_lib}/systemd/system/basic.target.wants/ +ln -s ../wl1251-cal.service %{buildroot}/%{_lib}/systemd/system/basic.target.wants/wl1251-cal.service +# << install post + + +%preun +systemctl stop wl1251-cal.service + +%post +systemctl daemon-reload +systemctl reload-or-try-restart wl1251-cal.service + +%postun +systemctl daemon-reload + + +%files +%defattr(-,root,root,-) +# >> files +%{_bindir}/* +/%{_lib}/systemd/system/wl1251-cal.service +/%{_lib}/systemd/system/basic.target.wants/wl1251-cal.service +%doc license.txt +# << files + + Index: wl1251-cal-bin-0.18-armv7l.tar.bz2 =================================================================== Binary file wl1251-cal-bin-0.18-armv7l.tar.bz2 added Index: wl1251-cal-bin-0.18-armv7hl.tar.bz2 =================================================================== Binary file wl1251-cal-bin-0.18-armv7hl.tar.bz2 added Index: license.txt =================================================================== --- license.txt (revision 0) +++ license.txt (revision 3) @@ -0,0 +1,9 @@ +Copyright (c) Nokia Corporation 2010 +All Rights Reserved. + +This material, including documentation and any related computer programs, is +protected by copyright controlled by Nokia Corporation. All rights are +reserved. Modifying, adapting and/or translating, any or all of this material +requires the prior written consent of Nokia. Distribution for commercial +purposes not allowed without prior written approval from Nokia. + Index: wl1251-cal-bin.yaml =================================================================== --- wl1251-cal-bin.yaml (revision 0) +++ wl1251-cal-bin.yaml (revision 3) @@ -0,0 +1,16 @@ +Name: wl1251-cal-bin +Summary: Calibration data pusher for wl1251 +Version: 0.18 +Release: 0 +Group: Communications/Connectivity Adaptation +License: Nokia Proprietary +Sources: + - "%{name}-%{version}-%{_target_cpu}.tar.bz2" + - "license.txt" + - "wl1251-cal.service" +Description: This application reads the stored calibration data and pushes it to wl1251. +ExclusiveArch: "%arm" + +SetupOptions: "-q -n %{name}-%{version}-%{_target_cpu}" +Configure: none +Builder: none
