]>
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 |
d404f086 | 4 | Version: 1.1.0 |
6fb4d503 | 5 | Release: 2 |
1b12d2b4 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
d404f086 JR |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.1/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: dcc56af0e19266956c297d124ba551f4 | |
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 | |
1babd3c4 | 16 | BuildRequires: libxfce4ui-devel |
92173592 | 17 | BuildRequires: rpmbuild(macros) >= 1.601 |
1b12d2b4 MB |
18 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
19 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
92173592 MB |
20 | Requires: gtk-update-icon-cache |
21 | Requires: hicolor-icon-theme | |
1b12d2b4 MB |
22 | Requires: xfce4-panel >= 4.4.0 |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
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. | |
29 | ||
2ffb1cdd JB |
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. | |
34 | ||
1b12d2b4 | 35 | %prep |
92173592 | 36 | %setup -q |
1b12d2b4 MB |
37 | |
38 | %build | |
1b12d2b4 MB |
39 | %{__libtoolize} |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %configure | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
92173592 | 53 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
d404f086 | 54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la |
92173592 MB |
55 | |
56 | %find_lang %{name} | |
57 | ||
1b12d2b4 MB |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_icon_cache hicolor | |
66 | ||
92173592 | 67 | %files -f %{name}.lang |
1b12d2b4 MB |
68 | %defattr(644,root,root,755) |
69 | %doc AUTHORS ChangeLog NEWS README | |
d404f086 JR |
70 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so* |
71 | %{_datadir}/xfce4/panel/plugins/cpufreq.desktop | |
92173592 | 72 | %{_iconsdir}/hicolor/*/*/*.png |