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