]> git.pld-linux.org Git - packages/mate-system-monitor.git/blob - mate-system-monitor.spec
up to 1.26.1
[packages/mate-system-monitor.git] / mate-system-monitor.spec
1 Summary:        Process and resource monitor for MATE desktop
2 Summary(pl.UTF-8):      Monitor procesów w zasobów dla środowiska MATE
3 Name:           mate-system-monitor
4 Version:        1.26.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
9 # Source0-md5:  493cd0acde702817f8035182a8d61e83
10 URL:            https://wiki.mate-desktop.org/mate-desktop/applications/mate-system-monitor/
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  dbus-glib-devel >= 0.70
14 BuildRequires:  desktop-file-utils
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-tools >= 0.10.40
17 BuildRequires:  glib2-devel >= 1:2.68.0
18 BuildRequires:  glibmm-devel >= 2.26.0
19 BuildRequires:  gtk+3-devel >= 3.22.0
20 BuildRequires:  gtkmm3-devel >= 3.8.1
21 BuildRequires:  libgtop-devel >= 1:2.37.2
22 BuildRequires:  librsvg-devel >= 2.35
23 BuildRequires:  libstdc++-devel >= 6:4.7
24 BuildRequires:  libtool >= 2:2.2
25 BuildRequires:  libwnck-devel >= 3.0.0
26 BuildRequires:  libxml2-devel >= 2.0
27 BuildRequires:  mate-common
28 BuildRequires:  pkgconfig >= 1:0.19
29 BuildRequires:  polkit-devel
30 BuildRequires:  rpmbuild(find_lang) >= 1.36
31 BuildRequires:  rpmbuild(macros) >= 1.592
32 BuildRequires:  startup-notification-devel
33 BuildRequires:  systemd-devel >= 44
34 BuildRequires:  tar >= 1:1.22
35 BuildRequires:  xz
36 BuildRequires:  yelp-tools
37 Requires(post,postun):  desktop-file-utils
38 Requires:       glib2 >= 1:2.68.0
39 Requires:       glibmm >= 2.26.0
40 Requires:       gtk+3 >= 3.22.0
41 Requires:       gtkmm3 >= 3.8.1
42 Requires:       libgtop >= 1:2.37.2
43 Requires:       librsvg >= 2.35
44 Requires:       libwnck >= 3.0.0
45 Requires:       mate-desktop
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
49 mate-system-monitor allows to graphically view and manipulate the
50 running processes on your system. It also provides an overview of
51 available resources such as CPU and memory.
52
53 %description -l pl.UTF-8
54 mate-system-monitor pozwala na graficzny podgląd i operowanie na
55 procesach działających w systemie. Zapewnia także widok dostępnych
56 zasobów, takich jak procesor i pamięć.
57
58 %prep
59 %setup -q
60
61 %build
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure \
68         --disable-silent-rules \
69         --disable-static \
70         --enable-compile-warnings=minimum
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 # not supported by glibc (as of 2.24-1)
80 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nah,pms}
81 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{frp,ie,ku_IQ,nah}
82
83 desktop-file-install \
84         --delete-original \
85         --remove-category=MATE \
86         --add-category=X-Mate \
87         --dir $RPM_BUILD_ROOT%{_desktopdir} \
88         $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
89
90 %find_lang %{name} --with-mate
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post
96 %glib_compile_schemas
97 %update_desktop_database_post
98
99 %postun
100 %glib_compile_schemas
101 %update_desktop_database_postun
102
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README TODO
106 %attr(755,root,root) %{_bindir}/%{name}
107 %{_mandir}/man1/mate-system-monitor.1*
108 %{_desktopdir}/%{name}.desktop
109 %{_pixmapsdir}/%{name}
110 %{_datadir}/metainfo/mate-system-monitor.appdata.xml
111 %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml
112 %{_datadir}/polkit-1/actions/org.mate.mate-system-monitor.policy
113 %dir %{_libexecdir}/%{name}
114 %attr(755,root,root) %{_libexecdir}/%{name}/msm-kill
115 %attr(755,root,root) %{_libexecdir}/%{name}/msm-renice
This page took 0.059615 seconds and 3 git commands to generate.