]>
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 |
f8a5123b | 7 | Version: 3.24.0 |
dde8056b | 8 | Release: 1 |
0efb4948 | 9 | License: GPL v2+ |
e63001a1 | 10 | Group: X11/Applications |
f8a5123b MB |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/3.24/%{name}-%{version}.tar.xz |
12 | # Source0-md5: 14d6bc9d8b4978f2123f82c40ad6445f | |
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 |
c096beff | 17 | BuildRequires: gettext-tools >= 0.17 |
74e3909c | 18 | BuildRequires: glib2-devel >= 1:2.38.0 |
f8a5123b | 19 | BuildRequires: glibmm-devel >= 2.46.0 |
4f7c86e7 | 20 | BuildRequires: gnome-common >= 2.24.0 |
cf67ab28 | 21 | BuildRequires: gnome-icon-theme >= 3.0.0 |
f8a5123b | 22 | BuildRequires: gtk+3-devel >= 3.22.0 |
d87d55f4 | 23 | BuildRequires: gtkmm3-devel >= 3.4.0 |
cf67ab28 MB |
24 | BuildRequires: intltool >= 0.41.0 |
25 | BuildRequires: libgtop-devel >= 1:2.28.2 | |
74e3909c | 26 | BuildRequires: librsvg-devel >= 2.35.0 |
dde8056b | 27 | BuildRequires: libstdc++-devel |
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 |
dde8056b | 35 | %{?with_systemd:BuildRequires: systemd-devel >= 44} |
ef659639 | 36 | BuildRequires: yelp-tools |
dde8056b JB |
37 | Requires(post,postun): glib2 >= 1:2.38.0 |
38 | Requires: glib2 >= 1:2.38.0 | |
f8a5123b | 39 | Requires: glibmm >= 2.46.0 |
cf67ab28 | 40 | Requires: gnome-icon-theme >= 3.0.0 |
f8a5123b | 41 | Requires: gtk+3 >= 3.22.0 |
dde8056b | 42 | Requires: gtkmm3 >= 3.4.0 |
cf67ab28 | 43 | Requires: libgtop >= 1:2.28.2 |
e63001a1 | 44 | Obsoletes: procman |
e1dbe8f3 | 45 | # sr@Latn vs. sr@latin |
46 | Conflicts: glibc-misc < 6:2.7 | |
e63001a1 | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
e63001a1 | 49 | %description |
50 | This is a simple process and system monitor. | |
51 | ||
43766127 | 52 | %description -l pl.UTF-8 |
f64e776c | 53 | GNOME System Monitor to prosty monitor procesów i systemu. |
e63001a1 | 54 | |
55 | %prep | |
56 | %setup -q | |
ea50fb96 | 57 | |
e63001a1 | 58 | %build |
c0c20776 | 59 | %{__intltoolize} |
7e8480ac | 60 | %{__libtoolize} |
225dea94 | 61 | %{__aclocal} |
62 | %{__autoconf} | |
7e8480ac | 63 | %{__autoheader} |
225dea94 | 64 | %{__automake} |
0efb4948 | 65 | %configure \ |
d87d55f4 | 66 | %{__enable_disable systemd systemd} \ |
cf67ab28 | 67 | --disable-silent-rules \ |
d87d55f4 | 68 | --disable-schemas-compile |
e63001a1 | 69 | %{__make} |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
e63001a1 | 74 | %{__make} install \ |
4f7c86e7 | 75 | DESTDIR=$RPM_BUILD_ROOT |
e63001a1 | 76 | |
872c223c | 77 | %find_lang %{name} --with-gnome |
e63001a1 | 78 | |
53b28cc2 JB |
79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
e63001a1 | 82 | %post |
cf67ab28 | 83 | %glib_compile_schemas |
e63001a1 | 84 | |
a2e6a2ed | 85 | %postun |
cf67ab28 | 86 | %glib_compile_schemas |
e63001a1 | 87 | |
e63001a1 | 88 | %files -f %{name}.lang |
89 | %defattr(644,root,root,755) | |
90 | %attr(755,root,root) %{_bindir}/gnome-system-monitor | |
d87d55f4 MB |
91 | %dir %{_libdir}/gnome-system-monitor |
92 | %attr(755,root,root) %{_libdir}/gnome-system-monitor/gsm-kill | |
93 | %attr(755,root,root) %{_libdir}/gnome-system-monitor/gsm-renice | |
74e3909c | 94 | %{_datadir}/appdata/gnome-system-monitor.appdata.xml |
7e8480ac | 95 | %{_desktopdir}/gnome-system-monitor.desktop |
d87d55f4 | 96 | %{_desktopdir}/gnome-system-monitor-kde.desktop |
cf67ab28 MB |
97 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.enums.xml |
98 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.gschema.xml | |
74e3909c | 99 | %{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy |