]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blob - xfce4-cpufreq-plugin.spec
- up to 1.2.8
[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.8
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:  c4c916aa85b0ba4583115ee3d54ed14c
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 >= 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
21 Requires:       gtk-update-icon-cache
22 Requires:       hicolor-icon-theme
23 Requires:       xfce4-panel >= 4.16.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
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
36 %prep
37 %setup -q
38
39 %build
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
54 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK}
55 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la
56
57 %find_lang %{name}
58
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
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README.md
71 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so*
72 %{_datadir}/xfce4/panel/plugins/cpufreq.desktop
73 %{_iconsdir}/hicolor/*/*/*.png
This page took 0.058284 seconds and 4 git commands to generate.