]> git.pld-linux.org Git - packages/mate-system-monitor.git/commitdiff
new, version 1.5.1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 24 Feb 2013 18:49:06 +0000 (20:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 24 Feb 2013 18:50:08 +0000 (20:50 +0200)
based on fedora package
205f41c000e37679b2f6f6314a6f86e87a008176

mate-system-monitor.spec [new file with mode: 0644]

diff --git a/mate-system-monitor.spec b/mate-system-monitor.spec
new file mode 100644 (file)
index 0000000..347a453
--- /dev/null
@@ -0,0 +1,82 @@
+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
This page took 0.101858 seconds and 4 git commands to generate.