]>
Commit | Line | Data |
---|---|---|
baee767f | 1 | Summary: Command-line ACPI client |
83fb1e2d | 2 | Summary(pl.UTF-8): Klient ACPI działający z linii poleceń |
431fd649 | 3 | Name: acpi |
8150972d | 4 | Version: 0.09 |
431fd649 AM |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications | |
8150972d JB |
8 | Source0: http://grahame.angrygoats.net/source/acpi/%{name}-%{version}.tar.gz |
9 | # Source0-md5: a5a70595834b487c3a2f9278a3d60768 | |
431fd649 | 10 | URL: http://grahame.angrygoats.net/acpi.shtml |
8150972d | 11 | BuildRequires: autoconf >= 2.50 |
baee767f | 12 | BuildRequires: automake |
431fd649 AM |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
baee767f JB |
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 | ||
d877e1a8 JR |
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 | |
baee767f | 23 | opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze. |
431fd649 AM |
24 | |
25 | %prep | |
8150972d | 26 | %setup -q |
431fd649 AM |
27 | |
28 | %build | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
8150972d | 31 | %{__autoheader} |
431fd649 AM |
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 | ||
431fd649 AM |
43 | %clean |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
8150972d | 48 | %doc AUTHORS ChangeLog README |
431fd649 | 49 | %attr(755,root,root) %{_bindir}/* |