1
0
mate-system-monitor/mate-system-monitor.spec
Hillwood Yang b9a132ba94 Accepting request 1165511 from X11:MATE:Next
- Update version to 1.28.1
  * Translations update
  * build: do enable systemd by default (but don't force it)
  * fix a warning in japanese translations
  * fix a warning in turkish translation
  * Fix translations in help not built
  * Fix meson configuration failure on URL keyword
  * Distribute Meson build system

OBS-URL: https://build.opensuse.org/request/show/1165511
OBS-URL: https://build.opensuse.org/package/show/X11:MATE:Factory/mate-system-monitor?expand=0&rev=50
2024-04-05 11:50:13 +00:00

93 lines
2.8 KiB
RPMSpec

#
# spec file for package mate-system-monitor
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define _version 1.28
Name: mate-system-monitor
Version: 1.28.1
Release: 0
Summary: MATE Desktop system monitor
License: GPL-2.0-or-later
Group: System/Monitoring
URL: https://mate-desktop.org/
Source0: https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
Source99: https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz.sha256sum
# PATCH-FIX-OPENSUSE mate-system-monitor-xdgsu.patch sor.alexei@meowr.ru -- Use xdg-su instead of gksu.
Patch0: %{name}-xdgsu.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: mate-common >= %{_version}
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: polkit-devel
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(libgtop-2.0)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libwnck-3.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(systemd)
Requires: polkit
%glib2_gsettings_schema_requires
%description
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
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop
%fdupes %{buildroot}%{_datadir}
%files
%license COPYING
%doc AUTHORS NEWS
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/%{name}
%{_libexecdir}/mate-system-monitor/
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/polkit-1/actions/*%{name}.policy
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}/
%dir %{_datadir}/metainfo/
%{_datadir}/metainfo/%{name}.appdata.xml
%{_mandir}/man?/%{name}.?%{?ext_man}
%files lang -f %{name}.lang
%changelog