19f2abac9a
update OBS-URL: https://build.opensuse.org/request/show/162565 OBS-URL: https://build.opensuse.org/package/show/X11:MATE:Factory/mate-system-monitor?expand=0&rev=7
107 lines
3.3 KiB
RPMSpec
107 lines
3.3 KiB
RPMSpec
# spec file for mate-system-monitor
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products 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: mate-system-monitor
|
|
Version: 1.6.0
|
|
Release: 0
|
|
License: GPL-2.0+
|
|
Summary: MATE Desktop system monitor
|
|
Url: http://mate-desktop.org
|
|
Group: System/GUI/Other
|
|
Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
|
|
# openSUSE branded image to replace original
|
|
Source1: side-openSUSE.png
|
|
Recommends: %{name}-lang
|
|
%glib2_gsettings_schema_requires
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: fdupes
|
|
BuildRequires: libxml2-python
|
|
BuildRequires: mate-common
|
|
BuildRequires: libgnomesu-devel
|
|
BuildRequires: pkgconfig(dconf)
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(libgtop-2.0)
|
|
BuildRequires: pkgconfig(libmatewnck)
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(glibmm-2.4)
|
|
BuildRequires: pkgconfig(giomm-2.4)
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
BuildRequires: pkgconfig(gtkmm-2.4)
|
|
BuildRequires: pkgconfig(mate-doc-utils)
|
|
BuildRequires: pkgconfig(mate-icon-theme)
|
|
BuildRequires: pkgconfig(gtkmm-2.4)
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xz
|
|
|
|
%lang_package
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
%configure \
|
|
--disable-static \
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
|
--disable-scrollkeeper
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
%fdupes %{buildroot}%{_datadir}/mate
|
|
if [ -f %{buildroot}%{_datadir}/pixmaps/%{name}/side.png ]; then
|
|
rm %{buildroot}%{_datadir}/pixmaps/%{name}/side.png
|
|
install -D -m 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}/side.png
|
|
fi
|
|
if [ -d %{buildroot}%{_datadir}/MateConf ]; then
|
|
rm -r %{buildroot}%{_datadir}/MateConf
|
|
fi
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_post
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING
|
|
%dir %{_datadir}/omf/%{name}
|
|
%{_bindir}/mate-system-monitor
|
|
%{_datadir}/applications/mate-system-monitor.desktop
|
|
%{_datadir}/pixmaps/%{name}/
|
|
%{_datadir}/mate/help/
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
%{_datadir}/omf/%{name}/%{name}-C.omf
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
|
|
%changelog
|