]>
Commit | Line | Data |
---|---|---|
1 | Summary: Command-line ACPI client | |
2 | Summary(pl.UTF-8): Klient ACPI działający z linii poleceń | |
3 | Name: acpi | |
4 | Version: 0.09 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://grahame.angrygoats.net/source/acpi/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: a5a70595834b487c3a2f9278a3d60768 | |
10 | URL: http://grahame.angrygoats.net/acpi.shtml | |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Linux ACPI client is a small command-line program that attempts to | |
17 | replicate the functionality of the 'old' apm command on ACPI systems. | |
18 | It includes battery and thermal information. | |
19 | ||
20 | %description -l pl.UTF-8 | |
21 | Klient Linux ACPI to mały program działający z linii poleceń, będący | |
22 | próbą zastąpienia funkcjonalności "starego" polecenia apm na systemach | |
23 | opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %{__autoheader} | |
32 | %{__automake} | |
33 | %configure | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc AUTHORS ChangeLog README | |
49 | %attr(755,root,root) %{_bindir}/* |