]>
Commit | Line | Data |
---|---|---|
1b12d2b4 | 1 | Summary: A cpufreq plugin for the Xfce panel |
2ffb1cdd | 2 | Summary(pl.UTF-8): Wtyczka cpufreq dla panelu Xfce |
1b12d2b4 | 3 | Name: xfce4-cpufreq-plugin |
4350c4ac | 4 | Version: 1.2.8 |
ede3d0c3 | 5 | Release: 1 |
1b12d2b4 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
72e7e6e5 | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.2/%{name}-%{version}.tar.bz2 |
4350c4ac | 9 | # Source0-md5: c4c916aa85b0ba4583115ee3d54ed14c |
1b12d2b4 MB |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
2b26e2d1 | 13 | BuildRequires: gettext-tools |
1b12d2b4 MB |
14 | BuildRequires: intltool >= 0.35.5 |
15 | BuildRequires: libtool | |
4350c4ac KM |
16 | BuildRequires: libxfce4ui-devel >= 4.16.0 |
17 | BuildRequires: xfce4-panel-devel >= 4.16.0 | |
18 | BuildRequires: libxfce4util-devel >= 4.17.2 | |
19 | BuildRequires: rpmbuild(macros) >= 2.000 | |
20 | BuildRequires: xfce4-dev-tools >= 4.17.0 | |
92173592 MB |
21 | Requires: gtk-update-icon-cache |
22 | Requires: hicolor-icon-theme | |
4350c4ac | 23 | Requires: xfce4-panel >= 4.16.0 |
1b12d2b4 MB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | This plugin displays the current frequency of the CPU, in GHz or MHz | |
28 | as necessary. It also displays the frequency relative to the maximum | |
29 | CPU frequency as an accordingly colored progress bar. | |
30 | ||
2ffb1cdd JB |
31 | %description -l pl.UTF-8 |
32 | Ta wtyczka wyświetla aktualną częstotliwość procesora w GHz lub MHz. | |
33 | Wyświetla także częstotliwość względem maksymalnej częstotliwości | |
34 | procesora jako odpowiednio pokolorowany pasek. | |
35 | ||
1b12d2b4 | 36 | %prep |
92173592 | 37 | %setup -q |
1b12d2b4 MB |
38 | |
39 | %build | |
1b12d2b4 MB |
40 | %{__libtoolize} |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
92964864 | 54 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK} |
d404f086 | 55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la |
92173592 MB |
56 | |
57 | %find_lang %{name} | |
58 | ||
1b12d2b4 MB |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
92173592 | 68 | %files -f %{name}.lang |
1b12d2b4 | 69 | %defattr(644,root,root,755) |
ede3d0c3 | 70 | %doc AUTHORS ChangeLog NEWS README.md |
d404f086 JR |
71 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so* |
72 | %{_datadir}/xfce4/panel/plugins/cpufreq.desktop | |
92173592 | 73 | %{_iconsdir}/hicolor/*/*/*.png |