# 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 2.28.1-1 - new upstream release - add BuildRequires: gnome-doc-utils >= 0.3.2 * Sun Nov 01 2009 Ryoichi INAGAKI 2.28.0-1 - new upstream release - updated build dependency * Sat Jul 04 2009 Daisuke SUZUKI 2.26.2-1 - new upstream release * Sat Apr 25 2009 Daisuke SUZUKI 2.26.1-1 - new upstream release * Mon Mar 23 2009 Daisuke SUZUKI 2.26.0.1-1 - new upstream release * Wed Oct 28 2008 Daisuke SUZUKI 2.24.1-1 - new upstream release * Fri Sep 26 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Tue Apr 15 2008 Ryoichi INAGAKI 2.22.1-1vl5 - new upstream release * Sun Apr 13 2008 Ryoichi INAGAKI 2.22.0-1vl5 - new upstream release - added %%pre and %%preun section - added BuildRequires: glibmm-devel, gtkmm2-devel * Sat Mar 8 2008 Ryoichi INAGAKI 2.20.2-0vl1 - new upstream release * Mon Dec 24 2007 Ryoichi INAGAKI 2.20.1-0vl1 - new upstream release * Sat Jun 9 2007 Ryoichi INAGAKI 2.18.2-0vl1 - new upstream release - rebuilt with new toolchain * Sat Apr 28 2007 Daisuke SUZUKI 2.18.1-0vl1 - new upstream release * Mon Jun 26 2006 Daisuke SUZUKI 2.14.4-0vl1 - new upstream release * Sun Jun 04 2006 Daisuke SUZUKI 2.14.3-0vl1 - new upstream release * Fri Apr 14 2006 Daisuke SUZUKI 2.14.1-0vl1 - new upstream release * Tue Mar 14 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Tue Mar 07 2006 Daisuke SUZUKI 2.13.92-0vl1 - new upstream release * Tue Feb 14 2006 Ryoichi INAGAKI 2.12.2-0vl1 - new upstream release * Sat Oct 08 2005 Daisuke SUZUKI 2.12.1-0vl1 - new upstream release * Mon Sep 19 2005 Daisuke SUZUKI 2.12.0-0vl1 - new upstream release * Sun Aug 21 2005 Daisuke SUZUKI 2.11.91-0vl1 - new upstream release * Mon Mar 21 2005 Daisuke SUZUKI 2.10.0-0vl1 - new upstream version * Sun Feb 27 2005 Ryoichi INAGAKI 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 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 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 2.4.0-0vl1 - new upstream release * Thu Sep 04 2003 Daisuke SUZUKI 2.3.1-0vl1 - new upstream release * Sun May 18 2003 Daisuke SUZUKI 2.3.0-0vl1 - new upstream release * Thu Jan 16 2003 Daisuke SUZUKI 2.0.4-0vl1 - new upstream release * Thu Dec 26 2002 Daisuke SUZUKI 2.0.3-0vl1 - new upstream release - build for Vine Linux * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun Jun 16 2002 Havoc Pennington - 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 - rebuild in different environment * Wed Jun 5 2002 Havoc Pennington - build with new libs * Sun May 26 2002 Tim Powers - automated rebuild * Tue May 21 2002 Havoc Pennington - rebuild in different environment * Tue May 21 2002 Havoc Pennington - obsolete gtop * Tue May 21 2002 Havoc Pennington - 1.1.7 * Fri May 3 2002 Havoc Pennington - rebuild with new libs * Thu Apr 18 2002 Havoc Pennington - 1.1.6 * Wed Jan 30 2002 Owen Taylor - Version 1.1.3 (should rename package to gnome-system-monitor as upstream) * Thu Jan 10 2002 Havoc Pennington - make spec "Red Hat style" - add GConf stuff - langify