Summary: Command-line ACPI client
Summary(pl): Klient ACPI działający z linii poleceń
Name: acpi
Version: 0.09
Release: 5%{?dist}
License: GPLv2+
Group: Applications/System
Source0: http://grahame.angrygoats.net/source/acpi/acpi-%{version}.tar.gz
Patch0: acpi-0.09-keep_CFLAGS.diff
## This URL does not seem to work anymore, but...
#URL: http://grahame.angrygoats.net/acpi.shtml
## ... it seems the project has renamed and moved to:
URL: http://sourceforge.net/projects/acpiclient/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Linux ACPI client is a small command-line program that attempts to
replicate the functionality of the 'old' apm command on ACPI systems.
It includes battery and thermal information.
%description -l pl
Klient Linux ACPI to mały program działający z linii poleceń, będący
próbą zastąpienia funkcjonalności "starego" polecenia apm na systemach
opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze.
%prep
%setup -q
%patch0
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README COPYING
%{_bindir}/acpi
%changelog
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.09-4
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.09-3
- Autorebuild for GCC 4.3
* Wed Sep 6 2006 Patrice Dumas <pertusus@free.fr> 0.09-2
- rebuild for FC-6
* Mon Mar 6 2006 Patrice Dumas <pertusus@free.fr> 0.09-1
- based on pld. Updated, and adapted to fedora extras