You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.5 KiB
83 lines
2.5 KiB
15 years ago
|
#
|
||
12 years ago
|
# spec file for package tdepowersave (Version 0.6.2)
|
||
15 years ago
|
#
|
||
|
# 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
|
||
13 years ago
|
# neededforbuild dbus-1 dbus-1-devel dbus-1-qt3 hal hal-devel trinity-devel-packages tdelibs3 lsb pkgconfig powersave powersave-devel powersave-libs suse-release
|
||
15 years ago
|
|
||
12 years ago
|
Name: tdepowersave
|
||
13 years ago
|
BuildRequires: dbus-1-qt3-devel hal-devel tdelibs3-devel powersave-devel lsb suse-release
|
||
15 years ago
|
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.6.2
|
||
|
Release: 1
|
||
|
ExclusiveArch: %ix86 x86_64 ia64 ppc
|
||
|
Requires: powersave >= 0.12.18 powersave-libs >= 0.12.18 yast2-power-management /sbin/pidof /usr/X11R6/bin/xset
|
||
|
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 (trenn@suse.de, mail@renninger.de)
|
||
|
Danny Kukawka (dkukawka@suse.de, danny.kukawka@web.de)
|
||
|
|
||
|
%prep
|
||
|
%setup -n %{name}-%{version} -q
|
||
13 years ago
|
. /etc/opt/trinity/common_options
|
||
15 years ago
|
update_admin
|
||
|
|
||
|
%build
|
||
13 years ago
|
. /etc/opt/trinity/common_options
|
||
15 years ago
|
./configure --enable-yast-entry
|
||
|
|
||
|
make
|
||
|
|
||
|
%install
|
||
13 years ago
|
. /etc/opt/trinity/common_options
|
||
15 years ago
|
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
|
||
13 years ago
|
/opt/trinity/share/doc/*
|
||
|
/opt/trinity/bin/*
|
||
12 years ago
|
/opt/trinity/share/config/tdepowersaverc
|
||
|
/opt/trinity/share/autostart/tdepowersave-autostart.desktop
|
||
|
/opt/trinity/share/apps/tdepowersave
|
||
13 years ago
|
/opt/trinity/share/icons/??color
|
||
12 years ago
|
/opt/trinity/share/applications/tde/tdepowersave.desktop
|
||
|
/opt/trinity/lib*/trinity/tdepowersave.*
|
||
|
/opt/trinity/lib*/libtdeinit_tdepowersave.*
|
||
15 years ago
|
|
||
12 years ago
|
%changelog -n tdepowersave
|
||
15 years ago
|
|