[xfce4-cpufreq-plugin/f15/master] Initial import

Hicham HAOUARI hicham at fedoraproject.org
Mon Mar 21 23:20:20 UTC 2011


commit 8860c7925e9cdca758fc6f8d42ee3ca8f4b4338e
Author: Hicham HAOUARI <hicham.haouari at gmail.com>
Date:   Mon Mar 21 23:19:31 2011 +0000

    Initial import

 .gitignore                |    1 +
 sources                   |    1 +
 xfce4-cpufreq-plugin.spec |   60 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ec22b88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xfce4-cpufreq-plugin-1.0.0.tar.bz2
diff --git a/sources b/sources
index e69de29..7e1cfe2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+24cae9b8583cae82b715b4f72aa8e341  xfce4-cpufreq-plugin-1.0.0.tar.bz2
diff --git a/xfce4-cpufreq-plugin.spec b/xfce4-cpufreq-plugin.spec
new file mode 100644
index 0000000..cd45d8a
--- /dev/null
+++ b/xfce4-cpufreq-plugin.spec
@@ -0,0 +1,60 @@
+%global minorversion 1.0
+Name:           xfce4-cpufreq-plugin
+Version:        1.0.0 
+Release:        1%{?dist}
+Summary:        CPU frequency scaling plugin for the Xfce4 panel 
+
+Group:          User Interface/Desktops
+License:        GPLv2+
+URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
+Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
+BuildRequires:  libxfcegui4-devel >= 4.3.90
+BuildRequires:  xfce4-panel-devel >= 4.3.90
+BuildRequires:  intltool 
+Requires:       xfce4-panel >= 4.3.90
+
+%description
+The CpuFreq Plugin shows in the Xfce Panel the following information:
+    current CPU frequency
+    current used governor
+
+In a separate dialog it provides you following information:
+    all available CPU frequencies
+    all available governors
+    used driver for the CPU
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+%find_lang %{name}
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_libexecdir}/xfce4/panel-plugins/%{name}
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/xfce4/panel-plugins/%{name}.desktop
+
+%changelog
+* Wed Mar 16 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1.0.0-1
+- Initial Fedora package


More information about the scm-commits mailing list