123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- Summary: Multiple stacked system monitors: 1 process.
- Summary(ja): 縦積み型マルチシステムモニタ: 1 プロセス
- Name: gkrellm
- Version: 2.3.5
- Release: 1%{?_dist_release}
- License: GPL
- Group: Applications/System
- URL: http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
- Source: http://members.dslextreme.com/users/billw/gkrellm/%{name}-%{version}.tar.bz2
- Vendor: Project Vine
- Distribution: Vine Linux
- # styles for vine.
- Source1: HW-Vine2.tar.bz2
- Patch0: gkrellm-%{version}.ja.po.patch
- Requires: gtk2 >= 2.4, glib2 >= 2.0
- BuildRequires: gtk2-devel >= 2.4, glib2-devel >= 2.0, gettext
- BuildRequires: ImageMagick, bzip2
- %if %{?_dist_release} == "vl6"
- BuildRequires: xorg-x11-devel
- %endif
- %if %{?_dist_release} == "vl5"
- BuildRequires: xorg-x11-devel
- %endif
- %if %{?_dist_release} == "vl4"
- BuildRequires: XOrg-devel
- %endif
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- %description
- GKrellM charts SMP CPU, load, Disk, and all active net interfaces
- automatically. An on/off button and online timer for the PPP interface
- is provided. Monitors for memory and swap usage, file system, internet
- connections, APM laptop battery, mbox style mailboxes, and cpu temps.
- Also includes an uptime monitor, a hostname label, and a clock/calendar.
- Additional features are:
- * Autoscaling grid lines with configurable grid line resolution.
- * LED indicators for the net interfaces.
- * A gui popup for configuration of chart sizes and resolutions.
- %description -l ja
- Gkrellm は、
- ・SMP CPU、負荷、Disk、およびすべてのアクティブなネットインターフェース
- のチャート表示。
- ・PPP インターフェィスの on/off ボタンとオンラインタイマーの提供。
- ・メモリ/swap の使用量、ファイルシステム、インターネット接続、
- APM ラップトップバッテリー、mbox 形式メールボックス、cpu 温度の監視。
- ・稼働時間、ホスト名、よび時計/カレンダーの表示。
- などを行います。
- 付加機能は以下の通り:
- * 設定可能なグリッドラインの精度の自動調整。
- * ネットワークインターフェィスの LED インジケータ。
- * チャートのサイズと解像度設定の為のポップアップダイアログ。
- %prep
- rm -rf $RPM_BUILD_ROOT
- %setup -q
- %__tar jxf %{SOURCE1}
- %patch0 -p1
- %build
- %__make \
- CFLAGS="$RPM_OPT_FLAGS" \
- SMC_LIBS="-L/usr/X11R6/%{_lib} -lSM -lICE" \
- LOCALEDIR=%{_localedir} \
- INCLUDEDIR=%{_includedir}
- %install
- %__rm -rf %{buildroot}
- %__mkdir -p %{buildroot}%{_bindir}
- %__mkdir -p %{buildroot}%{_mandir}/man1
- %__mkdir -p %{buildroot}%{_libdir}/pkgconfig
- %__mkdir -p %{buildroot}%{_includedir}/gkrellm2
- %__mkdir -p %{buildroot}%{_libdir}/gkrellm2/plugins
- %__mkdir -p %{buildroot}%{_datadir}/gkrellm2
- %__mkdir -p %{buildroot}%{_datadir}/gkrellm2/themes
- make install \
- INSTALLROOT=%{buildroot}%{_prefix} \
- PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig \
- LOCALEDIR=%{buildroot}%{_datadir}/locale \
- MANDIR=%{buildroot}%{_mandir}/man1 \
- INCLUDEDIR=%{buildroot}%{_includedir}
- ## %ifarch x86_64
- ## # convert program terminate with segmentation fault: fix me!
- ## convert gkrellm.ico gkrellm.png || [ -f gkrellm-0.png ]
- ## %else
- ## convert gkrellm.ico gkrellm.png
- ## %endif
- ## for i in gkrellm-*.png
- ## do
- ## %__install -D -p -m 644 $i \
- ## %{buildroot}%{_datadir}/pixmaps/$i
- ## done
- ## pushd %{buildroot}%{_datadir}/pixmaps
- ## ln -s gkrellm-0.png gkrellm.png
- ## popd
- ## # %{buildroot}%{_datadir}/pixmaps/gkrellm.png
- %__cp -a HW-Vine2 \
- %{buildroot}%{_datadir}/gkrellm2/themes/
- # Install desktop menu entry
- %__mkdir -p %{buildroot}%{_datadir}/applications
- %__cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
- [Desktop Entry]
- Name=Gkrellm
- Name[ja]=Gkrellm
- Comment=GNU Krellm monitor
- Comment[ja]=GNU Krell モニタ
- Exec=gkrellm -w
- Icon=/usr/share/pixmaps/gkrellm-3.png
- Terminal=false
- Type=Application
- Categories=GTK;System;Monitor;
- EOF
- %clean
- %__rm -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %doc COPYRIGHT Changelog README Themes.html
- %doc INSTALL
- %{_bindir}/*
- %{_mandir}/man1/*
- %dir %{_includedir}/gkrellm2
- %{_includedir}/gkrellm2/*
- %{_libdir}/pkgconfig/gkrellm.pc
- %{_datadir}/locale/*/LC_MESSAGES/gkrellm.mo
- ## %{_datadir}/pixmaps/*
- %{_datadir}/gkrellm2
- %{_datadir}/applications/%{name}.desktop
- %{_libdir}/gkrellm2
- %changelog
- * Sat May 28 2011 TANAKA hiroaki<mosaicist@par.odn.ne.jp> 2.3.5
- - new upstream release
- - fix Patch0 for gkrellm-2.3.5
- * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.4-1
- - new upstream release
- - fix Patch0 for gkrellm-2.3.4
- * Fri Jul 17 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.3.2-1
- - new upstream release
- - added desktop entry
- * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.3.1-2
- - rebuilt with gnutls-2.6.x
- * Tue Aug 26 2008 KATO Masashi <mkato@par.odn.ne.jp> 2.3.1-1
- - applied new versioning policy
- - rebuilt with xorg-x11 7.3
- - spec in UTF-8
- - added "%description -l ja" section to spec file
- * Thu Dec 20 2007 Shu KONNO <owa@bg.wakwak.com> 2.3.1-0vl3
- - added option SMC_LIBS in make
- - added option PKGCONFIGDIR in make install
- - added adhoc convert script because segmentation fault occurred (for x86_64)
- * Wed Dec 19 2007 KATO Masashi <mkato@par.odn.ne.jp> 2.3.1-0vl1, 2
- - new upstream release
- * Sun Jun 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl2
- - rebuilt with new toolchain
- * Sun Jan 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl1
- - new upstream release
- - s/Copyright/License/
- - updated URL
- * Mon Jun 28 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.2.1-0vl1
- - new upstream release
- - add HW-Vine theme(test theme for gkrellm2)
- * Sun Jan 13 2002 Tomoya TAKA <taka@vinelinux.org> 1.2.8-0vl1
- - update to 1.2.8
- * Thu Aug 23 2001 Toru Sagami <sagami@vinelinux.org>
- - 1.2.2-0vl1
- * Thu Aug 02 2001 <sagami@vinelinux.org>
- - 1.2.1-0vl1: added more/less docs
- * Sun Jul 22 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
- - 1.0.8-0vl2
- - add %%defattr(-,root,root) in %files section
- - add %%{_libdir}/%{name}/plugins and %%{_datadir}/%{name}/themes
- as system wide plugin and theme directories
- * Thu Jul 19 2001 <sagami@vinelinux.org>
- - 1.0.8-0vl1: enabled nls
- * Fri Oct 6 2000 Jun Nishii <jun@vinelinux.org>
- - 0.10.5-0vl1
- * Thu Apr 6 2000 Bill Wilson
- - added INCLUDEDIR to the make install
- * Fri Oct 29 1999 Gary Thomas <gdt@linuxppc.org>
- - .spec file still broken
- * Thu Oct 7 1999 David Mihm <davemann@ionet.net>
- - fixed spec.
|