1 |
kharec |
7213 |
Summary: Displays information on ACPI devices |
2 |
|
|
Name: acpi |
3 |
tv |
206555 |
Version: 1.6 |
4 |
|
|
Release: %mkrel 1 |
5 |
kharec |
7213 |
License: GPLv2+ |
6 |
|
|
Group: System/Servers |
7 |
|
|
Url: http://sourceforge.net/projects/acpiclient/ |
8 |
|
|
Source0: http://downloads.sourceforge.net/project/acpiclient/acpiclient/%{version}/%{name}-%{version}.tar.gz |
9 |
|
|
Requires: dmidecode |
10 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
11 |
|
|
|
12 |
|
|
%description |
13 |
|
|
Attempts to replicate the functionality of the 'old' apm command on |
14 |
|
|
ACPI systems, including battery and thermal information. |
15 |
|
|
|
16 |
|
|
%prep |
17 |
|
|
%setup -q |
18 |
|
|
|
19 |
|
|
%build |
20 |
|
|
%configure2_5x |
21 |
|
|
%make CFLAGS="%{optflags}" |
22 |
|
|
|
23 |
|
|
%install |
24 |
|
|
rm -rf %{buildroot} |
25 |
|
|
%makeinstall |
26 |
|
|
|
27 |
|
|
%clean |
28 |
|
|
rm -rf %{buildroot} |
29 |
|
|
|
30 |
|
|
%triggerpostun -- acpi < 0.09-4 |
31 |
|
|
rm -f /etc/rc.d/*/{K,S}*acpi |
32 |
|
|
|
33 |
|
|
%files |
34 |
|
|
%defattr(-,root,root) |
35 |
|
|
%doc AUTHORS ChangeLog README |
36 |
|
|
%{_bindir}/* |
37 |
|
|
%{_mandir}/man1/%{name}* |
38 |
|
|
|
39 |
|
|
|