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