1 | Summary: Multiple stacked system monitors: 1 process. |
---|
2 | Summary(ja): 縦積み型マルチシステムモニタ: 1 プロセス |
---|
3 | Name: gkrellm |
---|
4 | Version: 2.3.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Applications/System |
---|
8 | URL: http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html |
---|
9 | Source: http://members.dslextreme.com/users/billw/gkrellm/%{name}-%{version}.tar.bz2 |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | # styles for vine. |
---|
14 | Source1: HW-Vine2.tar.bz2 |
---|
15 | Patch0: gkrellm-%{version}.ja.po.patch |
---|
16 | Requires: gtk2 >= 2.4, glib2 >= 2.0 |
---|
17 | BuildRequires: gtk2-devel >= 2.4, glib2-devel >= 2.0, gettext |
---|
18 | BuildRequires: ImageMagick, bzip2 |
---|
19 | %if %{?_dist_release} == "vl6" |
---|
20 | BuildRequires: xorg-x11-devel |
---|
21 | %endif |
---|
22 | %if %{?_dist_release} == "vl5" |
---|
23 | BuildRequires: xorg-x11-devel |
---|
24 | %endif |
---|
25 | %if %{?_dist_release} == "vl4" |
---|
26 | BuildRequires: XOrg-devel |
---|
27 | %endif |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | |
---|
30 | %description |
---|
31 | GKrellM charts SMP CPU, load, Disk, and all active net interfaces |
---|
32 | automatically. An on/off button and online timer for the PPP interface |
---|
33 | is provided. Monitors for memory and swap usage, file system, internet |
---|
34 | connections, APM laptop battery, mbox style mailboxes, and cpu temps. |
---|
35 | Also includes an uptime monitor, a hostname label, and a clock/calendar. |
---|
36 | Additional features are: |
---|
37 | |
---|
38 | * Autoscaling grid lines with configurable grid line resolution. |
---|
39 | * LED indicators for the net interfaces. |
---|
40 | * A gui popup for configuration of chart sizes and resolutions. |
---|
41 | |
---|
42 | %description -l ja |
---|
43 | Gkrellm は、 |
---|
44 | ・SMP CPU、負荷、Disk、およびすべてのアクティブなネットインターフェース |
---|
45 | のチャート表示。 |
---|
46 | ・PPP インターフェィスの on/off ボタンとオンラインタイマーの提供。 |
---|
47 | ・メモリ/swap の使用量、ファイルシステム、インターネット接続、 |
---|
48 | APM ラップトップバッテリー、mbox 形式メールボックス、cpu 温度の監視。 |
---|
49 | ・稼働時間、ホスト名、よび時計/カレンダーの表示。 |
---|
50 | などを行います。 |
---|
51 | 付加機能は以下の通り: |
---|
52 | * 設定可能なグリッドラインの精度の自動調整。 |
---|
53 | * ネットワークインターフェィスの LED インジケータ。 |
---|
54 | * チャートのサイズと解像度設定の為のポップアップダイアログ。 |
---|
55 | |
---|
56 | %prep |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | %setup -q |
---|
59 | %__tar jxf %{SOURCE1} |
---|
60 | %patch0 -p1 |
---|
61 | |
---|
62 | %build |
---|
63 | |
---|
64 | %__make \ |
---|
65 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
66 | SMC_LIBS="-L/usr/X11R6/%{_lib} -lSM -lICE" \ |
---|
67 | LOCALEDIR=%{_localedir} \ |
---|
68 | INCLUDEDIR=%{_includedir} |
---|
69 | |
---|
70 | %install |
---|
71 | %__rm -rf %{buildroot} |
---|
72 | %__mkdir -p %{buildroot}%{_bindir} |
---|
73 | %__mkdir -p %{buildroot}%{_mandir}/man1 |
---|
74 | %__mkdir -p %{buildroot}%{_libdir}/pkgconfig |
---|
75 | %__mkdir -p %{buildroot}%{_includedir}/gkrellm2 |
---|
76 | %__mkdir -p %{buildroot}%{_libdir}/gkrellm2/plugins |
---|
77 | %__mkdir -p %{buildroot}%{_datadir}/gkrellm2 |
---|
78 | %__mkdir -p %{buildroot}%{_datadir}/gkrellm2/themes |
---|
79 | |
---|
80 | make install \ |
---|
81 | INSTALLROOT=%{buildroot}%{_prefix} \ |
---|
82 | PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig \ |
---|
83 | LOCALEDIR=%{buildroot}%{_datadir}/locale \ |
---|
84 | MANDIR=%{buildroot}%{_mandir}/man1 \ |
---|
85 | INCLUDEDIR=%{buildroot}%{_includedir} |
---|
86 | |
---|
87 | ## %ifarch x86_64 |
---|
88 | ## # convert program terminate with segmentation fault: fix me! |
---|
89 | ## convert gkrellm.ico gkrellm.png || [ -f gkrellm-0.png ] |
---|
90 | ## %else |
---|
91 | ## convert gkrellm.ico gkrellm.png |
---|
92 | ## %endif |
---|
93 | |
---|
94 | ## for i in gkrellm-*.png |
---|
95 | ## do |
---|
96 | ## %__install -D -p -m 644 $i \ |
---|
97 | ## %{buildroot}%{_datadir}/pixmaps/$i |
---|
98 | ## done |
---|
99 | ## pushd %{buildroot}%{_datadir}/pixmaps |
---|
100 | ## ln -s gkrellm-0.png gkrellm.png |
---|
101 | ## popd |
---|
102 | ## # %{buildroot}%{_datadir}/pixmaps/gkrellm.png |
---|
103 | |
---|
104 | %__cp -a HW-Vine2 \ |
---|
105 | %{buildroot}%{_datadir}/gkrellm2/themes/ |
---|
106 | |
---|
107 | # Install desktop menu entry |
---|
108 | %__mkdir -p %{buildroot}%{_datadir}/applications |
---|
109 | %__cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF |
---|
110 | [Desktop Entry] |
---|
111 | Name=Gkrellm |
---|
112 | Name[ja]=Gkrellm |
---|
113 | Comment=GNU Krellm monitor |
---|
114 | Comment[ja]=GNU Krell モニタ |
---|
115 | Exec=gkrellm -w |
---|
116 | Icon=/usr/share/pixmaps/gkrellm-3.png |
---|
117 | Terminal=false |
---|
118 | Type=Application |
---|
119 | Categories=GTK;System;Monitor; |
---|
120 | EOF |
---|
121 | |
---|
122 | %clean |
---|
123 | %__rm -rf %{buildroot} |
---|
124 | |
---|
125 | %files |
---|
126 | %defattr(-,root,root) |
---|
127 | %doc COPYRIGHT Changelog README Themes.html |
---|
128 | %doc INSTALL |
---|
129 | %{_bindir}/* |
---|
130 | %{_mandir}/man1/* |
---|
131 | %dir %{_includedir}/gkrellm2 |
---|
132 | %{_includedir}/gkrellm2/* |
---|
133 | %{_libdir}/pkgconfig/gkrellm.pc |
---|
134 | %{_datadir}/locale/*/LC_MESSAGES/gkrellm.mo |
---|
135 | ## %{_datadir}/pixmaps/* |
---|
136 | %{_datadir}/gkrellm2 |
---|
137 | %{_datadir}/applications/%{name}.desktop |
---|
138 | %{_libdir}/gkrellm2 |
---|
139 | |
---|
140 | %changelog |
---|
141 | * Sat May 28 2011 TANAKA hiroaki<mosaicist@par.odn.ne.jp> 2.3.5 |
---|
142 | - new upstream release |
---|
143 | - fix Patch0 for gkrellm-2.3.5 |
---|
144 | |
---|
145 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.4-1 |
---|
146 | - new upstream release |
---|
147 | - fix Patch0 for gkrellm-2.3.4 |
---|
148 | |
---|
149 | * Fri Jul 17 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.3.2-1 |
---|
150 | - new upstream release |
---|
151 | - added desktop entry |
---|
152 | |
---|
153 | * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.3.1-2 |
---|
154 | - rebuilt with gnutls-2.6.x |
---|
155 | |
---|
156 | * Tue Aug 26 2008 KATO Masashi <mkato@par.odn.ne.jp> 2.3.1-1 |
---|
157 | - applied new versioning policy |
---|
158 | - rebuilt with xorg-x11 7.3 |
---|
159 | - spec in UTF-8 |
---|
160 | - added "%description -l ja" section to spec file |
---|
161 | |
---|
162 | * Thu Dec 20 2007 Shu KONNO <owa@bg.wakwak.com> 2.3.1-0vl3 |
---|
163 | - added option SMC_LIBS in make |
---|
164 | - added option PKGCONFIGDIR in make install |
---|
165 | - added adhoc convert script because segmentation fault occurred (for x86_64) |
---|
166 | |
---|
167 | * Wed Dec 19 2007 KATO Masashi <mkato@par.odn.ne.jp> 2.3.1-0vl1, 2 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Sun Jun 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl2 |
---|
171 | - rebuilt with new toolchain |
---|
172 | |
---|
173 | * Sun Jan 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl1 |
---|
174 | - new upstream release |
---|
175 | - s/Copyright/License/ |
---|
176 | - updated URL |
---|
177 | |
---|
178 | * Mon Jun 28 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.2.1-0vl1 |
---|
179 | - new upstream release |
---|
180 | - add HW-Vine theme(test theme for gkrellm2) |
---|
181 | |
---|
182 | * Sun Jan 13 2002 Tomoya TAKA <taka@vinelinux.org> 1.2.8-0vl1 |
---|
183 | - update to 1.2.8 |
---|
184 | |
---|
185 | * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org> |
---|
186 | - 1.2.2-0vl1 |
---|
187 | |
---|
188 | * Thu Aug 02 2001 <sagami@vinelinux.org> |
---|
189 | - 1.2.1-0vl1: added more/less docs |
---|
190 | |
---|
191 | * Sun Jul 22 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> |
---|
192 | - 1.0.8-0vl2 |
---|
193 | - add %%defattr(-,root,root) in %files section |
---|
194 | - add %%{_libdir}/%{name}/plugins and %%{_datadir}/%{name}/themes |
---|
195 | as system wide plugin and theme directories |
---|
196 | |
---|
197 | * Thu Jul 19 2001 <sagami@vinelinux.org> |
---|
198 | - 1.0.8-0vl1: enabled nls |
---|
199 | |
---|
200 | * Fri Oct 6 2000 Jun Nishii <jun@vinelinux.org> |
---|
201 | - 0.10.5-0vl1 |
---|
202 | |
---|
203 | * Thu Apr 6 2000 Bill Wilson |
---|
204 | - added INCLUDEDIR to the make install |
---|
205 | |
---|
206 | * Fri Oct 29 1999 Gary Thomas <gdt@linuxppc.org> |
---|
207 | - .spec file still broken |
---|
208 | |
---|
209 | * Thu Oct 7 1999 David Mihm <davemann@ionet.net> |
---|
210 | - fixed spec. |
---|