1 Summary: A cpufreq plugin for the Xfce panel
2 Summary(pl.UTF-8): Wtyczka cpufreq dla panelu Xfce
3 Name: xfce4-cpufreq-plugin
7 Group: X11/Applications
8 Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5: ea87da45feed6edb342f0e7ede77edbc
10 URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: gettext-tools
14 BuildRequires: intltool >= 0.35.5
15 BuildRequires: libtool
16 BuildRequires: libxfce4ui-devel
17 BuildRequires: rpmbuild(macros) >= 1.601
18 BuildRequires: xfce4-dev-tools >= 4.14.0
19 BuildRequires: xfce4-panel-devel >= 4.14.0
20 Requires: gtk-update-icon-cache
21 Requires: hicolor-icon-theme
22 Requires: xfce4-panel >= 4.14.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This plugin displays the current frequency of the CPU, in GHz or MHz
27 as necessary. It also displays the frequency relative to the maximum
28 CPU frequency as an accordingly colored progress bar.
30 %description -l pl.UTF-8
31 Ta wtyczka wyświetla aktualną częstotliwość procesora w GHz lub MHz.
32 Wyświetla także częstotliwość względem maksymalnej częstotliwości
33 procesora jako odpowiednio pokolorowany pasek.
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
53 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK}
54 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la
59 rm -rf $RPM_BUILD_ROOT
62 %update_icon_cache hicolor
65 %update_icon_cache hicolor
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README.md
70 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so*
71 %{_datadir}/xfce4/panel/plugins/cpufreq.desktop
72 %{_iconsdir}/hicolor/*/*/*.png