]> git.pld-linux.org Git - packages/xfce4-systemload-plugin.git/blob - xfce4-systemload-plugin.spec
- added convert-gulong.patch (from opensuse)
[packages/xfce4-systemload-plugin.git] / xfce4-systemload-plugin.spec
1 Summary:        Xfce plugin which displays the current system load
2 Summary(pl.UTF-8):      Wtyczka Xfce wyświetlająca aktualne obciążenie systemu
3 Name:           xfce4-systemload-plugin
4 Version:        1.3.2
5 Release:        2
6 License:        BSD-like (see COPYING)
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.3/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9389bcec82361aaace9f70653df6647e
10 Patch0:         convert-gulong.patch
11 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools
15 BuildRequires:  intltool
16 BuildRequires:  libtool
17 BuildRequires:  libxfce4ui-devel >= 4.16.0
18 BuildRequires:  libxfce4util-devel >= 4.17.2
19 BuildRequires:  pkgconfig
20 BuildRequires:  xfconf-devel >= 4.14.0
21 BuildRequires:  xfce4-dev-tools >= 4.16.0
22 BuildRequires:  xfce4-panel-devel >= 4.16.0
23 Requires:       xfce4-panel >= 4.16.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 A system load plugin for the Xfce desktop environment. It displays the
28 current CPU load, the memory in use, the swap space and the system
29 uptime in the Xfce panel.
30
31 %description -l pl.UTF-8
32 Wtyczka obciążenia systemu dla środowiska Xfce. Wyświetla obecne
33 obciążenie procesora, użycie pamięci, pliku wymiany i czasu pracy
34 systemu w panelu Xfce.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__intltoolize}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 %configure \
47         --disable-static
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
57 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie,ur_PK}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog COPYING
67 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libsystemload.so
68 %{_datadir}/xfce4/panel/plugins/systemload.desktop
69 %{_iconsdir}/hicolor/*x*/apps/org.xfce.panel.systemload.png
70 %{_iconsdir}/hicolor/scalable/apps/org.xfce.panel.systemload.svg
This page took 0.090036 seconds and 4 git commands to generate.