summaryrefslogtreecommitdiffstats
path: root/packaging/FC4.tdepowersave.spec
blob: 1952e119582e4c0fb58cb8a61eb37edf05e14a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# spec file for package tdepowersave (Version 0.6.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.
#

# norootforbuild


Name:         tdepowersave
License:      GPL
Group:        System/GUI/KDE
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Summary:      KDE Frontend 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 /sbin/pidof /usr/X11R6/bin/xset
Source:       %{name}-%{version}.tar.bz2

%description
The package provides battery monitoring and suspend/standby triggers.
It is based on the powersave package and therefore supports APM and
ACPI. Together with the powersave package and the YaST Powermanagement
module it is the preferred package that should be used for battery
monitoring and control of power management related tasks. See powersave
package for additional features such as CPU frequency scaling(SpeedStep
and PowerNow) and more.



Authors:
--------
    Thomas Renninger (trenn@suse.de, mail@renninger.de)
    Danny Kukawka (dkukawka@suse.de, danny.kukawka@web.de)

%prep
%setup -n %{name}-%{version} -q

%build
make -f admin/Makefile.common cvs
./configure --prefix=/usr
  
make

%install
make DESTDIR=$RPM_BUILD_ROOT install 

%post

%postun

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING INSTALL
/usr/bin/tdepowersave
/usr/share/config/tdepowersaverc
/usr/share/autostart/tdepowersave-autostart.desktop
/usr/share/apps/tdepowersave
/usr/share/icons/??color
/usr/share/applications/tde/tdepowersave.desktop
/usr/share/doc/tde/HTML/*/tdepowersave
/usr/lib*/trinity/tdepowersave.*
/usr/lib*/libtdeinit_tdepowersave.*
/usr/share/locale/*

%changelog -n tdepowersave