]>
Commit | Line | Data |
---|---|---|
c2412cac ER |
1 | Summary: Process and resource monitor |
2 | Name: mate-system-monitor | |
3 | Version: 1.5.1 | |
90ee71f8 | 4 | Release: 1 |
c2412cac ER |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
7 | Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz | |
8 | URL: http://mate-desktop.org/ | |
9 | BuildRequires: dbus-glib-devel | |
10 | BuildRequires: desktop-file-utils | |
90ee71f8 ER |
11 | BuildRequires: docbook-dtd412-xml |
12 | BuildRequires: glibmm-devel | |
c2412cac | 13 | BuildRequires: gtk+2-devel |
90ee71f8 ER |
14 | BuildRequires: gtkmm-devel |
15 | BuildRequires: libgtop-devel | |
c2412cac | 16 | BuildRequires: libmatewnck-devel |
90ee71f8 | 17 | BuildRequires: librsvg-devel |
c2412cac ER |
18 | BuildRequires: libselinux-devel |
19 | BuildRequires: libxml2-devel | |
20 | BuildRequires: mate-common | |
21 | BuildRequires: mate-doc-utils | |
22 | BuildRequires: mate-icon-theme-devel | |
23 | BuildRequires: pango-devel | |
24 | BuildRequires: pcre-devel | |
c2412cac ER |
25 | BuildRequires: rpmbuild(find_lang) >= 1.36 |
26 | BuildRequires: rpmbuild(macros) >= 1.311 | |
27 | BuildRequires: startup-notification-devel | |
28 | BuildRequires: tar >= 1:1.22 | |
29 | BuildRequires: xz | |
30 | Requires: glib2 >= 1:2.26.0 | |
31 | Requires: mate-desktop | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
90ee71f8 ER |
35 | mate-system-monitor allows to graphically view and manipulate the |
36 | running processes on your system. It also provides an overview of | |
37 | available resources such as CPU and memory. | |
c2412cac ER |
38 | |
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | NOCONFIGURE=1 ./autogen.sh | |
44 | %configure \ | |
45 | --disable-static \ | |
46 | --disable-scrollkeeper \ | |
47 | --enable-compile-warnings=minimum | |
48 | ||
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -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 | ||
59 | desktop-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 | |
69 | rm -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 |