]>
Commit | Line | Data |
---|---|---|
d87d55f4 MB |
1 | # Conditional build: |
2 | %bcond_without systemd # systemd support | |
3 | # | |
e63001a1 | 4 | Summary: Simple process monitor |
94d5916c | 5 | Summary(pl.UTF-8): Prosty monitor procesów |
e63001a1 | 6 | Name: gnome-system-monitor |
c18d0af1 | 7 | Version: 3.12.2 |
319d686a | 8 | Release: 1 |
0efb4948 | 9 | License: GPL v2+ |
e63001a1 | 10 | Group: X11/Applications |
74e3909c | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/3.12/%{name}-%{version}.tar.xz |
c18d0af1 | 12 | # Source0-md5: dc9f4ffa25ebee2795821251ef0d73db |
e63001a1 | 13 | URL: http://www.gnome.org/ |
cf67ab28 | 14 | BuildRequires: autoconf >= 2.63 |
d87d55f4 | 15 | BuildRequires: automake >= 1:1.11.1 |
25b25557 | 16 | BuildRequires: docbook-dtd412-xml |
cf67ab28 | 17 | BuildRequires: gettext-devel >= 0.17 |
74e3909c | 18 | BuildRequires: glib2-devel >= 1:2.38.0 |
cf67ab28 | 19 | BuildRequires: glibmm-devel >= 2.28.0 |
4f7c86e7 | 20 | BuildRequires: gnome-common >= 2.24.0 |
cf67ab28 MB |
21 | BuildRequires: gnome-doc-utils >= 0.20.0 |
22 | BuildRequires: gnome-icon-theme >= 3.0.0 | |
74e3909c | 23 | BuildRequires: gtk+3-devel >= 3.10.0 |
d87d55f4 | 24 | BuildRequires: gtkmm3-devel >= 3.4.0 |
cf67ab28 MB |
25 | BuildRequires: intltool >= 0.41.0 |
26 | BuildRequires: libgtop-devel >= 1:2.28.2 | |
74e3909c | 27 | BuildRequires: librsvg-devel >= 2.35.0 |
cf67ab28 MB |
28 | BuildRequires: libtool >= 2:2.2 |
29 | BuildRequires: libwnck-devel >= 3.0.0 | |
7e8480ac | 30 | BuildRequires: libxml2-devel >= 1:2.6.31 |
2b7b531d | 31 | BuildRequires: libxml2-progs |
c0c20776 | 32 | BuildRequires: pkgconfig >= 1:0.19 |
ea50fb96 | 33 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
ea4c6b13 | 34 | BuildRequires: rpmbuild(macros) >= 1.311 |
d87d55f4 | 35 | %{?with_systemd:BuildRequires: systemd-devel >= 43} |
ef659639 | 36 | BuildRequires: yelp-tools |
cf67ab28 | 37 | Requires(post,postun): glib2 >= 1:2.26.0 |
cf67ab28 MB |
38 | Requires: gnome-icon-theme >= 3.0.0 |
39 | Requires: libgtop >= 1:2.28.2 | |
e63001a1 | 40 | Obsoletes: procman |
e1dbe8f3 | 41 | # sr@Latn vs. sr@latin |
42 | Conflicts: glibc-misc < 6:2.7 | |
e63001a1 | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
e63001a1 | 45 | %description |
46 | This is a simple process and system monitor. | |
47 | ||
43766127 | 48 | %description -l pl.UTF-8 |
f64e776c | 49 | GNOME System Monitor to prosty monitor procesów i systemu. |
e63001a1 | 50 | |
51 | %prep | |
52 | %setup -q | |
ea50fb96 | 53 | |
e63001a1 | 54 | %build |
c0c20776 | 55 | %{__intltoolize} |
7e8480ac | 56 | %{__libtoolize} |
225dea94 | 57 | %{__aclocal} |
58 | %{__autoconf} | |
7e8480ac | 59 | %{__autoheader} |
225dea94 | 60 | %{__automake} |
0efb4948 | 61 | %configure \ |
d87d55f4 | 62 | %{__enable_disable systemd systemd} \ |
cf67ab28 | 63 | --disable-silent-rules \ |
d87d55f4 | 64 | --disable-schemas-compile |
e63001a1 | 65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
e63001a1 | 70 | %{__make} install \ |
4f7c86e7 | 71 | DESTDIR=$RPM_BUILD_ROOT |
e63001a1 | 72 | |
872c223c | 73 | %find_lang %{name} --with-gnome |
e63001a1 | 74 | |
53b28cc2 JB |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
e63001a1 | 78 | %post |
cf67ab28 | 79 | %glib_compile_schemas |
e63001a1 | 80 | |
a2e6a2ed | 81 | %postun |
cf67ab28 | 82 | %glib_compile_schemas |
e63001a1 | 83 | |
e63001a1 | 84 | %files -f %{name}.lang |
85 | %defattr(644,root,root,755) | |
86 | %attr(755,root,root) %{_bindir}/gnome-system-monitor | |
d87d55f4 MB |
87 | %dir %{_libdir}/gnome-system-monitor |
88 | %attr(755,root,root) %{_libdir}/gnome-system-monitor/gsm-kill | |
89 | %attr(755,root,root) %{_libdir}/gnome-system-monitor/gsm-renice | |
74e3909c | 90 | %{_datadir}/appdata/gnome-system-monitor.appdata.xml |
7e8480ac | 91 | %{_desktopdir}/gnome-system-monitor.desktop |
d87d55f4 | 92 | %{_desktopdir}/gnome-system-monitor-kde.desktop |
cf67ab28 MB |
93 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.enums.xml |
94 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.gschema.xml | |
74e3909c | 95 | %{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy |