Summary: Command line ACPI client Name: acpitool Version: 0.5 Release: 2%{?dist} License: GPLv2+ Group: Applications/System URL: http://freeunix.dyndns.org:8000/site2/acpitool.shtml Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2 Patch0: acpitool-0.5-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description AcpiTool is a Linux ACPI client. It's a small command line application, intended to be a replacement for the apm tool. Besides "basic" ACPI information like battery status, AC presence, putting the laptop to sleep, Acpitool also supports various extensions for Toshiba, Asus and IBM Thinkpad laptops, allowing you to change the LCD brightness level, toggle fan on/off, and more. %prep %setup -q %patch0 -p1 -b .gcc43 %build %configure make %{?_smp_mflags} %install rm -fr $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING INSTALL README TODO %{_bindir}/acpitool %{_mandir}/man1/acpitool* %changelog * Mon Feb 23 2009 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Sep 18 2008 Patrice Dumas 0.5-1 - update to 0.5 * Mon Jul 14 2008 Tom "spot" Callaway - 0.4.7-5 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 0.4.7-4 - Autorebuild for GCC 4.3 * Thu Jan 3 2008 Patrice Dumas 0.4.7-3 - fixes for gcc 4.3 * Thu May 24 2007 Patrice Dumas 0.4.7-2 - update to 0.4.7 * Fri Oct 6 2006 Patrice Dumas 0.4.6-2 - set Group to Applications/System (fix #209230) * Mon Aug 28 2006 Patrice Dumas 0.4.6-1 - update to 0.4.6 * Sun May 21 2006 Patrice Dumas 0.4.5-1 - update to 0.4.5 * Thu Feb 16 2006 Patrice Dumas 0.4.4-1.1 - new version - remove now unneeded patch * Thu Nov 10 2005 Patrice Dumas 0.3.0-3 - add patch to avoid ignoring CXXFLAGS * Fri Nov 4 2005 Patrice Dumas 0.3.0-2 - update using fedora core conventions, some cleanings * Tue Aug 24 2004 Robert Ambrose - Created .spec file.