]> git.pld-linux.org Git - packages/acpi.git/blob - acpi.spec
58a11b0d3a36b6ea30f9ad259bcff678e4509e08
[packages/acpi.git] / acpi.spec
1 Summary:        Command-line ACPI client
2 Summary(pl.UTF-8):      Klient ACPI działający z linii poleceń
3 Name:           acpi
4 Version:        1.5
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://downloads.sourceforge.net/acpiclient/%{name}-%{version}.tar.gz
9 # Source0-md5:  ccfee3d53eba9c9947adafbcc1387611
10 URL:            http://acpiclient.sourceforge.net/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 ExclusiveArch:  %{ix86} %{x8664} ia64
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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
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
24 opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__aclocal}
31 %{__autoconf}
32 %{__autoheader}
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
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS ChangeLog README
50 %attr(755,root,root) %{_bindir}/acpi
51 %{_mandir}/man1/acpi.1*
This page took 0.052088 seconds and 2 git commands to generate.