/[packages]/cauldron/acpid/current/SPECS/acpid.spec
ViewVC logotype

Contents of /cauldron/acpid/current/SPECS/acpid.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1297181 - (show annotations) (download)
Sun Sep 23 08:39:41 2018 UTC (5 years, 6 months ago) by daviddavid
File size: 1241 byte(s)
- new version: 2.0.30
- rediff CVE-2011-2777 patch
- fix release tag to ensure mass_rebuild can increase the number (SILENT)

1 %define rel 1
2
3 Summary: ACPI kernel daemon and control utility
4 Name: acpid
5 Epoch: 2
6 Version: 2.0.30
7 Release: %mkrel %{rel}
8 License: GPLv2+
9 Group: System/Servers
10 URL: http://sourceforge.net/projects/acpid2/
11 Source0: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
12 Source2: acpid.service
13 Patch1: acpid-CVE-2011-2777.patch
14 ExclusiveArch: %{ix86} x86_64 %arm aarch64
15 Requires(post): rpm-helper >= 0.24.8-1
16 Requires(preun): rpm-helper >= 0.24.8-1
17
18 %description
19 The ACPI specification defines power and system management functions
20 for each computer, in a generic manner. The ACPI daemon coordinates
21 the management of power and system functions when ACPI kernel
22 support is enabled (kernel 2.3.x or later).
23
24 %prep
25 %setup -q
26 %autopatch -p1
27
28 %build
29 %configure2_5x
30 %make_build
31
32 %install
33 %make_install
34 install -D -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/acpid.service
35
36 install -d %{buildroot}%{_sysconfdir}/acpi/actions
37 install -d %{buildroot}%{_sysconfdir}/acpi/events
38
39 %post
40 %_post_service acpid
41
42 %preun
43 %_preun_service acpid
44
45 %files
46 %doc Changelog COPYING README TESTPLAN TODO
47 %{_sbindir}/*
48 %{_bindir}/*
49 %{_mandir}/man8/*
50 %{_unitdir}/acpid.service
51 %dir %{_sysconfdir}/acpi/actions
52 %dir %{_sysconfdir}/acpi/events

  ViewVC Help
Powered by ViewVC 1.1.30