SPECS: laptop-mode-tools.spec - proper ifarchs for -acpi/-apm - fi...
qboosh
qboosh at pld-linux.org
Sun Jan 20 14:48:25 CET 2008
Author: qboosh Date: Sun Jan 20 13:48:25 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper ifarchs for -acpi/-apm
- fixed acpi config perms; nothing secret in acpi and apm files
---- Files affected:
SPECS:
laptop-mode-tools.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: SPECS/laptop-mode-tools.spec
diff -u SPECS/laptop-mode-tools.spec:1.16 SPECS/laptop-mode-tools.spec:1.17
--- SPECS/laptop-mode-tools.spec:1.16 Wed Jan 9 00:07:01 2008
+++ SPECS/laptop-mode-tools.spec Sun Jan 20 14:48:19 2008
@@ -2,6 +2,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
@@ -78,10 +79,14 @@
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
@@ -115,17 +120,28 @@
%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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -134,6 +150,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2008-01-20 13:48:19 qboosh
+- proper ifarchs for -acpi/-apm
+- fixed acpi config perms; nothing secret in acpi and apm files
+
Revision 1.16 2008-01-08 23:07:01 glen
- apmd not available on all arches; rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/laptop-mode-tools.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list