SPECS: acpid.spec - rel 6; stbr anyone - separated -policy subpackage for t...
mmazur
mmazur at pld-linux.org
Sun Oct 26 12:59:33 CET 2008
Author: mmazur Date: Sun Oct 26 11:59:33 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 6; stbr anyone
- separated -policy subpackage for those hardcore enough, they don't want
to use modern tools for power management and still like their little
shell scripts for suspend2ram and such
---- Files affected:
SPECS:
acpid.spec (1.59 -> 1.60)
---- Diffs:
================================================================
Index: SPECS/acpid.spec
diff -u SPECS/acpid.spec:1.59 SPECS/acpid.spec:1.60
--- SPECS/acpid.spec:1.59 Fri May 2 14:02:07 2008
+++ SPECS/acpid.spec Sun Oct 26 12:59:28 2008
@@ -7,7 +7,7 @@
Summary(pl.UTF-8): Demon zdarzeń ACPI
Name: acpid
Version: 1.0.6
-Release: 5
+Release: 6
License: GPL v2+
Group: Daemons
Source0: http://dl.sourceforge.net/acpid/%{name}-%{version}.tar.gz
@@ -33,7 +33,37 @@
acpid is a daemon that dispatches ACPI events to user-space programs.
%description -l pl.UTF-8
-acpid to demon przekazujący zdarzenia ACPI do programów w user-space.
+acpid to demon przekazujący zdarzenia ACPI do programów w
+user-space.
+
+%package policy
+Summary: ACPID policy files
+Summary: Pliki z polityką dla ACPID
+Group: Daemons
+Requires: %{name} > 1.0.6-5
+
+%description policy
+This package contains scripts and configuration files which allow
+ACPID to take action on incoming acpi events (eg. to run a script that
+suspends the system when the power button is pressed).
+
+Notice: on most current systems you DO NOT want this package
+installed, since there are other software packages responsible for
+handling acpi events (one example being gnome-power-manager) and
+having ACPID also respond will lead to problems. In such cases ACPID
+should only act as a message broker.
+
+%description policy -l pl.UTF-8
+Ta paczka zawiera skrypty i pliki konfiguracyjne, które umożliwiają
+demonowi ACPI wykonywanie operacji na podstawie przychodzących
+zdarzeń acpi (np. uruchomienie skryptu usypiającego system, gdy
+użytkownik naciśnie przycisk zasilania).
+
+Uwaga: na większości obecnych systemów NIE CHCESZ instalować tej
+paczki, gdyż za reagowanie na zdarzenia acpi są w nich
+odpowiedzialne inne programy (np. gnome-power-manager), więc ACPID by
+tylko przeszkadzał. W takich przypadkach demon ACPI powinien
+działać wyłącznie jako dyspozytor wiadomości.
%prep
%setup -q
@@ -85,21 +115,30 @@
%attr(755,root,root) %{_sbindir}/acpid
%dir %{_sysconfdir}/acpi
%dir %{_sysconfdir}/acpi/events
-%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/acpi/events/*.conf
%dir %{_sysconfdir}/acpi/actions
-%attr(754,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/acpi/actions/*.sh
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/acpid
%attr(754,root,root) /etc/rc.d/init.d/acpid
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/acpid
%attr(640,root,root) %ghost /var/log/acpid
%{_mandir}/man8/acpid.8*
+%files policy
+%defattr(644,root,root,755)
+%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/acpi/events/*.conf
+%attr(754,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/acpi/actions/*.sh
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.60 2008/10/26 11:59:28 mmazur
+- rel 6; stbr anyone
+- separated -policy subpackage for those hardcore enough, they don't want
+ to use modern tools for power management and still like their little
+ shell scripts for suspend2ram and such
+
Revision 1.59 2008/05/02 12:02:07 areq
- -D_GNU_SOURCE
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/acpid.spec?r1=1.59&r2=1.60&f=u
More information about the pld-cvs-commit
mailing list