powertop-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Summary: Tool to watch power consumption for linux
  2. Summary(ja): Linux 用の電力消費量を測定するツール
  3. Name: powertop
  4. Version: 1.11
  5. Release: 1%{?_dist_release}
  6. Source0: http://www.linuxpowertop.org/download/%{name}-%{version}.tar.gz
  7. License: GPL
  8. Group: Applications/System
  9. URL: http://www.linuxpowertop.org/
  10. Requires: ncurses
  11. BuildRequires: ncurses-devel
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Packager: ryoichi, kazutaka
  14. %description
  15. A program that collects the various pieces of information from
  16. your system and presents an overview of how well your laptop is
  17. doing in terms of power savings. In addition, PowerTOP will
  18. provide an indication of which tunables and software components
  19. are the biggest offenders in slurping up your battery time.
  20. PowerTOP will update it's display frequently so that you can
  21. directly see the impact of any changes you are making.
  22. %description -l ja
  23. PowerTOP はあなたのシステムから様々な情報を収集し、あなたのノート
  24. PC の、電力の節約状況を表示するプログラムです。また PowerTOP は
  25. 電力を浪費しているプログラムや、チューニング可能な設定を示して
  26. くれます。
  27. PowerTOP は表示している内容を定期的に更新するので、システムに変更
  28. を加えた場合、その結果がすぐに確認できます。
  29. %prep
  30. %setup -q
  31. %build
  32. %{__make} CFLAGS="$RPM_OPT_FLAGS -g -Wall -W -Wshadow"
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  36. %find_lang %{name}
  37. %clean
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %files -f %{name}.lang
  40. %defattr(-,root,root)
  41. %doc COPYING Changelog README
  42. %{_bindir}/powertop
  43. %{_mandir}/man1/powertop.1*
  44. %changelog
  45. * Sat May 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.11-1
  46. - new upstream release
  47. - add Packager tag
  48. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1vl5
  49. - new upstream release
  50. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.9-0vl1
  51. - new upstream release.
  52. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.8-1vl5
  53. - applied new versioning policy, spec in utf-8
  54. * Mon Oct 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.8-0vl1
  55. - initial build for Vine Linux