]> git.pld-linux.org Git - packages/mate-system-monitor.git/blame - mate-system-monitor.spec
update deps with cleanbuild
[packages/mate-system-monitor.git] / mate-system-monitor.spec
CommitLineData
c2412cac
ER
1Summary: Process and resource monitor
2Name: mate-system-monitor
3Version: 1.5.1
90ee71f8 4Release: 1
c2412cac
ER
5License: GPL v2+
6Group: X11/Applications
7Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
8URL: http://mate-desktop.org/
9BuildRequires: dbus-glib-devel
10BuildRequires: desktop-file-utils
90ee71f8
ER
11BuildRequires: docbook-dtd412-xml
12BuildRequires: glibmm-devel
c2412cac 13BuildRequires: gtk+2-devel
90ee71f8
ER
14BuildRequires: gtkmm-devel
15BuildRequires: libgtop-devel
c2412cac 16BuildRequires: libmatewnck-devel
90ee71f8 17BuildRequires: librsvg-devel
c2412cac
ER
18BuildRequires: libselinux-devel
19BuildRequires: libxml2-devel
20BuildRequires: mate-common
21BuildRequires: mate-doc-utils
22BuildRequires: mate-icon-theme-devel
23BuildRequires: pango-devel
24BuildRequires: pcre-devel
c2412cac
ER
25BuildRequires: rpmbuild(find_lang) >= 1.36
26BuildRequires: rpmbuild(macros) >= 1.311
27BuildRequires: startup-notification-devel
28BuildRequires: tar >= 1:1.22
29BuildRequires: xz
30Requires: glib2 >= 1:2.26.0
31Requires: mate-desktop
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
90ee71f8
ER
35mate-system-monitor allows to graphically view and manipulate the
36running processes on your system. It also provides an overview of
37available resources such as CPU and memory.
c2412cac
ER
38
39%prep
40%setup -q
41
42%build
43NOCONFIGURE=1 ./autogen.sh
44%configure \
45 --disable-static \
46 --disable-scrollkeeper \
47 --enable-compile-warnings=minimum
48
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
57%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/%{name}.convert
58
59desktop-file-install \
60 --delete-original \
61 --remove-category=MATE \
62 --add-category=X-Mate \
63 --dir $RPM_BUILD_ROOT%{_desktopdir} \
64 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
65
66%find_lang %{name} --with-mate --with-omf
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post
72%glib_compile_schemas
73
74%postun
75%glib_compile_schemas
76
77%files -f %{name}.lang
78%defattr(644,root,root,755)
79%doc AUTHORS NEWS README
80%attr(755,root,root) %{_bindir}/%{name}
81%{_desktopdir}/%{name}.desktop
82%{_pixmapsdir}/%{name}
83%{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml
This page took 0.062759 seconds and 4 git commands to generate.