1 Summary: ACPI Event Daemon
7 Source: acpid-1.0.0.tar.gz
8 BuildRoot: /var/tmp/acpid
9 URL: http://acpid.sourceforge.net
13 acpid is a daemon that dispatches ACPI events to user-space programs.
17 * Thu Aug 16 2001 Tim Hockin <thockin@sun.com>
18 - Added commandline options to actions
20 * Wed Aug 15 2001 Tim Hockin <thockin@sun.com>
21 - Added UNIX domain socket support
22 - Changed /etc/acpid.d to /etc/acpid/events
24 * Mon Aug 13 2001 Tim Hockin <thockin@sun.com>
37 rm -rf $RPM_BUILD_ROOT
38 mkdir -p $RPM_BUILD_ROOT
39 make install INSTPREFIX=$RPM_BUILD_ROOT
41 mkdir -p $RPM_BUILD_ROOT/etc/acpi/events
42 mkdir -p $RPM_BUILD_ROOT/etc/acpi/actions
43 chmod 755 $RPM_BUILD_ROOT/etc/acpi/events
44 install -o root -g root -m 644 samples/sample.conf \
45 $RPM_BUILD_ROOT/etc/acpi/events
47 mkdir -p $RPM_BUILD_ROOT/var/log
48 touch $RPM_BUILD_ROOT/var/log/acpid
49 chmod 640 $RPM_BUILD_ROOT/var/log/acpid
51 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
52 install -o root -g root redhat/acpid.init $RPM_BUILD_ROOT/etc/rc.d/init.d/acpid
53 chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/acpid
60 %dir /etc/acpi/actions
61 /etc/acpi/events/sample.conf
64 /etc/rc.d/init.d/acpid
65 /usr/share/man/man8/acpid.8.gz
69 # only run on install, not upgrade
70 if [ "$1" = "1" ]; then
71 /sbin/chkconfig --add acpid
76 # only run if this is the last instance to be removed
77 if [ "$1" = "0" ]; then
78 /sbin/chkconfig --del acpid