|
|
bbcba5a |
Name: acpitool
|
|
|
e1eeced |
Version: 0.4.5
|
|
|
e1eeced |
Release: 1%{?dist}
|
|
|
bbcba5a |
Url: http://freeunix.dyndns.org:8088/site2/acpitool.shtml
|
|
|
bbcba5a |
Source0: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.gz
|
|
|
bbcba5a |
Summary: A command line ACPI client for Linux
|
|
|
bbcba5a |
Group: Applications/Internet
|
|
|
bbcba5a |
License: GPL
|
|
|
bbcba5a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%description
|
|
|
bbcba5a |
AcpiTool is a Linux ACPI client. It's a small command line application,
|
|
|
bbcba5a |
intended to be a replacement for the apm tool. The primary target
|
|
|
bbcba5a |
audience are laptop users, since these people are most interested in
|
|
|
bbcba5a |
things like battery status, thermal status and the ability to suspend
|
|
|
bbcba5a |
(sleep mode). The program simply accesses the /proc/acpi or /sysfs entries
|
|
|
bbcba5a |
to get/set acpi values. Hence, a computer running a Linux kernel from
|
|
|
bbcba5a |
the 2.4.x or 2.6.x series with ACPI enabled is needed.
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%prep
|
|
|
4a98db8 |
%setup -q
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%build
|
|
|
bbcba5a |
%configure
|
|
|
bbcba5a |
make %{?_smp_mflags}
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%install
|
|
|
bbcba5a |
rm -fr $RPM_BUILD_ROOT
|
|
|
bbcba5a |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%clean
|
|
|
bbcba5a |
rm -fr $RPM_BUILD_ROOT
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%files
|
|
|
bbcba5a |
%defattr(-,root,root,-)
|
|
|
bbcba5a |
%doc README TODO ChangeLog AUTHORS COPYING
|
|
|
bbcba5a |
%{_bindir}/acpitool
|
|
|
bbcba5a |
%{_mandir}/man1/acpitool*
|
|
|
bbcba5a |
|
|
|
bbcba5a |
%changelog
|
|
|
e1eeced |
* Thu Feb 16 2006 Patrice Dumas <dumas@centre-cired.fr> - 0.4.5-1
|
|
|
e1eeced |
- update to 0.4.5
|
|
|
e1eeced |
|
|
|
4a98db8 |
* Thu Feb 16 2006 Patrice Dumas <dumas@centre-cired.fr> - 0.4.4-1.1
|
|
|
4a98db8 |
- new version
|
|
|
4a98db8 |
- remove now unneeded patch
|
|
|
4a98db8 |
|
|
|
bbcba5a |
* Thu Nov 10 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-3
|
|
|
bbcba5a |
- add patch to avoid ignoring CXXFLAGS
|
|
|
bbcba5a |
|
|
|
bbcba5a |
* Fri Nov 4 2005 Patrice Dumas <dumas@centre-cired.fr> - 0.3.0-2
|
|
|
bbcba5a |
- update using fedora core conventions, some cleanings
|
|
|
bbcba5a |
|
|
|
bbcba5a |
* Tue Aug 24 2004 Robert Ambrose <rna@muttsoft.com>
|
|
|
bbcba5a |
- Created .spec file.
|
|
|
bbcba5a |
|