# Note that this is NOT a relocatable package %define libgnomeui_version 1.117.2 %define libgtop2_version 1.90.2 %define libwnck_version 0.13 Summary: Simple process monitor Name: gnome-system-monitor Version: 1.1.7 Release: 5 Copyright: GPL Group: Applications/System Source: http://download.gnome.org/GNOME/pre-gnome2/sources/gnome-system-monitor/gnome-system-monitor-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root Requires: libgnomeui >= %{libgnomeui_version} Requires: libgtop2 >= %{libgtop2_version} Requires: libwnck >= %{libwnck_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} BuildRequires: libgtop2-devel >= %{libgtop2_version} BuildRequires: libwnck-devel >= %{libwnck_version} Obsoletes: gtop %description gnome-system-monitor is a simple process and system monitor. %prep %setup -q -n gnome-system-monitor-%{version} %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang %{name} ## take this out when we move to GNOME 2 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System install -m 644 gnome-system-monitor.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/apps/System/gnome-system-monitor.desktop %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 %files -f %{name}.lang %defattr(-, root, root) %{_bindir}/gnome-system-monitor %{_datadir}/applications %{_datadir}/gnome %{_datadir}/gnome/apps/System/gnome-system-monitor.desktop %{_datadir}/pixmaps/procman.png %{_sysconfdir}/gconf/schemas/* %changelog * 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