Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n900
>
wl1251-cal-bin
> wl1251-cal-bin.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File wl1251-cal-bin.spec of Package wl1251-cal-bin
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: wl1251-cal-bin # >> macros %define debug_package %{nil} # << macros Summary: Calibration data pusher for wl1251 Version: 0.18 Release: 0 Group: Communications/Connectivity Adaptation License: Nokia Proprietary ExclusiveArch: %arm Source0: %{name}-%{version}-armv7hl.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}-armv7hl # >> 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 if [ "$1" -eq 0 ]; then systemctl stop wl1251-cal.service fi %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