123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- # Note that this is NOT a relocatable package
- %define glib2_version 2.16.0
- %define gconf_version 2.28.0
- %define libwnck_version 2.28.0
- %define libgtop2_version 2.28.0
- %define gtk2_version 2.16.0
- %define gnome_icon_theme_version 2.28.0
- %define glibmm_version 2.20.0
- %define gtkmm2_version 2.16.0
- %define libxml2_version 2.6.32
- %define librsvg2_version 2.12.0
- %define desktop_file_utils_version 0.10
- Summary: Gnome system monitor
- Summary(ja): GNOMEシステムモニタ
- Name: gnome-system-monitor
- Version: 2.28.1
- Release: 1%{?_dist_release}
- License: GPL
- Group: Applications/System
- Source: %{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires(post,postun): scrollkeeper
- Requires(post,pre,preun): GConf2
- Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: GConf2-devel >= %{gconf_version}
- BuildRequires: libgtop2-devel >= %{libgtop2_version}
- BuildRequires: libwnck-devel >= %{libwnck_version}
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version}
- BuildRequires: glibmm-devel >= %{glibmm_version}
- BuildRequires: gtkmm2-devel >= %{gtkmm2_version}
- BuildRequires: libxml2-devel >= %{libxml2_version}
- BuildRequires: librsvg2-devel >= %{librsvg2_version}
- BuildRequires: dbus-glib-devel
- BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
- BuildRequires: gnome-doc-utils >= 0.3.2
- Obsoletes: gtop
- %description
- gnome-system-monitor is a simple process and system monitor.
- %description -l ja
- GNOMEシステムモニタはプロセスとシステムのためのシンプルなモニタです.
- %prep
- %setup -q
- %build
- %configure --disable-scrollkeeper
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- %makeinstall
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- desktop-file-install --vendor gnome --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- $RPM_BUILD_ROOT%{_datadir}/applications/*
- rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
- %find_lang %{name} --with-gnome
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
- scrollkeeper-update > /dev/null 2>&1 || :
- %posttrans
- update-desktop-database -q &> /dev/null || :
- %pre
- if [ "$1" -gt 1 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /dev/null
- fi
- %postun
- scrollkeeper-update > /dev/null 2>&1 || :
- if [ $1 -eq 0 ] ; then
- update-desktop-database -q &> /dev/null || :
- fi
- %files -f %{name}.lang
- %defattr(-, root, root)
- %{_sysconfdir}/gconf/schemas/*
- %{_bindir}/gnome-system-monitor
- %{_datadir}/applications/*.desktop
- %{_datadir}/pixmaps/gnome-system-monitor
- %changelog
- * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
- - new upstream release
- - add BuildRequires: gnome-doc-utils >= 0.3.2
- * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
- - new upstream release
- - updated build dependency
- * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
- - new upstream release
- * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
- - new upstream release
- * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0.1-1
- - new upstream release
- * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
- - new upstream release
- * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
- - new upstream release
- * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
- - new upstream release
- * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
- - new upstream release
- - added %%pre and %%preun section
- - added BuildRequires: glibmm-devel, gtkmm2-devel
- * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
- - new upstream release
- * Mon Dec 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
- - new upstream release
- * Sat Jun 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
- - new upstream release
- - rebuilt with new toolchain
- * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
- - new upstream release
- * Mon Jun 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl1
- - new upstream release
- * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
- - new upstream release
- * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
- - new upstream release
- * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
- - new upstream release
- * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
- - new upstream release
- * Tue Feb 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.2-0vl1
- - new upstream release
- * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
- - new upstream release
- * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
- - new upstream release
- * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.91-0vl1
- - new upstream release
- * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
- - new upstream version
- * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
- - new upstream release
- - added gnome-vfs2 Requires
- - run scrollkeeper-update at %post, %postun
- - added Japanese summary, description
- * Mon Nov 08 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
- - new upstream release
- - s/Copyright/License/
- - rebuild with libgtop2-2.8.1, libwnck-2.8.1
- * Sun Jul 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
- - add Patch10 to support SMP system (from 2.6.0)
- - add Patch11 to build with gtk+-2.4
- * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
- - new upstream release
- * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
- - new upstream release
- * Sun May 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-0vl1
- - new upstream release
- * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.4-0vl1
- - new upstream release
- * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.3-0vl1
- - new upstream release
- - build for Vine Linux
- * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.0
- - add a bunch of build requires
- - put omf in file list
- - fix location of desktop file
- - use desktop-file-install
- * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- - build with new libs
- * Sun May 26 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - obsolete gtop
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - 1.1.7
- * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- - rebuild with new libs
- * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
- - 1.1.6
- * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
- - Version 1.1.3 (should rename package to gnome-system-monitor as upstream)
- * Thu Jan 10 2002 Havoc Pennington <hp@pobox.com>
- - make spec "Red Hat style"
- - add GConf stuff
- - langify
|