summaryrefslogtreecommitdiffstats
path: root/packaging/FC6.tdepowersave.spec
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-07-14 19:31:37 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-07-14 19:31:37 -0500
commit933e53832eeb45c6f660dcf46bed5dc68aaf24c2 (patch)
tree532a8a0d9b144be6e26b587904578cd3253a126f /packaging/FC6.tdepowersave.spec
parente49bd16b78beb8f75a079916b6d4e8d2ce457c58 (diff)
downloadtdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.tar.gz
tdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.zip
Update references from kpowersave to tdepowersave.
Diffstat (limited to 'packaging/FC6.tdepowersave.spec')
-rw-r--r--packaging/FC6.tdepowersave.spec100
1 files changed, 100 insertions, 0 deletions
diff --git a/packaging/FC6.tdepowersave.spec b/packaging/FC6.tdepowersave.spec
new file mode 100644
index 0000000..1b1ab3e
--- /dev/null
+++ b/packaging/FC6.tdepowersave.spec
@@ -0,0 +1,100 @@
+#
+# spec file for package tdepowersave (Version 0.7.2)
+#
+# Copyright (c) hmacht@suse.de, danny.kukawka@web.de
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org
+#
+
+# norootforbuild
+
+
+Name: tdepowersave
+License: GPL
+Group: System/GUI/KDE
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Summary: KDE Frontend for Power Management, Battery Monitoring and Suspend
+Version: 0.7.2
+Release: 2.FC6%{?dist}
+ExclusiveArch: %ix86 x86_64 ia64 ppc
+Requires: hal >= 0.5.8.1 dbus-qt /sbin/pidof /usr/bin/xset
+Source: %{name}-%{version}.tar.bz2
+
+BuildRequires: tdelibs-devel
+BuildRequires: gettext
+BuildRequires: dbus-qt-devel
+BuildRequires: automake
+BuildRequires: libXext-devel libXScrnSaver-devel libXtst-devel
+BuildRequires: hal-devel desktop-file-utils
+
+%description
+TDEPowersave provides battery monitoring, CPU frequency control and suspend/standby
+triggers and more power management features for KDE. It uses HAL (formerly the
+powersave daemon) and supports APM and ACPI for several architectures.
+
+
+Authors:
+--------
+ Danny Kukawka (dkukawka@suse.de, danny.kukawka@web.de)
+ Thomas Renninger (trenn@suse.de, mail@renninger.de)
+
+%prep
+%setup -n %{name}-%{version} -q
+make -f admin/Makefile.common cvs
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt.sh
+
+%configure \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking
+
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+desktop-file-install \
+--dir $RPM_BUILD_ROOT%{_datadir}/applications/tde \
+--vendor="" \
+$RPM_BUILD_ROOT%{_datadir}/applications/tde/tdepowersave.desktop
+
+## File lists
+# locale's
+%find_lang %{name} || touch %{name}.lang
+# HTML
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
+for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) %doc $HTML_DIR/$lang/*" >> %{name}.lang
+done
+fi
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README AUTHORS ChangeLog COPYING INSTALL
+%{_bindir}/tdepowersave
+%{_libdir}/trinity/tdepowersave.*
+%{_libdir}/libtdeinit_tdepowersave.*
+%{_datadir}/applications/tde/*tdepowersave.desktop
+%{_datadir}/apps/tdepowersave/
+%{_datadir}/autostart/tdepowersave-autostart.desktop
+%{_datadir}/config/tdepowersaverc
+%{_datadir}/icons/hicolor/*/*/*
+
+%changelog -n tdepowersave