2014-03-09 18:41:31 +01:00
|
|
|
#
|
2015-06-28 14:11:34 +02:00
|
|
|
# spec file for package mate-system-monitor
|
2012-11-07 17:20:01 +01:00
|
|
|
#
|
2019-03-07 16:12:23 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-11-07 17:20:01 +01: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.
|
|
|
|
|
2018-12-25 02:13:10 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-06-28 14:11:34 +02:00
|
|
|
#
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
|
2019-03-07 16:12:23 +01:00
|
|
|
%define _version 1.22
|
2012-11-07 17:20:01 +01:00
|
|
|
Name: mate-system-monitor
|
2019-03-07 16:12:23 +01:00
|
|
|
Version: 1.22.0
|
2012-11-07 17:20:01 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: MATE Desktop system monitor
|
2018-03-11 20:11:50 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-11-07 17:20:01 +01:00
|
|
|
Group: System/GUI/Other
|
2019-03-07 16:12:23 +01:00
|
|
|
URL: https://mate-desktop.org/
|
2018-12-25 02:13:10 +01:00
|
|
|
Source: https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
|
2016-04-09 17:21:42 +02:00
|
|
|
# PATCH-FIX-OPENSUSE mate-system-monitor-xdgsu.patch sor.alexei@meowr.ru -- Use xdg-su instead of gksu.
|
2018-03-11 20:11:50 +01:00
|
|
|
Patch0: mate-system-monitor-xdgsu.patch
|
|
|
|
# PATCH-FEATURE-OPENSUSE mate-system-monitor-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 3.20 support.
|
|
|
|
Patch1: mate-system-monitor-gtk-3.20.patch
|
2012-11-07 17:20:01 +01:00
|
|
|
BuildRequires: fdupes
|
2015-06-28 14:11:34 +02:00
|
|
|
BuildRequires: gcc-c++
|
2015-11-06 08:17:16 +01:00
|
|
|
BuildRequires: mate-common >= %{_version}
|
2016-08-14 14:18:42 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-03-19 12:54:08 +01:00
|
|
|
BuildRequires: polkit
|
2015-06-28 14:11:34 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: yelp-tools
|
2012-11-07 17:20:01 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
2015-06-28 14:11:34 +02:00
|
|
|
BuildRequires: pkgconfig(dconf)
|
2018-03-11 20:11:50 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.48
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
|
|
|
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.20
|
2012-11-07 17:20:01 +01:00
|
|
|
BuildRequires: pkgconfig(libgtop-2.0)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
2016-09-21 01:37:21 +02:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2016-04-09 17:21:42 +02:00
|
|
|
BuildRequires: pkgconfig(libwnck-3.0)
|
2012-11-07 17:20:01 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2017-03-19 12:54:08 +01:00
|
|
|
Requires: polkit
|
2015-11-06 08:17:16 +01:00
|
|
|
Recommends: %{name}-lang
|
2015-06-28 14:11:34 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
%description
|
2015-06-28 14:11:34 +02:00
|
|
|
Process viewer and system resource monitor for the MATE. This
|
|
|
|
package allows you to graphically view and manipulate the running
|
|
|
|
processes on your system. It also provides an overview of available
|
|
|
|
resources such as CPU and memory.
|
|
|
|
|
|
|
|
%lang_package
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-03-21 21:12:27 +01:00
|
|
|
%patch0 -p1
|
2018-03-11 20:11:50 +01:00
|
|
|
%patch1 -p1
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
%build
|
2016-03-21 21:12:27 +01:00
|
|
|
NOCONFIGURE=1 mate-autogen
|
2015-06-28 14:11:34 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2015-11-06 08:17:16 +01:00
|
|
|
--disable-scrollkeeper \
|
2016-01-12 07:07:21 +01:00
|
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
|
|
|
--enable-systemd
|
2017-03-19 12:54:08 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
%install
|
2015-06-28 14:11:34 +02:00
|
|
|
%make_install
|
2012-11-07 17:39:41 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2012-11-07 17:20:01 +01:00
|
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop
|
2015-06-28 14:11:34 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}/
|
|
|
|
|
2018-03-11 20:11:50 +01:00
|
|
|
%if 0%{?suse_version} < 1500
|
2012-11-07 17:39:41 +01:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
2015-06-28 14:11:34 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2012-11-07 17:20:01 +01:00
|
|
|
|
2012-11-07 17:39:41 +01:00
|
|
|
%postun
|
2015-06-28 14:11:34 +02:00
|
|
|
%desktop_database_postun
|
2012-11-07 17:39:41 +01:00
|
|
|
%glib2_gsettings_schema_postun
|
2017-10-25 20:15:19 +02:00
|
|
|
%endif
|
2012-11-07 17:20:01 +01:00
|
|
|
|
2012-11-07 17:39:41 +01:00
|
|
|
%files
|
2018-03-11 20:11:50 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS
|
2015-06-28 14:11:34 +02:00
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2013-08-03 16:41:12 +02:00
|
|
|
%{_bindir}/%{name}
|
2017-03-19 12:54:08 +01:00
|
|
|
%{_libexecdir}/mate-system-monitor/
|
2015-06-28 14:11:34 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
2017-03-19 12:54:08 +01:00
|
|
|
%{_datadir}/polkit-1/actions/*%{name}.policy
|
2013-08-03 16:41:12 +02:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2012-11-07 17:20:01 +01:00
|
|
|
%{_datadir}/pixmaps/%{name}/
|
2018-12-25 02:13:10 +01:00
|
|
|
%dir %{_datadir}/metainfo/
|
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
2015-06-28 14:11:34 +02:00
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2012-11-07 17:20:01 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|