]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blame - xfce4-cpufreq-plugin.spec
- up to 1.2.7
[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
14e94529 4Version: 1.2.7
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
14e94529 9# Source0-md5: ea87da45feed6edb342f0e7ede77edbc
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
1babd3c4 16BuildRequires: libxfce4ui-devel
92173592 17BuildRequires: rpmbuild(macros) >= 1.601
72e7e6e5
JR
18BuildRequires: xfce4-dev-tools >= 4.14.0
19BuildRequires: xfce4-panel-devel >= 4.14.0
92173592
MB
20Requires: gtk-update-icon-cache
21Requires: hicolor-icon-theme
72e7e6e5 22Requires: xfce4-panel >= 4.14.0
1b12d2b4
MB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This plugin displays the current frequency of the CPU, in GHz or MHz
27as necessary. It also displays the frequency relative to the maximum
28CPU frequency as an accordingly colored progress bar.
29
2ffb1cdd
JB
30%description -l pl.UTF-8
31Ta wtyczka wyświetla aktualną częstotliwość procesora w GHz lub MHz.
32Wyświetla także częstotliwość względem maksymalnej częstotliwości
33procesora 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
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
92964864 53%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,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
59rm -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 68%defattr(644,root,root,755)
ede3d0c3 69%doc AUTHORS ChangeLog NEWS README.md
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
This page took 0.097108 seconds and 4 git commands to generate.