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