--- /dev/null
+Summary: Process and resource monitor
+Name: mate-system-monitor
+Version: 1.5.1
+Release: 0.1
+License: GPL v2+
+Group: X11/Applications
+Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+URL: http://mate-desktop.org/
+BuildRequires: dbus-glib-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gtk+2-devel
+#BuildRequires: gtkmm24-devel
+#BuildRequires: libgtop2-devel
+BuildRequires: libmatewnck-devel
+#BuildRequires: librsvg2-devel
+BuildRequires: libselinux-devel
+BuildRequires: libxml2-devel
+BuildRequires: mate-common
+BuildRequires: mate-doc-utils
+BuildRequires: mate-icon-theme-devel
+BuildRequires: pango-devel
+BuildRequires: pcre-devel
+BuildRequires: rarian-compat
+BuildRequires: rpmbuild(find_lang) >= 1.36
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: startup-notification-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: glib2 >= 1:2.26.0
+Requires: mate-desktop
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+%{name} allows 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 \
+ --disable-scrollkeeper \
+ --enable-compile-warnings=minimum
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/%{name}.convert
+
+desktop-file-install \
+ --delete-original \
+ --remove-category=MATE \
+ --add-category=X-Mate \
+ --dir $RPM_BUILD_ROOT%{_desktopdir} \
+ $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
+%find_lang %{name} --with-mate --with-omf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_bindir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}
+%{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml