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