2007-01-12 01:25:49 +01:00
|
|
|
#
|
2010-03-30 21:51:31 +02:00
|
|
|
# spec file for package gnome-system-monitor (Version 2.28.1)
|
2007-01-12 01:25:49 +01:00
|
|
|
#
|
2009-01-12 01:53:44 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-12 01:25:49 +01:00
|
|
|
#
|
2008-08-14 01:20:32 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-12 01:25:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-06 01:15:53 +01:00
|
|
|
|
2007-01-12 01:25:49 +01:00
|
|
|
Name: gnome-system-monitor
|
2009-02-17 17:46:04 +01:00
|
|
|
BuildRequires: dbus-1-glib-devel
|
2008-10-09 19:15:48 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: gnome-icon-theme-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: gtkmm2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgtop-devel
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: libwnck-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2009-02-17 17:46:04 +01:00
|
|
|
BuildRequires: hal-devel
|
|
|
|
BuildRequires: hwinfo-devel
|
2007-07-10 23:29:07 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-12 01:25:49 +01:00
|
|
|
Group: System/GUI/GNOME
|
2010-03-30 21:51:31 +02:00
|
|
|
Version: 2.28.1
|
2009-10-06 02:58:48 +02:00
|
|
|
Release: 1
|
2009-01-12 01:53:44 +01:00
|
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/2.24/%{name}-%{version}.tar.bz2
|
2009-05-20 22:27:31 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE gnome-system-monitor-fate302198.diff FATE#302198 bgo582311 hfiguiere@novell.com -- Add a hardware tab
|
2009-01-12 01:53:44 +01:00
|
|
|
Patch1: gnome-system-monitor-fate302198.diff
|
2009-05-20 22:27:31 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE gnome-system-monitor-fate304741.diff FATE#304741 bgo582312 hfiguiere@novell.com -- Add a thinkpad tab
|
2009-01-12 01:53:44 +01:00
|
|
|
Patch2: gnome-system-monitor-fate304741.diff
|
2007-09-19 19:02:52 +02:00
|
|
|
Url: http://www.gnome.org
|
2007-01-12 01:25:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: A Simple Process Monitor
|
|
|
|
Requires: gnome-icon-theme
|
2007-08-09 17:16:23 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2009-07-31 19:35:14 +02:00
|
|
|
Requires: /usr/bin/lsb_release
|
2007-03-10 23:55:47 +01:00
|
|
|
%gconf_schemas_prereq
|
|
|
|
|
2007-01-12 01:25:49 +01:00
|
|
|
%description
|
|
|
|
GNOME-system-monitor (formerly Procman) is a simple process and system
|
|
|
|
monitor for the GNOME 2.x Desktop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Kevin Vandersloot <kfv101@psu.edu>
|
|
|
|
Erik Johnsson <zaphod@linux.nu>
|
|
|
|
|
2007-08-09 17:16:23 +02:00
|
|
|
%lang_package
|
2007-01-12 01:25:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-01-12 01:53:44 +01:00
|
|
|
%patch1
|
|
|
|
%patch2 -p1
|
2007-01-12 01:25:49 +01:00
|
|
|
|
|
|
|
%build
|
2008-09-13 03:44:45 +02:00
|
|
|
autoreconf -si
|
2007-07-10 23:29:07 +02:00
|
|
|
%configure \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--enable-pcrecpp
|
2007-12-21 10:23:41 +01:00
|
|
|
%__make %{?jobs:-j%jobs}
|
2007-01-12 01:25:49 +01:00
|
|
|
|
|
|
|
%install
|
2007-03-28 02:20:55 +02:00
|
|
|
%makeinstall
|
2010-03-30 21:51:31 +02:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2007-03-28 02:20:55 +02:00
|
|
|
# Icon is installed in GNOME-only path:
|
2007-01-12 01:25:49 +01:00
|
|
|
ln -s ../icons/gnome/32x32/apps/utilities-system-monitor.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
|
|
|
echo DocPath=gnome-system-monitor >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop
|
2007-12-21 10:23:41 +01:00
|
|
|
%suse_update_desktop_file -N "GNOME System Monitor" gnome-system-monitor System Monitor
|
2007-01-12 01:25:49 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2007-08-09 17:16:23 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
2007-08-02 23:16:20 +02:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
|
2007-01-12 01:25:49 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
2009-07-31 19:35:14 +02:00
|
|
|
|
2007-01-12 01:25:49 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
|
|
|
%files -f %{name}.lst
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_bindir}/gnome-system-monitor
|
|
|
|
%{_datadir}/applications/gnome-system-monitor.desktop
|
|
|
|
%{_datadir}/pixmaps/*.png
|
|
|
|
%{_datadir}/pixmaps/gnome-system-monitor
|
|
|
|
|
2007-08-09 17:16:23 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-10 23:55:47 +01:00
|
|
|
%changelog
|