]> git.pld-linux.org Git - packages/laptop-mode-tools.git/commitdiff
- proper ifarchs for -acpi/-apm
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Jan 2008 13:48:19 +0000 (13:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed acpi config perms; nothing secret in acpi and apm files

Changed files:
    laptop-mode-tools.spec -> 1.17

laptop-mode-tools.spec

index 40124c43e485f806e8afafb847656ead97e99621..82981046f4d6181606d1cbe610f83106835ddb16 100644 (file)
@@ -1,6 +1,7 @@
 #
 # TODO:
 # - subpackage with files for pbbuttonsd and pmud
+# - fix *.conf manuals (should be .5 and referenced as such)
 #
 Summary:       Laptop Mode Tools
 Summary(pl.UTF-8):     NarzÄ™dzia do trybu laptopowego
@@ -77,10 +78,14 @@ install etc/laptop-mode/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/laptop-mode/
 install usr/lib/laptop-mode-tools/modules/wireless-ipw-power $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
 install usr/sbin/{laptop_mode,lm-syslog-setup,lm-profiler} $RPM_BUILD_ROOT%{_sbindir}
 
+%ifarch %{ix86} %{x8664} ia64
 install etc/acpi/actions/* $RPM_BUILD_ROOT%{_sysconfdir}/acpi/actions
 install etc/acpi/events/* $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events
+%endif
 
+%ifarch %{ix86} arm mips ppc sh
 install etc/apm/event.d/* $RPM_BUILD_ROOT%{_sysconfdir}/apm/event.d
+%endif
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/laptop-mode
 
@@ -114,15 +119,26 @@ fi
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/modules
 %attr(755,root,root) %{_libdir}/%{name}/modules/wireless-ipw-power
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*.8*
-
+%attr(755,root,root) %{_sbindir}/laptop_mode
+%attr(755,root,root) %{_sbindir}/lm-profiler
+%attr(755,root,root) %{_sbindir}/lm-syslog-setup
+%{_mandir}/man8/laptop_mode.8*
+%{_mandir}/man8/lm-profiler.8*
+%{_mandir}/man8/lm-syslog-setup.8*
+# should be man5
+%{_mandir}/man8/laptop-mode.conf.8*
+%{_mandir}/man8/lm-profiler.conf.8*
+
+%ifarch %{ix86} %{x8664} ia64
 %files acpi
 %defattr(644,root,root,755)
-%attr(750,root,root) %{_sysconfdir}/acpi/*/*
+%attr(755,root,root) %{_sysconfdir}/acpi/actions/lm_*.sh
+%{_sysconfdir}/acpi/events/lm_*
+%endif
 
-%ifarch %{ix86} ppc
+%ifarch %{ix86} arm mips ppc sh
 %files apm
 %defattr(644,root,root,755)
-%attr(750,root,root) %{_sysconfdir}/apm/event.d/*
+# dir not owned
+%attr(755,root,root) %{_sysconfdir}/apm/event.d/laptop-mode
 %endif
This page took 0.332476 seconds and 4 git commands to generate.