]>
Commit | Line | Data |
---|---|---|
8696548b | 1 | # |
d87d55f4 | 2 | # Conditional build: |
9a69ce4a JB |
3 | %bcond_without systemd # systemd support |
4 | %bcond_with wnck # wnck support, "this will likely make system-monitor segfault" | |
d87d55f4 | 5 | # |
e63001a1 | 6 | Summary: Simple process monitor |
94d5916c | 7 | Summary(pl.UTF-8): Prosty monitor procesów |
e63001a1 | 8 | Name: gnome-system-monitor |
9a69ce4a | 9 | Version: 3.32.1 |
dde8056b | 10 | Release: 1 |
0efb4948 | 11 | License: GPL v2+ |
e63001a1 | 12 | Group: X11/Applications |
9a69ce4a JB |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-system-monitor/3.32/%{name}-%{version}.tar.xz |
14 | # Source0-md5: 37356a1b8c20939adc6f47f739d2e49a | |
e63001a1 | 15 | URL: http://www.gnome.org/ |
25b25557 | 16 | BuildRequires: docbook-dtd412-xml |
adb2452e MB |
17 | BuildRequires: gettext-tools >= 0.19.8 |
18 | BuildRequires: glib2-devel >= 1:2.56.0 | |
f8a5123b | 19 | BuildRequires: glibmm-devel >= 2.46.0 |
f8a5123b | 20 | BuildRequires: gtk+3-devel >= 3.22.0 |
d87d55f4 | 21 | BuildRequires: gtkmm3-devel >= 3.4.0 |
d1556cef | 22 | BuildRequires: libgtop-devel >= 1:2.38.0 |
74e3909c | 23 | BuildRequires: librsvg-devel >= 2.35.0 |
8696548b | 24 | BuildRequires: libstdc++-devel >= 6:4.7 |
9a69ce4a | 25 | %{?with_wnck:BuildRequires: libwnck-devel >= 3.0.0} |
7e8480ac | 26 | BuildRequires: libxml2-devel >= 1:2.6.31 |
2b7b531d | 27 | BuildRequires: libxml2-progs |
9a69ce4a JB |
28 | BuildRequires: meson >= 0.43.0 |
29 | BuildRequires: ninja >= 1.5 | |
c0c20776 | 30 | BuildRequires: pkgconfig >= 1:0.19 |
ea50fb96 | 31 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
9a69ce4a | 32 | BuildRequires: rpmbuild(macros) >= 1.736 |
dde8056b | 33 | %{?with_systemd:BuildRequires: systemd-devel >= 44} |
9a69ce4a JB |
34 | BuildRequires: tar >= 1:1.22 |
35 | BuildRequires: xz | |
ef659639 | 36 | BuildRequires: yelp-tools |
9a69ce4a | 37 | Requires(post,postun): glib2 >= 1:2.56.0 |
adb2452e | 38 | Requires: glib2 >= 1:2.56.0 |
f8a5123b | 39 | Requires: glibmm >= 2.46.0 |
f8a5123b | 40 | Requires: gtk+3 >= 3.22.0 |
dde8056b | 41 | Requires: gtkmm3 >= 3.4.0 |
9a69ce4a | 42 | Requires: hicolor-icon-theme |
d1556cef | 43 | Requires: libgtop >= 1:2.38.0 |
8696548b | 44 | Requires: librsvg >= 2.35.0 |
e63001a1 | 45 | Obsoletes: procman |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
47 | ||
e63001a1 | 48 | %description |
49 | This is a simple process and system monitor. | |
50 | ||
43766127 | 51 | %description -l pl.UTF-8 |
f64e776c | 52 | GNOME System Monitor to prosty monitor procesów i systemu. |
e63001a1 | 53 | |
54 | %prep | |
55 | %setup -q | |
ea50fb96 | 56 | |
e63001a1 | 57 | %build |
9a69ce4a JB |
58 | %meson build \ |
59 | %{!?with_systemd:-Dsystemd=false} \ | |
60 | %{?with_wnck:-Dwnck=true} | |
61 | ||
cc2c8ece | 62 | %ninja_build -C build |
e63001a1 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
cc2c8ece | 67 | %ninja_install -C build |
e63001a1 | 68 | |
872c223c | 69 | %find_lang %{name} --with-gnome |
e63001a1 | 70 | |
53b28cc2 JB |
71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
e63001a1 | 74 | %post |
cf67ab28 | 75 | %glib_compile_schemas |
e63001a1 | 76 | |
a2e6a2ed | 77 | %postun |
cf67ab28 | 78 | %glib_compile_schemas |
e63001a1 | 79 | |
e63001a1 | 80 | %files -f %{name}.lang |
81 | %defattr(644,root,root,755) | |
9a69ce4a | 82 | %doc AUTHORS MAINTAINERS NEWS README |
e63001a1 | 83 | %attr(755,root,root) %{_bindir}/gnome-system-monitor |
adb2452e MB |
84 | %dir %{_libexecdir}/gnome-system-monitor |
85 | %attr(755,root,root) %{_libexecdir}/gnome-system-monitor/gsm-kill | |
86 | %attr(755,root,root) %{_libexecdir}/gnome-system-monitor/gsm-renice | |
cf67ab28 MB |
87 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.enums.xml |
88 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.gschema.xml | |
9a69ce4a JB |
89 | %{_datadir}/gnome-system-monitor |
90 | %{_datadir}/metainfo/gnome-system-monitor.appdata.xml | |
74e3909c | 91 | %{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy |
9a69ce4a JB |
92 | %{_desktopdir}/gnome-system-monitor.desktop |
93 | %{_desktopdir}/gnome-system-monitor-kde.desktop | |
94 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.SystemMonitor.svg | |
95 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg |