Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n900
>
nokia-n900-configs
> nokia-n900-configs.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nokia-n900-configs.spec of Package nokia-n900-configs
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: nokia-n900-configs # >> macros # << macros Summary: Provides configs for Nokia N900 Version: 0.7.6 Release: 1 Group: System/Device Mode Adaptation License: GPLv2 ExclusiveArch: %{arm} Source0: nokia-n900-input-rules.conf Source1: nokia-n900-keys.map Source2: %{name}.sh Source3: pipelines.conf Source4: %{name}.service Source5: 60-nemo-mobile-hw.conf Source6: 10-n900-swap Source100: nokia-n900-configs.yaml Requires: kbd Requires: oneshot Requires: systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd BuildRequires: oneshot %description Provides configs for Nokia N900 device. # >> macros2 %{_oneshot_requires_post} # << macros2 %prep # No setup # >> setup # << setup %build # >> build pre # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post install -D -m 644 %{SOURCE0} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/90-input-n900.conf install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT/lib/kbd/keymaps/arm/qwerty/nokia-n900.map install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/sbin/%{name}.sh install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/camera/pipelines.conf install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/%{name}.service install -d $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/ ln -s ../%{name}.service $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/%{name}.service install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT/var/lib/environment/nemo/60-nemo-mobile-hw.conf install -D -m 755 %{SOURCE6} $RPM_BUILD_ROOT/%{_oneshotdir}/10-n900-swap # << install post %preun if [ "$1" -eq 0 ]; then systemctl stop %{name}.service fi %post systemctl daemon-reload systemctl reload-or-try-restart %{name}.service # >> post if [ "$1" -eq 1 ]; then %{_bindir}/add-oneshot 10-n900-swap fi # << post %postun systemctl daemon-reload %files %defattr(-,root,root,-) # >> files %{_oneshotdir}/* # Input %config %{_sysconfdir}/X11/xorg.conf.d/90-input-n900.conf /lib/kbd/keymaps/arm/qwerty/nokia-n900.map %attr(755,root,root) /usr/sbin/%{name}.sh /lib/systemd/system/%{name}.service /lib/systemd/system/multi-user.target.wants/%{name}.service /var/lib/environment/nemo/60-nemo-mobile-hw.conf # Camera %attr(644,root,root) %config %{_sysconfdir}/camera/pipelines.conf # << files