acpitool-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Summary: Command line ACPI client
  2. Summary(ja): コマンドライン ACPI クライアント
  3. Name: acpitool
  4. Version: 0.4.7
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: http://freeunix.dyndns.org:8000/site2/acpitool.shtml
  9. Source: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
  10. Patch0: acpitool-0.4.7-gcc43.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. %description
  13. AcpiTool is a Linux ACPI client. It's a small command line application,
  14. intended to be a replacement for the apm tool. The primary target audience
  15. are laptop users, since these people are most interested in things like
  16. battery status, thermal status and the ability to suspend (sleep mode).
  17. The program simply accesses the /proc/acpi or /sysfs entries to get or set
  18. ACPI values.
  19. %prep
  20. %setup -q
  21. %patch0 -p1 -b .gcc43
  22. %build
  23. %configure
  24. make %{?_smp_mflags}
  25. %install
  26. rm -fr $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. %clean
  29. rm -fr $RPM_BUILD_ROOT
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc AUTHORS ChangeLog COPYING INSTALL README TODO
  33. %{_bindir}/acpitool
  34. %{_mandir}/man1/acpitool*
  35. %changelog
  36. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-1
  37. - initial build for Vine Linux
  38. * Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.7-5
  39. - fix license tag
  40. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.7-4
  41. - Autorebuild for GCC 4.3
  42. * Thu Jan 3 2008 Patrice Dumas <pertusus@free.fr> 0.4.7-3
  43. - fixes for gcc 4.3
  44. * Thu May 24 2007 Patrice Dumas <pertusus@free.fr> 0.4.7-2
  45. - update to 0.4.7
  46. * Fri Oct 6 2006 Patrice Dumas <pertusus@free.fr> 0.4.6-2
  47. - set Group to Applications/System (fix #209230)
  48. * Mon Aug 28 2006 Patrice Dumas <pertusus@free.fr> 0.4.6-1
  49. - update to 0.4.6
  50. * Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 0.4.5-1
  51. - update to 0.4.5
  52. * Thu Feb 16 2006 Patrice Dumas <pertusus@free.fr> 0.4.4-1.1
  53. - new version
  54. - remove now unneeded patch
  55. * Thu Nov 10 2005 Patrice Dumas <pertusus@free.fr> 0.3.0-3
  56. - add patch to avoid ignoring CXXFLAGS
  57. * Fri Nov 4 2005 Patrice Dumas <pertusus@free.fr> 0.3.0-2
  58. - update using fedora core conventions, some cleanings
  59. * Tue Aug 24 2004 Robert Ambrose <rna@muttsoft.com>
  60. - Created .spec file.