]> git.pld-linux.org Git - packages/acpi.git/blame - acpi.spec
- added am patch (fixes build with automake 1.13)
[packages/acpi.git] / acpi.spec
CommitLineData
baee767f 1Summary: Command-line ACPI client
83fb1e2d 2Summary(pl.UTF-8): Klient ACPI działający z linii poleceń
431fd649 3Name: acpi
212b955f 4Version: 1.6
dbad8b7c 5Release: 1
b7442866
JB
6License: GPL v2+
7Group: Applications/System
dbad8b7c 8Source0: http://downloads.sourceforge.net/acpiclient/%{name}-%{version}.tar.gz
212b955f 9# Source0-md5: 68d0104a7825c904e3f45de8682cee19
8ecfca8b 10Patch0: %{name}-am.patch
dbad8b7c 11URL: http://acpiclient.sourceforge.net/
8150972d 12BuildRequires: autoconf >= 2.50
baee767f 13BuildRequires: automake
b7442866 14ExclusiveArch: %{ix86} %{x8664} ia64
431fd649
AM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
baee767f
JB
18Linux ACPI client is a small command-line program that attempts to
19replicate the functionality of the 'old' apm command on ACPI systems.
20It includes battery and thermal information.
21
d877e1a8
JR
22%description -l pl.UTF-8
23Klient Linux ACPI to mały program działający z linii poleceń, będący
24próbą zastąpienia funkcjonalności "starego" polecenia apm na systemach
baee767f 25opartych 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
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{_mandir}/man1
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
431fd649
AM
46%clean
47rm -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*
This page took 0.085039 seconds and 4 git commands to generate.