Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
nv:tegra3:common
>
configs-tegra3
> configs-tegra3.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File configs-tegra3.spec of Package configs-tegra3
Name: configs-tegra3 Summary: Tegra specific configuration files Version: 0.1 Release: 0 Group: System/Startup Services License: GPLv2 BuildArch: noarch Source0: nemo-mobile-hw Source1: configs-tegra3.sh Source2: configs-tegra3.service # We add the arch in the .ks file to zypp.conf so we comment this here. #Source3: zypp.conf Source4: tegra3-env.sh Requires: alsa-utils Requires: systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd %description Tegra specific configuration files that are hacks and/or are hard to find a proper place for. %prep %build %install rm -rf %{buildroot} install -D -m 644 %{SOURCE0} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/nemo-mobile-hw #install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/zypp/zypp.conf install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sbindir}/configs-tegra3.sh install -D -m 755 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/tegra3-env.sh # systemd install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/configs-tegra3.service install -d $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/ ln -s ../configs-tegra3.service $RPM_BUILD_ROOT/lib/systemd/system/multi-user.target.wants/configs-tegra3.service %preun if [ "$1" -eq 0 ]; then systemctl stop configs-tegra3.service fi %post systemctl daemon-reload systemctl reload-or-try-restart configs-tegra3.service %postun systemctl daemon-reload %files %defattr(-,root,root,-) %attr(755,root,root) %{_sbindir}/configs-tegra3.sh %{_sysconfdir}/sysconfig/nemo-mobile-hw #%{_sysconfdir}/zypp/zypp.conf %{_sysconfdir}/profile.d/tegra3-env.sh /lib/systemd/system/configs-tegra3.service /lib/systemd/system/multi-user.target.wants/configs-tegra3.service