]> git.pld-linux.org Git - packages/mate-system-monitor.git/blame - mate-system-monitor.spec
up to 1.10.1
[packages/mate-system-monitor.git] / mate-system-monitor.spec
CommitLineData
03008618
JB
1#
2# Conditional build:
3%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
4
31a4f9c9
JB
5Summary: Process and resource monitor for MATE desktop
6Summary(pl.UTF-8): Monitor procesów w zasobów dla środowiska MATE
c2412cac 7Name: mate-system-monitor
147efeb7 8Version: 1.10.1
97175843 9Release: 1
c2412cac
ER
10License: GPL v2+
11Group: X11/Applications
97175843 12Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz
147efeb7 13# Source0-md5: bf2335591e9810b1c8cad162cde8d3ee
c2412cac 14URL: http://mate-desktop.org/
97175843
JB
15BuildRequires: autoconf >= 2.63
16BuildRequires: automake >= 1:1.11
31a4f9c9 17BuildRequires: dbus-glib-devel >= 0.70
c2412cac 18BuildRequires: desktop-file-utils
90ee71f8 19BuildRequires: docbook-dtd412-xml
f853f222 20BuildRequires: gettext-tools >= 0.10.40
97175843 21BuildRequires: glib2-devel >= 1:2.36.0
31a4f9c9 22BuildRequires: glibmm-devel >= 2.26.0
03008618
JB
23%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.20.0}
24%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
25%{!?with_gtk3:BuildRequires: gtkmm-devel >= 2.22}
26%{?with_gtk3:BuildRequires: gtkmm3-devel >= 3.0.0}
97175843 27BuildRequires: intltool >= 0.41.0
31a4f9c9 28BuildRequires: libgtop-devel >= 1:2.23.1
97175843
JB
29BuildRequires: librsvg-devel >= 2.35
30BuildRequires: libtool >= 2:2.2
03008618
JB
31%{?with_gtk3:BuildRequires: libwnck-devel >= 3.0.0}
32%{!?with_gtk3:BuildRequires: libwnck2-devel >= 2.5.0}
31a4f9c9 33BuildRequires: libxml2-devel >= 2.0
c2412cac 34BuildRequires: mate-common
31a4f9c9
JB
35BuildRequires: mate-icon-theme-devel >= 1.1.0
36BuildRequires: pkgconfig >= 1:0.19
c2412cac
ER
37BuildRequires: rpmbuild(find_lang) >= 1.36
38BuildRequires: rpmbuild(macros) >= 1.311
39BuildRequires: startup-notification-devel
97175843 40BuildRequires: systemd-devel >= 44
c2412cac
ER
41BuildRequires: tar >= 1:1.22
42BuildRequires: xz
2fffd0d7 43BuildRequires: yelp-tools
97175843 44Requires: glib2 >= 1:2.36.0
31a4f9c9 45Requires: glibmm >= 2.26.0
03008618
JB
46%{!?with_gtk3:Requires: gtk+2 >= 2:2.20.0}
47%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
48%{!?with_gtk3:Requires: gtkmm >= 2.22}
49%{?with_gtk3:Requires: gtkmm3 >= 3.0.0}
31a4f9c9 50Requires: libgtop >= 1:2.23.1
97175843 51Requires: librsvg >= 2.35
03008618
JB
52%{?with_gtk3:Requires: libwnck >= 3.0.0}
53%{!?with_gtk3:Requires: libwnck2 >= 2.5.0}
c2412cac 54Requires: mate-desktop
31a4f9c9 55Requires: mate-icon-theme >= 1.1.0
c2412cac
ER
56BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58%description
90ee71f8
ER
59mate-system-monitor allows to graphically view and manipulate the
60running processes on your system. It also provides an overview of
61available resources such as CPU and memory.
c2412cac 62
31a4f9c9
JB
63%description -l pl.UTF-8
64mate-system-monitor pozwala na graficzny podgląd i operowanie na
65procesach działających w systemie. Zapewnia także widok dostępnych
66zasobów, takich jak procesor i pamięć.
67
c2412cac
ER
68%prep
69%setup -q
70
71%build
121467d0
ER
72%{__libtoolize}
73%{__aclocal}
74%{__autoconf}
75%{__autoheader}
76%{__automake}
c2412cac 77%configure \
121467d0 78 --disable-silent-rules \
c2412cac 79 --disable-static \
03008618
JB
80 --enable-compile-warnings=minimum \
81 %{?with_gtk3:--with-gtk=3.0}
c2412cac
ER
82
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
89
90# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
91%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/%{name}.convert
92
03008618
JB
93# not supported by glibc (as of 2.19-3)
94%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/nah
8c23930a 95
c2412cac
ER
96desktop-file-install \
97 --delete-original \
98 --remove-category=MATE \
99 --add-category=X-Mate \
100 --dir $RPM_BUILD_ROOT%{_desktopdir} \
101 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
102
03008618 103%find_lang %{name} --with-mate
c2412cac
ER
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108%post
109%glib_compile_schemas
110
111%postun
112%glib_compile_schemas
113
114%files -f %{name}.lang
115%defattr(644,root,root,755)
31a4f9c9 116%doc AUTHORS ChangeLog NEWS README TODO
c2412cac 117%attr(755,root,root) %{_bindir}/%{name}
121467d0 118%{_mandir}/man1/mate-system-monitor.1*
c2412cac
ER
119%{_desktopdir}/%{name}.desktop
120%{_pixmapsdir}/%{name}
97175843 121%{_datadir}/appdata/mate-system-monitor.appdata.xml
c2412cac 122%{_datadir}/glib-2.0/schemas/org.mate.system-monitor.*.xml
This page took 0.122691 seconds and 4 git commands to generate.