]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blame - xfce4-cpufreq-plugin.spec
- rel 2
[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
92173592 4Version: 1.0.0
1babd3c4 5Release: 2
1b12d2b4
MB
6License: GPL v2
7Group: X11/Applications
92173592
MB
8Source0: http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.0/%{name}-%{version}.tar.bz2
9# Source0-md5: 24cae9b8583cae82b715b4f72aa8e341
1babd3c4 10Patch0: %{name}-ui.patch
1b12d2b4
MB
11URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
12BuildRequires: autoconf
13BuildRequires: automake
92173592 14BuildRequires: gettext-devel
1b12d2b4
MB
15BuildRequires: intltool >= 0.35.5
16BuildRequires: libtool
1babd3c4 17BuildRequires: libxfce4ui-devel
92173592 18BuildRequires: rpmbuild(macros) >= 1.601
1b12d2b4
MB
19BuildRequires: xfce4-dev-tools >= 4.4.0
20BuildRequires: xfce4-panel-devel >= 4.4.0
92173592
MB
21Requires: gtk-update-icon-cache
22Requires: hicolor-icon-theme
1b12d2b4
MB
23Requires: xfce4-panel >= 4.4.0
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
1babd3c4 38%patch0 -p1
1b12d2b4
MB
39
40%build
41%{__intltoolize}
42%{__libtoolize}
43%{__aclocal}
44%{__autoconf}
45%{__autoheader}
46%{__automake}
47%configure
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
92173592
MB
56%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
57
58%find_lang %{name}
59
1b12d2b4
MB
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post
64%update_icon_cache hicolor
65
66%postun
67%update_icon_cache hicolor
68
92173592 69%files -f %{name}.lang
1b12d2b4
MB
70%defattr(644,root,root,755)
71%doc AUTHORS ChangeLog NEWS README
92173592
MB
72%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-cpufreq-plugin
73%{_datadir}/xfce4/panel-plugins/xfce4-cpufreq-plugin.desktop
74%{_iconsdir}/hicolor/*/*/*.png
This page took 0.050147 seconds and 4 git commands to generate.