]>
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 |
92173592 | 4 | Version: 1.0.0 |
1babd3c4 | 5 | Release: 2 |
1b12d2b4 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
92173592 MB |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 24cae9b8583cae82b715b4f72aa8e341 | |
1babd3c4 | 10 | Patch0: %{name}-ui.patch |
1b12d2b4 MB |
11 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
92173592 | 14 | BuildRequires: gettext-devel |
1b12d2b4 MB |
15 | BuildRequires: intltool >= 0.35.5 |
16 | BuildRequires: libtool | |
1babd3c4 | 17 | BuildRequires: libxfce4ui-devel |
92173592 | 18 | BuildRequires: rpmbuild(macros) >= 1.601 |
1b12d2b4 MB |
19 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
20 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
92173592 MB |
21 | Requires: gtk-update-icon-cache |
22 | Requires: hicolor-icon-theme | |
1b12d2b4 MB |
23 | Requires: xfce4-panel >= 4.4.0 |
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 |
1babd3c4 | 38 | %patch0 -p1 |
1b12d2b4 MB |
39 | |
40 | %build | |
41 | %{__intltoolize} | |
42 | %{__libtoolize} | |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
92173592 MB |
56 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
57 | ||
58 | %find_lang %{name} | |
59 | ||
1b12d2b4 MB |
60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %postun | |
67 | %update_icon_cache hicolor | |
68 | ||
92173592 | 69 | %files -f %{name}.lang |
1b12d2b4 MB |
70 | %defattr(644,root,root,755) |
71 | %doc AUTHORS ChangeLog NEWS README | |
92173592 MB |
72 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-cpufreq-plugin |
73 | %{_datadir}/xfce4/panel-plugins/xfce4-cpufreq-plugin.desktop | |
74 | %{_iconsdir}/hicolor/*/*/*.png |