diff options
author | Darrell Anderson <[email protected]> | 2013-07-14 19:31:37 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2013-07-14 19:31:37 -0500 |
commit | 933e53832eeb45c6f660dcf46bed5dc68aaf24c2 (patch) | |
tree | 532a8a0d9b144be6e26b587904578cd3253a126f /packaging/openSUSE10.2.tdepowersave.spec | |
parent | e49bd16b78beb8f75a079916b6d4e8d2ce457c58 (diff) | |
download | tdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.tar.gz tdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.zip |
Update references from kpowersave to tdepowersave.
Diffstat (limited to 'packaging/openSUSE10.2.tdepowersave.spec')
-rw-r--r-- | packaging/openSUSE10.2.tdepowersave.spec | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/packaging/openSUSE10.2.tdepowersave.spec b/packaging/openSUSE10.2.tdepowersave.spec new file mode 100644 index 0000000..5a9dbdb --- /dev/null +++ b/packaging/openSUSE10.2.tdepowersave.spec @@ -0,0 +1,88 @@ +# +# spec file for package tdepowersave (Version 0.7.1) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 +%if 0%{?sles_version} > 0 +# needed to detect in configure if this is a Enterprise product and set the correct bugzilla website +BuildRequires: dbus-1-qt3-devel hal-devel tdelibs3-devel lsb sles-release +%else +BuildRequires: dbus-1-qt3-devel hal-devel tdelibs3-devel lsb openSUSE-release +%endif +License: GNU General Public License (GPL) +Group: System/GUI/KDE +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: KDE Front-End to powersave Package, Battery Monitor, and General Power Management Support +Version: 0.7.1 +Release: 5 +ExclusiveArch: %ix86 x86_64 ia64 ppc +Requires: yast2-power-management /sbin/pidof xorg-x11 +Source: %{name}-%{version}.tar.bz2 + +%description +The package provides battery monitoring and suspend and standby +triggers. It is based on the powersave package and therefore supports +APM and ACPI. Together with the powersave package and the YaST power +management module, it is the preferred package that should be used for +battery monitoring and control of power management related tasks. See +the powersave package for additional features, such as CPU frequency +scaling (SpeedStep and PowerNow). + + + +Authors: +-------- + Thomas Renninger ([email protected], [email protected]) + Danny Kukawka ([email protected], [email protected]) + +%prep +%setup -n %{name}-%{version} -q +. /etc/opt/trinity/common_options +update_admin + +%build +. /etc/opt/trinity/common_options +%if 0%{?sles_version} > 0 +./configure --enable-yast-entry --enable-suse-sles +%else +./configure --enable-yast-entry +%endif +make %{?jobs:-j %jobs} + +%install +. /etc/opt/trinity/common_options +make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET +%suse_update_desktop_file %name Utility TrayIcon +%find_lang %name + +%post +%{run_ldconfig} + +%postun +%{run_ldconfig} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %name.lang +%defattr(-,root,root) +%doc README AUTHORS ChangeLog COPYING INSTALL NEWS +/opt/trinity/share/doc/* +/opt/trinity/bin/* +/opt/trinity/share/config/tdepowersaverc +/opt/trinity/share/autostart/tdepowersave-autostart.desktop +/opt/trinity/share/apps/tdepowersave +/opt/trinity/share/icons/??color +/opt/trinity/share/applications/tde/tdepowersave.desktop +/opt/trinity/lib*/trinity/tdepowersave.* +/opt/trinity/lib*/libtdeinit_tdepowersave.* + +%changelog -n tdepowersave |