1
0
mate-system-monitor/mate-system-monitor.spec

101 lines
3.1 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.1
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
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
%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 [ -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}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}/
%{_datadir}/mate/help/
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/omf/%{name}/%{name}-C.omf
%{_mandir}/man1/%{name}.1.gz
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog