1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Base System/Daemons
11 url = http://tedfelix.com/linux/acpid-netlink.html
13 summary = ACPI Event Daemon.
16 acpid is a daemon that dispatches ACPI events to user-space programs.
19 source_dl = http://tedfelix.com/linux/
23 sed -e "s/-Werror//g" -i Makefile
24 make CC=gcc RPM_OPT_FLAGS="%{CFLAGS}" %{PARALLLEISMFLAGS}
28 mkdir -pv %{BUILDROOT}/etc/acpi/{actions,events}
29 cp -vf %{DIR_SOURCE}/power %{BUILDROOT}/etc/acpi/events/
30 cp -vf %{DIR_SOURCE}/power.sh %{BUILDROOT}/etc/acpi/actions/
32 mkdir -pv %{BUILDROOT}/etc/sysconfig
33 cp -vf %{DIR_SOURCE}/acpid.sysconfig %{BUILDROOT}/etc/sysconfig/acpid
41 package %{name}-debuginfo