]>
Commit | Line | Data |
---|---|---|
94836e12 | 1 | Summary: Displays a graph from your latest system load |
de54f943 | 2 | Summary(pl.UTF-8): Wyświetlanie wykresu bieżącego obciążenia systemu |
94836e12 | 3 | Name: xfce4-cpugraph-plugin |
00cfde00 | 4 | Version: 1.0.5 |
a7de36c4 | 5 | Release: 2 |
c4847e29 | 6 | License: BSD |
94836e12 | 7 | Group: X11/Applications |
eb76d5b5 | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/1.0/%{name}-%{version}.tar.bz2 |
00cfde00 | 9 | # Source0-md5: f0ebfabb273adf69361b37a3fa4b7912 |
c4847e29 | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin |
65a744d7 | 11 | BuildRequires: gettext-devel |
eb76d5b5 | 12 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
4ff9a950 | 13 | BuildRequires: libxfce4ui-devel |
94836e12 | 14 | BuildRequires: pkgconfig |
eb76d5b5 | 15 | BuildRequires: rpmbuild(macros) >= 1.601 |
b2262bdd JR |
16 | BuildRequires: xfce4-dev-tools >= 4.6.0 |
17 | BuildRequires: xfce4-panel-devel >= 4.6.0 | |
eb76d5b5 MB |
18 | Requires: gtk-update-icon-cache |
19 | Requires: hicolor-icon-theme | |
b2262bdd | 20 | Requires: xfce4-panel >= 4.6.0 |
94836e12 MC |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
c4847e29 MB |
24 | This systemload plugin offers multiple display modes (LED, gradient, |
25 | fire, etc.) to show the current CPU load of the system. The colors and | |
26 | the size of the plugin are customizable. | |
94836e12 | 27 | |
9f13b558 JR |
28 | %description -l pl.UTF-8 |
29 | Ta wtyczka obciążenia systemu oferuje liczne tryby wyświetlania (ekran | |
30 | ciekłokrystaliczny LED, gradient, ogień, itp.) aktualnego obciążenia | |
31 | procesora. Kolory i rozmiar wtyczki są modyfikowalne. | |
94836e12 MC |
32 | |
33 | %prep | |
c4847e29 | 34 | %setup -q |
94836e12 MC |
35 | |
36 | %build | |
eb76d5b5 | 37 | %configure |
94836e12 MC |
38 | %{__make} |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
baabf148 | 46 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
eb76d5b5 | 47 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
0e1c8341 | 48 | |
d49afaee MB |
49 | %find_lang %{name} |
50 | ||
94836e12 MC |
51 | %clean |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
eb76d5b5 | 54 | %post |
8564202e | 55 | %update_icon_cache hicolor |
eb76d5b5 MB |
56 | |
57 | %postun | |
58 | %update_icon_cache hicolor | |
59 | ||
d49afaee | 60 | %files -f %{name}.lang |
94836e12 | 61 | %defattr(644,root,root,755) |
b2262bdd | 62 | %doc AUTHORS ChangeLog NEWS README |
baabf148 JR |
63 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpugraph.so |
64 | %{_datadir}/xfce4/panel/plugins/cpugraph.desktop | |
eb76d5b5 | 65 | %{_iconsdir}/hicolor/*/*/*.png |