]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blob - xfce4-cpufreq-plugin.spec
f64ba228b6dd3444db94357b89862b78c608f627
[packages/xfce4-cpufreq-plugin.git] / xfce4-cpufreq-plugin.spec
1 Summary:        A cpufreq plugin for the Xfce panel
2 Summary(pl.UTF-8):      Wtyczka cpufreq dla panelu Xfce
3 Name:           xfce4-cpufreq-plugin
4 Version:        1.2.1
5 Release:        1
6 License:        GPL v2
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:  ccd8f0f7aef51bc4caf1049986d9614f
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)
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
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
35 %prep
36 %setup -q
37
38 %build
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
53 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
54 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la
55
56 %find_lang %{name}
57
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
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README
70 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so*
71 %{_datadir}/xfce4/panel/plugins/cpufreq.desktop
72 %{_iconsdir}/hicolor/*/*/*.png
This page took 0.429552 seconds and 3 git commands to generate.