]>
Commit | Line | Data |
---|---|---|
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.1.0 | |
5 | Release: 1 | |
6 | License: BSD-like (see COPYING) | |
7 | Group: X11/Applications | |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.1/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 130ad7befddd8705ca09a98e9cee5c3e | |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libtool | |
16 | BuildRequires: libxfce4ui-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: xfce4-dev-tools >= 4.4.0 | |
19 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
20 | Requires: xfce4-panel >= 4.4.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | A system load plugin for the Xfce desktop environment. It displays the | |
25 | current CPU load, the memory in use, the swap space and the system | |
26 | uptime in the Xfce panel. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Wtyczka obciążenia systemu dla środowiska Xfce. Wyświetla obecne | |
30 | obciążenie procesora, użycie pamięci, pliku wymiany i czasu pracy | |
31 | systemu w panelu Xfce. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__intltoolize} | |
38 | %{__libtoolize} | |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__automake} | |
42 | %configure \ | |
43 | --disable-static | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
53 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK | |
54 | ||
55 | %find_lang %{name} | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files -f %{name}.lang | |
61 | %defattr(644,root,root,755) | |
62 | %doc AUTHORS ChangeLog COPYING README | |
63 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libsystemload.so | |
64 | %{_datadir}/xfce4/panel/plugins/systemload.desktop |