gnome-system-monitor/gnome-system-monitor.spec

461 lines
13 KiB
RPMSpec
Raw Normal View History

# Note that this is NOT a relocatable package
2007-06-05 02:27:29 +00:00
%define libgtop2_version 2.19.3
2005-03-14 16:02:12 +00:00
%define libwnck_version 2.9.92
%define pango_version 1.2.0
2007-12-06 04:42:58 +00:00
%define gtk2_version 2.12
%define desktop_file_utils_version 0.2.90
2005-03-21 21:44:36 +00:00
%define libselinux_version 1.23.2
2006-10-18 20:37:09 +00:00
%define gconf_version 2.14
2007-12-21 21:00:59 +00:00
%define polkit_version 0.7
%define polkit_gnome_version 0.7
Summary: Simple process monitor
Name: gnome-system-monitor
2008-03-10 23:22:05 +00:00
Version: 2.22.0
Release: 1%{?dist}
2007-08-03 02:55:22 +00:00
License: GPLv2+
Group: Applications/System
2006-08-23 16:48:18 +00:00
URL: http://www.gnome.org/
2008-03-10 23:22:05 +00:00
Source: http://download.gnome.org/sources/gnome-system-monitor/2.22/%{name}-%{version}.tar.bz2
Source1: about-this-computer.desktop
2006-12-19 05:25:15 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-01-23 05:58:07 +00:00
BuildRequires: GConf2-devel
BuildRequires: gnome-vfs2-devel
BuildRequires: libgtop2-devel >= %{libgtop2_version}
BuildRequires: libwnck-devel >= %{libwnck_version}
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
2007-06-05 02:27:29 +00:00
BuildRequires: gtkmm24-devel
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
BuildRequires: startup-notification-devel
BuildRequires: intltool scrollkeeper gettext
2005-03-21 21:44:36 +00:00
BuildRequires: libselinux-devel >= %{libselinux_version}
2006-08-04 05:51:02 +00:00
BuildRequires: gnome-icon-theme
2006-11-07 19:19:14 +00:00
BuildRequires: pcre-devel
2008-01-15 01:42:18 +00:00
BuildRequires: librsvg2-devel
2007-02-12 19:25:23 +00:00
BuildRequires: gnome-doc-utils >= 0.3.2
2007-12-21 21:00:59 +00:00
BuildRequires: PolicyKit-devel >= %{polkit_version}
BuildRequires: PolicyKit-gnome-devel >= %{polkit_gnome_version}
2007-12-21 21:00:59 +00:00
# needed for autoreconf
BuildRequires: autoconf, automake, libtool
# send upstream: http://bugzilla.gnome.org/show_bug.cgi?id=491462
2008-02-26 05:13:51 +00:00
Patch0: gnome-system-monitor-2.21.92-polkit.patch
2008-03-17 15:38:36 +00:00
# http://bugzilla.gnome.org/show_bug.cgi?id=522988
Patch1: gnome-system-monitor-2.21.92-system-tab-arg.patch
2007-12-21 21:00:59 +00:00
Requires: PolicyKit-gnome >= %{polkit_gnome_version}
2006-10-18 20:37:09 +00:00
Requires(pre): GConf2 >= %{gconf_version}
Requires(post): GConf2 >= %{gconf_version}
2006-05-17 18:35:33 +00:00
Requires(post): scrollkeeper
2006-10-18 20:37:09 +00:00
Requires(preun): GConf2 >= %{gconf_version}
2006-05-17 18:35:33 +00:00
Requires(postun): scrollkeeper
%description
gnome-system-monitor is a simple process and system monitor.
%prep
2006-08-23 16:48:18 +00:00
%setup -q
2008-01-15 01:34:11 +00:00
%patch0 -p1 -b .polkit
%patch1 -p1 -b .system-tab-arg
%build
2007-12-21 21:00:59 +00:00
autoreconf
%configure --enable-selinux --disable-scrollkeeper --enable-polkit
# dunno why the deps are not picked up correctly here
make -C src gnome-system-monitor-mechanism-glue.h gnome-system-monitor-mechanism-client-glue.h
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 \
2007-02-27 21:58:41 +00:00
--remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/*
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
2007-08-07 15:41:32 +00:00
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
2006-05-17 18:35:33 +00:00
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
2006-10-18 20:37:09 +00:00
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-system-monitor.schemas > /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
2006-05-17 18:35:33 +00:00
%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 -q
%files -f %{name}.lang
%defattr(-, root, root,-)
2007-08-07 15:41:32 +00:00
%doc AUTHORS NEWS COPYING README
%{_sysconfdir}/gconf/schemas/*
2006-08-23 16:48:18 +00:00
%{_bindir}/gnome-system-monitor
%{_datadir}/applications/*
2006-11-07 20:06:15 +00:00
%{_datadir}/pixmaps/gnome-system-monitor/
2007-12-21 21:00:59 +00:00
%{_sysconfdir}/dbus-1/system.d/org.gnome.SystemMonitor.Mechanism.conf
%{_libexecdir}/gnome-system-monitor-mechanism
%{_datadir}/PolicyKit/policy/org.gnome.system-monitor.policy
%{_datadir}/dbus-1/system-services/org.gnome.SystemMonitor.Mechanism.service
%changelog
2008-03-10 23:22:05 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
- Update to 2.22.0
2008-03-10 05:50:10 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-4
- Don't show "About this computer" in the regular menus
* Sat Mar 8 2008 Will Woods <wwoods@redhat.com> - 2.21.92-3
- Add --show-system-tab commandline flag and about-this-computer.desktop
2008-03-07 04:44:39 +00:00
* Thu Mar 6 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-2
- Don't OnlyShowIn=GNOME
2008-02-26 04:45:28 +00:00
* Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.92-1
- Update to 2.21.92
2008-02-20 02:02:59 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.21.5-2
- Autorebuild for GCC 4.3
2008-01-15 00:43:40 +00:00
* Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5-1
- Update to 2.21.5
2007-12-21 21:00:59 +00:00
* Fri Dec 21 2007 David Zeuthen <davidz@redhat.com> - 2.21.4-2%{?dist}
- Add PolicyKit support
2007-12-19 01:54:08 +00:00
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
- Update to 2.21.4
2007-12-06 04:42:58 +00:00
* Wed Dec 5 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.3-1
- Update to 2.21.3
2007-11-13 19:11:30 +00:00
* Tue Nov 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.2-1
- Update to 2.21.2
2007-10-15 18:35:50 +00:00
* Mon Oct 15 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.1-1
- Update to 2.20.1
2007-09-17 19:26:45 +00:00
* Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
- Update to 2.20.0
2007-09-04 13:23:58 +00:00
* Tue Sep 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.91-1
- Update to 2.19.91
2007-08-23 18:18:16 +00:00
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 2.19.6-4
- Rebuild for ppc toolchain bug
2007-08-07 15:41:32 +00:00
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-3
- Use %%find_lang for help files
2007-08-03 02:55:22 +00:00
* Thu Aug 2 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2
- Update license field
- Add some %doc files
* Mon Jul 30 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-1
2007-07-31 00:33:27 +00:00
- Update to 2.19.6
2007-07-10 15:06:55 +00:00
* Tue Jul 10 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.5-1
- Update to 2.19.5
2007-06-18 17:48:20 +00:00
* Mon Jun 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.4-1
- Update to 2.19.4
2007-06-06 03:51:12 +00:00
* Tue Jun 5 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.3-2
- Rebuild
2007-06-04 23:04:45 +00:00
* Mon Jun 4 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.3-1
- Update to 2.19.3
2007-05-20 01:36:57 +00:00
* Sat May 19 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.2-1
- Update to 2.19.2
2007-03-13 18:32:33 +00:00
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
- Update to 2.18.0
2007-02-28 02:00:31 +00:00
* Tue Feb 27 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.94-1
- Update to 2.17.94
2007-02-27 21:58:41 +00:00
2007-02-12 19:16:26 +00:00
* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.91-1
- Update to 2.17.91
2007-02-08 13:55:42 +00:00
* Thu Feb 8 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.6-2
- Remove an obsolete Obsoletes:
- Don't add X-Redhat-Base to the desktop file anymore
2007-01-23 05:46:49 +00:00
* Tue Jan 22 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.6-1
- Update to 2.17.6
2007-01-11 05:25:25 +00:00
* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.5-1
- Update to 2.17.5
2006-12-20 05:26:15 +00:00
* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4.2-1
- Update to 2.17.4.2
2006-12-19 05:25:15 +00:00
* Tue Dec 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.4-1
- Update to 2.17.4
2006-12-05 06:00:11 +00:00
* Tue Dec 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
- Update to 2.17.3
2006-11-18 06:24:57 +00:00
* Sat Nov 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2.1-2
- Add disto info
2006-11-13 04:27:55 +00:00
* Sun Nov 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2.1-1
- Update to 2.17.2.1
2006-11-07 18:37:57 +00:00
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
- Update to 2.17.2
2006-11-07 18:47:06 +00:00
- Update Requires
2006-11-07 18:37:57 +00:00
2006-10-22 01:27:35 +00:00
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-1
- Update to 2.16.1
2006-10-18 20:37:09 +00:00
* Wed Oct 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-2
- Fix scripts according to the packaging guidelines
2006-09-05 18:57:30 +00:00
* Tue Sep 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-1.fc6
- Update to 2.16.0
2006-08-23 16:48:18 +00:00
* Wed Aug 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.92-2.fc6
- Apply a patch by Matthias Saou to clean up the .spec file
2006-08-21 19:34:42 +00:00
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.92-1.fc6
- Update to 2.15.92
2006-08-12 22:38:06 +00:00
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.91-1.fc6
- Update to 2.15.91
2006-08-04 05:43:28 +00:00
* Fri Aug 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.90-1.fc6
- Update to 2.15.90
2006-07-12 05:24:36 +00:00
* Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> 2.15.4-1
- Update to 2.15.4
2006-07-12 02:26:41 +00:00
* Tue Jul 11 2006 Matthias Clasen <mclasen@redhat.com> 2.15.0-1
- Update to 2.15.0
* Mon Jun 12 2006 Bill Nottingham <notting@redhat.com> 2.14.3-4
- don't buildreq libtool/automake/autoconf, they're not called during
the build
2006-05-18 17:13:29 +00:00
* Thu May 18 2006 Bill Nottingham <notting@redhat.com> 2.14.3-3
- s/GConf/GConf2
2006-05-17 18:21:10 +00:00
* Wed May 17 2006 Matthias Clasen <mclasen@redhat.com> 2.14.3-2
- Update to 2.14.3
2006-05-10 04:23:39 +00:00
* Wed May 10 2006 Matthias Clasen <mclasen@redhat.com> 2.14.2-2
- Update to 2.14.2
2006-04-10 17:15:53 +00:00
* Mon Apr 10 2006 Matthias Clasen <mclasen@redhat.com> 2.14.1-2
- Update to 2.14.1
2006-03-13 14:59:09 +00:00
* Mon Mar 13 2006 Matthias Clasen <mclasen@redhat.com> 2.14.0-1
- Update to 2.14.0
2006-02-28 02:42:34 +00:00
* Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> 2.13.92-1
- Update to 2.13.92
2006-02-11 03:17:44 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.90-1.2
- bump again for double-long bug on ppc(64)
2006-02-07 11:56:02 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.90-1.1
- rebuilt for new gcc4.1 snapshot and glibc changes
2006-01-31 18:18:12 +00:00
* Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> 2.13.90-1
- Update to 2.13.90
2006-01-17 16:35:00 +00:00
* Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5-1
- Update to 2.13.5
2006-01-03 18:36:24 +00:00
* Tue Jan 03 2006 Matthias Clasen <mclasen@redhat.com> 2.13.4-1
- Update to 2.13.4
2005-12-16 16:09:16 +00:00
* Fri Dec 16 2005 Matthias Clasen <mclasen@redhat.com> 2.13.3-2
- Rebuild against the new libgtop
2005-12-15 05:48:12 +00:00
* Thu Dec 15 2005 Matthias Clasen <mclasen@redhat.com> 2.13.3-1
- Update to 2.13.3
2005-12-09 22:40:44 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-12-02 05:46:17 +00:00
* Fri Dec 2 2005 Matthias Clasen <mclasen@redhat.com> 2.13.2-1
- Update to 2.13.2
2005-11-22 06:03:08 +00:00
* Tue Nov 22 2005 Matthias Clasen <mclasen@redhat.com> 2.12.1-2
- Classify gnome-system-monitor as a monitor for better menus
2005-10-06 04:43:08 +00:00
* Thu Oct 6 2005 Matthias Clasen <mclasen@redhat.com> 2.12.1-1
- Update to 2.12.1
2005-09-07 19:06:01 +00:00
* Wed Sep 7 2005 Matthias Clasen <mclasen@redhat.com> 2.12.0-1
- Update to 2.12.0
2005-08-16 19:23:19 +00:00
* Tue Aug 16 2005 David Zeuthen <davidz@redhat.com>
- Rebuilt
2005-08-11 19:33:46 +00:00
* Thu Aug 11 2005 Ray Strode <rstrode@redhat.com> 2.11.91-2
- rebuilt
* Wed Aug 10 2005 Ray Strode <rstrode@redhat.com> 2.11.91-1
2005-08-10 17:48:08 +00:00
- New upstream version
2005-08-04 18:39:26 +00:00
* Thu Aug 4 2005 Matthias Clasen <mclasen@redhat.com> 2.11.90-1
- New upstream version
2005-07-13 04:00:05 +00:00
* Tue Jul 12 2005 Matthias Clasen <mclasen@redhat.com> 2.11.4-1
- Newer upstream version
2005-03-21 21:44:36 +00:00
* Mon Mar 21 2005 David Zeuthen <davidz@redhat.com> 2.10.0-2
- Build with selinux support (#139896)
2005-03-14 16:02:12 +00:00
* Mon Mar 14 2005 Matthias Clasen <mclasen@redhat.com> 2.10.0-1
- Update to 2.10.0
- Bump BuildRequires for libwnck
- Remove libgnomesu-removing patch
2005-03-04 20:33:08 +00:00
* Fri Mar 4 2005 David Zeuthen <davidz@redhat.com> 2.9.91-2
- Rebuild
2005-02-09 18:40:19 +00:00
* Wed Feb 9 2005 Matthias Clasen <mclasen@redhat.com> 2.9.91-1
- Update to 2.9.91
2005-02-02 19:53:25 +00:00
* Wed Feb 2 2005 Matthias Clasen <mclasen@redhat.com> 2.9.90-1
2005-02-02 19:51:36 +00:00
- Update to 2.9.90
- Remove libgnomesu dependency
2005-01-30 15:52:31 +00:00
* Sun Jan 30 2005 Florian La Roche <laroche@redhat.com>
- rebuild against new libs
2004-12-20 20:11:32 +00:00
* Mon Dec 20 2004 Christopher Aillon <caillon@redhat.com> 2.8.1-1
- Update to 2.8.1
2004-11-03 20:33:57 +00:00
* Wed Nov 03 2004 Christopher Aillon <caillon@redhat.com> 2.8.0-1
- Update to 2.8.0
* Wed Sep 01 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- rebuild
* Fri Aug 06 2004 Christopher Aillon <caillon@redhat.com> 2.7.0-1
- Update to 2.7.0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon May 03 2004 Than Ngo <than@redhat.com> 2.6.0-3
- cleanup GNOME/KDE menu, only show in GNOME
* Tue Apr 13 2004 Warren Togami <wtogami@redhat.com> 2.6.0-2
- #110918 BR intltool scrollkeeper gettext
* Fri Apr 2 2004 Alex Larsson <alexl@redhat.com> 2.6.0-1
- update to 2.6.0
* Thu Feb 26 2004 Alexander Larsson <alexl@redhat.com> 2.5.3-1
- update to 2.5.3
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 2.5.2-1
- update to 2.5.2
* Fri Oct 3 2003 Alexander Larsson <alexl@redhat.com> 2.4.0-1
- 2.4.0
* Tue Aug 19 2003 Alexander Larsson <alexl@redhat.com> 2.3.0-1
- update for gnome 2.3
* Mon Jul 28 2003 Havoc Pennington <hp@redhat.com> 2.0.5-3
- rebuild, require newer libgtop2
* Fri Jul 18 2003 <timp@redhat.com> 2.0.5-2
- rebuild against newer libgtop
* Tue Jul 8 2003 Havoc Pennington <hp@redhat.com> 2.0.5-1
- 2.0.5
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 14 2003 Havoc Pennington <hp@redhat.com> 2.0.4-2
- don't buildreq xft
* Wed Feb 5 2003 Havoc Pennington <hp@redhat.com> 2.0.4-1
- 2.0.4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Tue Dec 3 2002 Tim Powers <timp@redhat.com> 2.0.3-1
- updated to 2.0.3
* 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