]>
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 |
f3d9b1a8 | 4 | Version: 1.2.4 |
6fd9309b | 5 | Release: 1 |
c4847e29 | 6 | License: BSD |
94836e12 | 7 | Group: X11/Applications |
35c6dd95 | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/1.2/%{name}-%{version}.tar.bz2 |
f3d9b1a8 | 9 | # Source0-md5: 6014c4dca8b055972bcc43ddac41cc9b |
c4847e29 | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin |
e5ab6ede | 11 | BuildRequires: gettext-tools |
35c6dd95 | 12 | BuildRequires: gtk+3-devel >= 3.22 |
4ff9a950 | 13 | BuildRequires: libxfce4ui-devel |
94836e12 | 14 | BuildRequires: pkgconfig |
eb76d5b5 | 15 | BuildRequires: rpmbuild(macros) >= 1.601 |
6fd9309b JR |
16 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
17 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
eb76d5b5 MB |
18 | Requires: gtk-update-icon-cache |
19 | Requires: hicolor-icon-theme | |
6fd9309b | 20 | Requires: xfce4-panel >= 4.14.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 | |
94836e12 MC |
42 | %{__make} install \ |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
86bd09b9 JR |
45 | # for dependency generator |
46 | chmod 755 $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so | |
47 | ||
baabf148 | 48 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
35c6dd95 | 49 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK} |
0e1c8341 | 50 | |
d49afaee MB |
51 | %find_lang %{name} |
52 | ||
94836e12 MC |
53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
eb76d5b5 | 56 | %post |
8564202e | 57 | %update_icon_cache hicolor |
eb76d5b5 MB |
58 | |
59 | %postun | |
60 | %update_icon_cache hicolor | |
61 | ||
d49afaee | 62 | %files -f %{name}.lang |
94836e12 | 63 | %defattr(644,root,root,755) |
f3d9b1a8 | 64 | %doc AUTHORS ChangeLog NEWS README.md |
baabf148 JR |
65 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpugraph.so |
66 | %{_datadir}/xfce4/panel/plugins/cpugraph.desktop | |
eb76d5b5 | 67 | %{_iconsdir}/hicolor/*/*/*.png |
f3d9b1a8 | 68 | %{_iconsdir}/hicolor/scalable/*/*.svg |