]>
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 | 5 | Release: 1 |
b7442866 JB |
6 | License: GPL v2+ |
7 | Group: Applications/System | |
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 |
b7442866 | 13 | ExclusiveArch: %{ix86} %{x8664} ia64 |
431fd649 AM |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
baee767f JB |
17 | Linux ACPI client is a small command-line program that attempts to |
18 | replicate the functionality of the 'old' apm command on ACPI systems. | |
19 | It includes battery and thermal information. | |
20 | ||
d877e1a8 JR |
21 | %description -l pl.UTF-8 |
22 | Klient Linux ACPI to mały program działający z linii poleceń, będący | |
23 | próbą zastąpienia funkcjonalności "starego" polecenia apm na systemach | |
baee767f | 24 | opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze. |
431fd649 AM |
25 | |
26 | %prep | |
8150972d | 27 | %setup -q |
431fd649 AM |
28 | |
29 | %build | |
30 | %{__aclocal} | |
31 | %{__autoconf} | |
8150972d | 32 | %{__autoheader} |
431fd649 AM |
33 | %{__automake} |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
431fd649 AM |
44 | %clean |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
8150972d | 49 | %doc AUTHORS ChangeLog README |
b7442866 | 50 | %attr(755,root,root) %{_bindir}/acpi |