]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blame - xfce4-cpufreq-plugin.spec
- up to 1.2.8
[packages/xfce4-cpufreq-plugin.git] / xfce4-cpufreq-plugin.spec
CommitLineData
1b12d2b4 1Summary: A cpufreq plugin for the Xfce panel
2ffb1cdd 2Summary(pl.UTF-8): Wtyczka cpufreq dla panelu Xfce
1b12d2b4 3Name: xfce4-cpufreq-plugin
4350c4ac 4Version: 1.2.8
ede3d0c3 5Release: 1
1b12d2b4
MB
6License: GPL v2
7Group: X11/Applications
72e7e6e5 8Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.2/%{name}-%{version}.tar.bz2
4350c4ac 9# Source0-md5: c4c916aa85b0ba4583115ee3d54ed14c
1b12d2b4
MB
10URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
11BuildRequires: autoconf
12BuildRequires: automake
2b26e2d1 13BuildRequires: gettext-tools
1b12d2b4
MB
14BuildRequires: intltool >= 0.35.5
15BuildRequires: libtool
4350c4ac
KM
16BuildRequires: libxfce4ui-devel >= 4.16.0
17BuildRequires: xfce4-panel-devel >= 4.16.0
18BuildRequires: libxfce4util-devel >= 4.17.2
19BuildRequires: rpmbuild(macros) >= 2.000
20BuildRequires: xfce4-dev-tools >= 4.17.0
92173592
MB
21Requires: gtk-update-icon-cache
22Requires: hicolor-icon-theme
4350c4ac 23Requires: xfce4-panel >= 4.16.0
1b12d2b4
MB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This plugin displays the current frequency of the CPU, in GHz or MHz
28as necessary. It also displays the frequency relative to the maximum
29CPU frequency as an accordingly colored progress bar.
30
2ffb1cdd
JB
31%description -l pl.UTF-8
32Ta wtyczka wyświetla aktualną częstotliwość procesora w GHz lub MHz.
33Wyświetla także częstotliwość względem maksymalnej częstotliwości
34procesora jako odpowiednio pokolorowany pasek.
35
1b12d2b4 36%prep
92173592 37%setup -q
1b12d2b4
MB
38
39%build
1b12d2b4
MB
40%{__libtoolize}
41%{__aclocal}
42%{__autoconf}
43%{__autoheader}
44%{__automake}
45%configure
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
92964864 54%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK}
d404f086 55%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libcpufreq.la
92173592
MB
56
57%find_lang %{name}
58
1b12d2b4
MB
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post
63%update_icon_cache hicolor
64
65%postun
66%update_icon_cache hicolor
67
92173592 68%files -f %{name}.lang
1b12d2b4 69%defattr(644,root,root,755)
ede3d0c3 70%doc AUTHORS ChangeLog NEWS README.md
d404f086
JR
71%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpufreq.so*
72%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
92173592 73%{_iconsdir}/hicolor/*/*/*.png
This page took 0.09588 seconds and 4 git commands to generate.