]> git.pld-linux.org Git - packages/mate-system-monitor.git/blob - mate-system-monitor.spec
- grouped locales cleanup
[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.24-1)
79 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv,nah,pms}
80
81 desktop-file-install \
82         --delete-original \
83         --remove-category=MATE \
84         --add-category=X-Mate \
85         --dir $RPM_BUILD_ROOT%{_desktopdir} \
86         $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
87
88 %find_lang %{name} --with-mate
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 %glib_compile_schemas
95
96 %postun
97 %glib_compile_schemas
98
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog NEWS README TODO
102 %attr(755,root,root) %{_bindir}/%{name}
103 %{_mandir}/man1/mate-system-monitor.1*
104 %{_desktopdir}/%{name}.desktop
105 %{_pixmapsdir}/%{name}
106 %{_datadir}/appdata/mate-system-monitor.appdata.xml
107 %{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml
This page took 0.10018 seconds and 3 git commands to generate.