]> git.pld-linux.org Git - packages/acpi.git/blob - acpi.spec
- up to 1.7
[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.7
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:  b52ce4ca39bbf7000a1c2de8879f1dcb
10 Patch0:         %{name}-am.patch
11 URL:            http://acpiclient.sourceforge.net/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 ExclusiveArch:  %{ix86} %{x8664} ia64
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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
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
25 opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__aclocal}
33 %{__autoconf}
34 %{__autoheader}
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
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog README
52 %attr(755,root,root) %{_bindir}/acpi
53 %{_mandir}/man1/acpi.1*
This page took 0.048015 seconds and 3 git commands to generate.