Dominique Leuenberger
0429d6e2f6
Scripted push of GNOME:Next OBS-URL: https://build.opensuse.org/request/show/460959 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-system-monitor?expand=0&rev=153
105 lines
3.3 KiB
RPMSpec
105 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package gnome-system-monitor
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnome-system-monitor
|
|
Version: 3.23.91
|
|
Release: 0
|
|
Url: http://www.gnome.org
|
|
Summary: A Simple Process Monitor
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Source0: http://download.gnome.org/sources/gnome-system-monitor/3.23/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-UPSTREAM gnome-system-monitor-linking.patch bgo#779365 dimstar@opensuse.org -- Fix build with -Wl,--as-needed
|
|
Patch0: gnome-system-monitor-linking.patch
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gnome-common
|
|
BuildRequires: intltool
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
BuildRequires: pkgconfig(gdk-x11-3.0)
|
|
BuildRequires: pkgconfig(giomm-2.4) >= 2.46
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.46
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
|
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.3.18
|
|
BuildRequires: pkgconfig(libgtop-2.0) >= 2.28.2
|
|
BuildRequires: pkgconfig(librsvg-2.0) >= 2.35
|
|
BuildRequires: pkgconfig(libsystemd) >= 44
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
Requires: lsb-release
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
GNOME-system-monitor is a simple process and system monitor for the
|
|
GNOME Desktop.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
translation-update-upstream
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--enable-systemd
|
|
%__make %{?jobs:-j%jobs} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
echo DocPath=gnome-system-monitor >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop
|
|
%suse_update_desktop_file %{name}
|
|
%suse_update_desktop_file %{name}-kde
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%desktop_database_post
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/gnome-system-monitor
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/gnome-system-monitor.appdata.xml
|
|
%{_datadir}/applications/gnome-system-monitor.desktop
|
|
%{_datadir}/applications/gnome-system-monitor-kde.desktop
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.enums.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.gschema.xml
|
|
%dir %{_datadir}/polkit-1
|
|
%dir %{_datadir}/polkit-1/actions
|
|
%{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy
|
|
%dir %{_libexecdir}/%{name}/
|
|
%{_libexecdir}/%{name}/gsm-kill
|
|
%{_libexecdir}/%{name}/gsm-renice
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|