]> git.pld-linux.org Git - packages/mate-system-monitor.git/blob - mate-system-monitor.spec
b837c1a2078b6a3897d2e189336f1f20e674abd9
[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.14.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  296356b0d04dbb40b99ab627ced5a2b3
10 URL:            http://mate-desktop.org/
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.36.0
18 BuildRequires:  glibmm-devel >= 2.26.0
19 BuildRequires:  gtk+3-devel >= 3.14.0
20 BuildRequires:  gtkmm3-devel >= 3.8.1
21 BuildRequires:  intltool >= 0.50.1
22 BuildRequires:  libgtop-devel >= 1:2.23.1
23 BuildRequires:  librsvg-devel >= 2.35
24 BuildRequires:  libstdc++-devel >= 6:4.7
25 BuildRequires:  libtool >= 2:2.2
26 BuildRequires:  libwnck-devel >= 3.0.0
27 BuildRequires:  libxml2-devel >= 2.0
28 BuildRequires:  mate-common
29 BuildRequires:  pkgconfig >= 1:0.19
30 BuildRequires:  rpmbuild(find_lang) >= 1.36
31 BuildRequires:  rpmbuild(macros) >= 1.311
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:       glib2 >= 1:2.36.0
38 Requires:       glibmm >= 2.26.0
39 Requires:       gtk+3 >= 3.14.0
40 Requires:       gtkmm3 >= 3.8.1
41 Requires:       libgtop >= 1:2.23.1
42 Requires:       librsvg >= 2.35
43 Requires:       libwnck >= 3.0.0
44 Requires:       mate-desktop
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 mate-system-monitor allows to graphically view and manipulate the
49 running processes on your system. It also provides an overview of
50 available resources such as CPU and memory.
51
52 %description -l pl.UTF-8
53 mate-system-monitor pozwala na graficzny podgląd i operowanie na
54 procesach działających w systemie. Zapewnia także widok dostępnych
55 zasobów, takich jak procesor i pamięć.
56
57 %prep
58 %setup -q
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure \
67         --disable-silent-rules \
68         --disable-static \
69         --enable-compile-warnings=minimum
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 # not supported by glibc (as of 2.19-3)
79 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/nah
80 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/jv
81 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,pms}
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
98 %postun
99 %glib_compile_schemas
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog NEWS README TODO
104 %attr(755,root,root) %{_bindir}/%{name}
105 %{_mandir}/man1/mate-system-monitor.1*
106 %{_desktopdir}/%{name}.desktop
107 %{_pixmapsdir}/%{name}
108 %{_datadir}/appdata/mate-system-monitor.appdata.xml
109 %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml
This page took 0.038216 seconds and 2 git commands to generate.