Compare commits
119 Commits
@ -1,6 +1,3 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = http://scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = http://scm.trinitydesktop.org/scm/git/tde-common-cmake
|
||||
url = https://scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
|
@ -0,0 +1,22 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2018 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
include( TDEL10n )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
@ -1 +1 @@
|
||||
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
|
||||
Subproject commit a9e0c7eb508ebea59f1fc26d4a6858c4b6feea3e
|
@ -1 +0,0 @@
|
||||
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
|
@ -0,0 +1,7 @@
|
||||
add_subdirectory( cs )
|
||||
add_subdirectory( de )
|
||||
add_subdirectory( en )
|
||||
add_subdirectory( fi )
|
||||
add_subdirectory( hu )
|
||||
add_subdirectory( nb )
|
||||
add_subdirectory( man )
|
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG cs DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG de DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG en DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG fi DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG hu DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 58 KiB |
@ -0,0 +1,5 @@
|
||||
INSTALL(
|
||||
FILES ${PROJECT_NAME}.1
|
||||
DESTINATION ${MAN_INSTALL_DIR}/man1
|
||||
COMPONENT doc
|
||||
)
|
@ -0,0 +1,148 @@
|
||||
.\" This file was generated by kdemangen.pl
|
||||
.TH KPOWERSAVE 1 "Sep 2005" "Trinity Desktop Environment" "A TDE KPart Application"
|
||||
.SH NAME
|
||||
kpowersave
|
||||
\- A TDE KPart Application
|
||||
.SH SYNOPSIS
|
||||
kpowersave [Qt\-options] [TDE\-options]
|
||||
.SH DESCRIPTION
|
||||
A TDE KPart Application
|
||||
.SH OPTIONS
|
||||
.SS Generic options:
|
||||
.TP
|
||||
.B \-\-help
|
||||
Show help about options
|
||||
.TP
|
||||
.B \-\-help\-qt
|
||||
Show Qt specific options
|
||||
.TP
|
||||
.B \-\-help\-tde
|
||||
Show TDE specific options
|
||||
.TP
|
||||
.B \-\-help\-all
|
||||
Show all options
|
||||
.TP
|
||||
.B \-\-author
|
||||
Show author information
|
||||
.TP
|
||||
.B \-v, \-\-version
|
||||
Show version information
|
||||
.TP
|
||||
.B \-\-license
|
||||
Show license information
|
||||
.TP
|
||||
.B \-\-
|
||||
End of options
|
||||
.SS
|
||||
.SS TDE options:
|
||||
.TP
|
||||
.B \-\-caption <caption>
|
||||
Use 'caption' as name in the titlebar
|
||||
.TP
|
||||
.B \-\-icon <icon>
|
||||
Use 'icon' as the application icon
|
||||
.TP
|
||||
.B \-\-miniicon <icon>
|
||||
Use 'icon' as the icon in the titlebar
|
||||
.TP
|
||||
.B \-\-config <filename>
|
||||
Use alternative configuration file
|
||||
.TP
|
||||
.B \-\-dcopserver <server>
|
||||
Use the DCOP Server specified by 'server'
|
||||
.TP
|
||||
.B \-\-nocrashhandler
|
||||
Disable crash handler, to get core dumps
|
||||
.TP
|
||||
.B \-\-waitforwm
|
||||
Waits for a WM_NET compatible windowmanager
|
||||
.TP
|
||||
.B \-\-style <style>
|
||||
sets the application GUI style
|
||||
.TP
|
||||
.B \-\-geometry <geometry>
|
||||
sets the client geometry of the main widget - see man X for the argument format
|
||||
.TP
|
||||
.B \-\-nofork
|
||||
Don't run in the background.
|
||||
.SS Qt options:
|
||||
.TP
|
||||
.B \-\-display <displayname>
|
||||
Use the X-server display 'displayname'
|
||||
.TP
|
||||
.B \-\-session <sessionId>
|
||||
Restore the application for the given 'sessionId'
|
||||
.TP
|
||||
.B \-\-cmap
|
||||
Causes the application to install a private color
|
||||
map on an 8-bit display
|
||||
.TP
|
||||
.B \-\-ncols <count>
|
||||
Limits the number of colors allocated in the color
|
||||
cube on an 8-bit display, if the application is
|
||||
using the QApplication::ManyColor color
|
||||
specification
|
||||
.TP
|
||||
.B \-\-nograb
|
||||
tells Qt to never grab the mouse or the keyboard
|
||||
.TP
|
||||
.B \-\-dograb
|
||||
running under a debugger can cause an implicit
|
||||
-nograb, use -dograb to override
|
||||
.TP
|
||||
.B \-\-sync
|
||||
switches to synchronous mode for debugging
|
||||
.TP
|
||||
.B \-\-fn, \-\-font <fontname>
|
||||
defines the application font
|
||||
.TP
|
||||
.B \-\-bg, \-\-background <color>
|
||||
sets the default background color and an
|
||||
application palette (light and dark shades are
|
||||
calculated)
|
||||
.TP
|
||||
.B \-\-fg, \-\-foreground <color>
|
||||
sets the default foreground color
|
||||
.TP
|
||||
.B \-\-btn, \-\-button <color>
|
||||
sets the default button color
|
||||
.TP
|
||||
.B \-\-name <name>
|
||||
sets the application name
|
||||
.TP
|
||||
.B \-\-title <title>
|
||||
sets the application title (caption)
|
||||
.TP
|
||||
.B \-\-visual TrueColor
|
||||
forces the application to use a TrueColor visual on
|
||||
an 8-bit display
|
||||
.TP
|
||||
.B \-\-inputstyle <inputstyle>
|
||||
sets XIM (X Input Method) input style. Possible
|
||||
values are onthespot, overthespot, offthespot and
|
||||
root
|
||||
.TP
|
||||
.B \-\-im <XIM server>
|
||||
set XIM server
|
||||
.TP
|
||||
.B \-\-noxim
|
||||
disable XIM
|
||||
.TP
|
||||
.B \-\-reverse
|
||||
mirrors the whole layout of widgets
|
||||
.SS
|
||||
|
||||
.SH SEE ALSO
|
||||
Full user documentation is available through the TDE Help Center. You can also enter the URL
|
||||
.BR help:/kpowersave/
|
||||
directly into konqueror or you can run
|
||||
.BR "`khelpcenter help:/kpowersave/'"
|
||||
from the command-line.
|
||||
.br
|
||||
.SH AUTHORS
|
||||
.nf
|
||||
Danny Kukawka <dkukawka@suse.de>
|
||||
.br
|
||||
Thomas Renninger <trenn@suse.de>
|
||||
.br
|
||||
|
@ -0,0 +1 @@
|
||||
tde_create_handbook( LANG nb DESTINATION ${PROJECT_NAME} )
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 55 KiB |
@ -1,72 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (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: kpowersave
|
||||
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/kpowersave
|
||||
/usr/share/config/kpowersaverc
|
||||
/usr/share/autostart/kpowersave-autostart.desktop
|
||||
/usr/share/apps/kpowersave
|
||||
/usr/share/icons/??color
|
||||
/usr/share/applications/tde/kpowersave.desktop
|
||||
/usr/share/doc/tde/HTML/*/kpowersave
|
||||
/usr/lib*/trinity/kpowersave.*
|
||||
/usr/lib*/libtdeinit_kpowersave.*
|
||||
/usr/share/locale/*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,74 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: kpowersave
|
||||
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/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/kpowersave
|
||||
/usr/share/config/kpowersaverc
|
||||
/usr/share/autostart/kpowersave-autostart.desktop
|
||||
/usr/share/apps/kpowersave
|
||||
/usr/share/icons/??color
|
||||
/usr/share/applications/tde/kpowersave.desktop
|
||||
/usr/share/doc/tde/HTML/*/kpowersave
|
||||
/usr/lib*/trinity/kpowersave.*
|
||||
/usr/lib*/libtdeinit_kpowersave.*
|
||||
/usr/share/locale/*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,100 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (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: kpowersave
|
||||
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
|
||||
KPowersave 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/kpowersave.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}/kpowersave
|
||||
%{_libdir}/trinity/kpowersave.*
|
||||
%{_libdir}/libtdeinit_kpowersave.*
|
||||
%{_datadir}/applications/tde/*kpowersave.desktop
|
||||
%{_datadir}/apps/kpowersave/
|
||||
%{_datadir}/autostart/kpowersave-autostart.desktop
|
||||
%{_datadir}/config/kpowersaverc
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,82 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (Version 0.6.2)
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
||||
Name: kpowersave
|
||||
BuildRequires: dbus-1-qt3-devel hal-devel tdelibs3-devel powersave-devel lsb suse-release
|
||||
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
|
||||
. /etc/opt/trinity/common_options
|
||||
update_admin
|
||||
|
||||
%build
|
||||
. /etc/opt/trinity/common_options
|
||||
./configure --enable-yast-entry
|
||||
|
||||
make
|
||||
|
||||
%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/kpowersaverc
|
||||
/opt/trinity/share/autostart/kpowersave-autostart.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog -n kpowersave
|
||||
|
@ -1,81 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (Version 0.6.2)
|
||||
#
|
||||
# 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: kpowersave
|
||||
BuildRequires: dbus-1-qt3-devel hal-devel tdelibs3-devel powersave-devel lsb suse-release
|
||||
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
|
||||
. /etc/opt/trinity/common_options
|
||||
update_admin
|
||||
|
||||
%build
|
||||
. /etc/opt/trinity/common_options
|
||||
./configure --enable-yast-entry
|
||||
|
||||
make
|
||||
|
||||
%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/kpowersaverc
|
||||
/opt/trinity/share/autostart/kpowersave-autostart.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog -n kpowersave
|
||||
|
@ -1,78 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (Version 0.3.9)
|
||||
#
|
||||
# Copyright (c) 2004 SUSE LINUX AG, 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://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# neededforbuild trinity-devel-packages tdelibs3 powersave
|
||||
|
||||
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel arts arts-devel autoconf automake binutils expat fam fam-devel fontconfig fontconfig-devel freeglut freeglut-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib2 glib2-devel gnome-filesystem jack jack-devel tdelibs3 tdelibs3-devel tdelibs3-doc libart_lgpl libart_lgpl-devel libidn libidn-devel libjpeg libjpeg-devel liblcms liblcms-devel libmng libmng-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libtool libxml2 libxml2-devel libxslt libxslt-devel openssl-devel pcre pcre-devel perl powersave qt3 qt3-devel rpm update-desktop-files xorg-x11-Mesa xorg-x11-Mesa-devel xorg-x11-devel xorg-x11-libs
|
||||
|
||||
Name: kpowersave
|
||||
License: LGPL
|
||||
Group: System/GUI/KDE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: KDE Frontend to powersave Package, Battery Monitor and General Power Management Support
|
||||
Version: 0.3.8
|
||||
Release: 2
|
||||
Requires: powersave >= 0.8.14 yast2-power-management
|
||||
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
|
||||
. /etc/opt/trinity/common_options
|
||||
update_admin
|
||||
|
||||
%build
|
||||
. /etc/opt/trinity/common_options
|
||||
./configure $configkde
|
||||
|
||||
make
|
||||
|
||||
%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)
|
||||
/opt/trinity/bin/*
|
||||
/opt/trinity/share/autostart/kpowersave.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,82 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (Version 0.4.6)
|
||||
#
|
||||
# Copyright (c) 2005 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://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# neededforbuild trinity-devel-packages tdelibs3 powersave resmgr suse-release
|
||||
|
||||
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel arts arts-devel autoconf automake binutils expat fam fam-devel fontconfig fontconfig-devel freeglut freeglut-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib2 glib2-devel gnome-filesystem jack jack-devel tdelibs3 tdelibs3-devel tdelibs3-doc libart_lgpl libart_lgpl-devel libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libidn libidn-devel libjpeg libjpeg-devel liblcms liblcms-devel libmng libmng-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libtool libxml2 libxml2-devel libxslt libxslt-devel openssl-devel pcre pcre-devel perl powersave python qt3 qt3-devel resmgr rpm suse-release unsermake update-desktop-files xorg-x11-Mesa xorg-x11-Mesa-devel xorg-x11-devel xorg-x11-libs
|
||||
|
||||
Name: kpowersave
|
||||
License: LGPL
|
||||
Group: System/GUI/KDE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: KDE Frontend to powersave Package, Battery Monitor and General Power Management Support
|
||||
Version: 0.4.6
|
||||
Release: 1
|
||||
ExclusiveArch: %ix86 x86_64 ia64 ppc
|
||||
Requires: powersave >= 0.9.25 yast2-power-management /sbin/pidof
|
||||
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
|
||||
. /etc/opt/trinity/common_options
|
||||
update_admin
|
||||
|
||||
%build
|
||||
. /etc/opt/trinity/common_options
|
||||
./configure
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
. /etc/opt/trinity/common_options
|
||||
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
|
||||
rm $RPM_BUILD_ROOT/opt/trinity/share/doc/ -r
|
||||
%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
|
||||
/opt/trinity/bin/*
|
||||
/opt/trinity/share/config/kpowersaverc
|
||||
/opt/trinity/share/autostart/kpowersave.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,74 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: kpowersave
|
||||
License: GPL
|
||||
Group: System/GUI/KDE
|
||||
BuildRequires: powersave-libs powersave-devel libhal1 libhal1-devel libdbus-qt-1_0-devel libdbus-qt-1_0 libtdecore4-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: KDE Frontend to powersave Package, Battery Monitor and General Power Management Support
|
||||
Version: 0.6.2
|
||||
Release: %mkrel 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/kpowersave
|
||||
/usr/share/config/kpowersaverc
|
||||
/usr/share/autostart/kpowersave-autostart.desktop
|
||||
/usr/share/apps/kpowersave
|
||||
/usr/share/icons/??color
|
||||
/usr/share/applications/tde/kpowersave.desktop
|
||||
/usr/share/doc/tde/HTML/*/kpowersave
|
||||
/usr/lib*/trinity/kpowersave.*
|
||||
/usr/lib*/libtdeinit_kpowersave.*
|
||||
/usr/share/locale/*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,98 +0,0 @@
|
||||
%define name kpowersave
|
||||
%define version 0.7.2
|
||||
%define release %mkrel 1
|
||||
|
||||
Summary: KDE power management applet
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Source0: http://prdownloads.sourceforge.net/powersave/%{name}-%{version}.tar.bz2
|
||||
|
||||
License: GPL
|
||||
Group: Graphical desktop/KDE
|
||||
Url: http://powersave.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildRequires: hal-devel, libdbus-qt-1-devel, tdelibs-devel
|
||||
%ifarch x86_64
|
||||
BuildRequires: lib64qt3-devel, lib64qt3-static-devel lib64gamin-1_0-devel lib64art_lgpl2-devel lib64tdecore4-devel
|
||||
%else
|
||||
BuildRequires: libqt3-devel libqt3-static-devel libgamin-1_0-devel libart_lgpl2-devel libtdecore4-devel
|
||||
%endif
|
||||
BuildRequires: autoconf2.5 automake1.8
|
||||
%if %mdkversion > 200600
|
||||
BuildRequires: libxscrnsaver-devel libxtst-devel
|
||||
%endif
|
||||
Requires: hal >= 0.5.8.1 /sbin/pidof /usr/bin/xset
|
||||
%ifarch x86_64
|
||||
Requires: lib64dbus-qt-1_1
|
||||
%else
|
||||
Requires: libdbus-qt-1_1
|
||||
%endif
|
||||
%description
|
||||
KPowersave 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 -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%make -f admin/Makefile.common cvs
|
||||
%configure --disable-rpath
|
||||
%make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%makeinstall_std
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_menudir}
|
||||
kdedesktop2mdkmenu.pl %{name} "System/Monitoring" $RPM_BUILD_ROOT%{_datadir}/applications/tde/kpowersave.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}
|
||||
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{name}.png %{buildroot}%{_iconsdir}/%{name}.png
|
||||
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png %{buildroot}%{_liconsdir}/%{name}.png
|
||||
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png %{buildroot}%{_miconsdir}/%{name}.png
|
||||
|
||||
%post
|
||||
%{update_menus}
|
||||
%if %mdkversion > 200600
|
||||
%update_icon_cache hicolor
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%{clean_menus}
|
||||
%if %mdkversion > 200600
|
||||
%clean_icon_cache hicolor
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS ChangeLog COPYING INSTALL
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/config/kpowersaverc
|
||||
%{_datadir}/autostart/kpowersave-autostart.desktop
|
||||
%{_datadir}/apps/%{name}
|
||||
%{_iconsdir}/hicolor/*/apps/*.png
|
||||
%{_datadir}/icons/*.png
|
||||
%{_datadir}/applications/tde/kpowersave.desktop
|
||||
%doc %{_docdir}/HTML/*/kpowersave
|
||||
%{_libdir}/trinity/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%{_miconsdir}/%{name}.png
|
||||
%{_iconsdir}/%{name}.png
|
||||
%{_liconsdir}/%{name}.png
|
||||
%{_menudir}/%{name}
|
||||
|
||||
%changelog
|
@ -1,88 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (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: kpowersave
|
||||
%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 (trenn@suse.de, mail@renninger.de)
|
||||
Danny Kukawka (dkukawka@suse.de, danny.kukawka@web.de)
|
||||
|
||||
%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/kpowersaverc
|
||||
/opt/trinity/share/autostart/kpowersave-autostart.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog -n kpowersave
|
@ -1,101 +0,0 @@
|
||||
#
|
||||
# spec file for package kpowersave (Version 0.7.2_SVN20070830)
|
||||
#
|
||||
# Copyright (c) 2007 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: kpowersave
|
||||
URL: http://sourceforge.net/projects/powersave/
|
||||
%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: GPL v2 only
|
||||
Group: System/GUI/KDE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: KDE Frontend for Battery Monitoring, Suspend, CPU Freq and General Power Management Support
|
||||
Version: 0.7.3
|
||||
Release: 1
|
||||
ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64
|
||||
Requires: /sbin/pidof xorg-x11
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
%if %suse_version > 1020
|
||||
Requires: %{name}-lang = %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
KPowersave 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. 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.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Thomas Renninger (trenn@suse.de, mail@renninger.de)
|
||||
Danny Kukawka (dkukawka@suse.de, danny.kukawka@web.de)
|
||||
|
||||
%if %suse_version > 1020
|
||||
%lang_package
|
||||
%endif
|
||||
%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
|
||||
%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
|
||||
%if %suse_version > 1020
|
||||
|
||||
%files lang -f %name.lang
|
||||
|
||||
%files
|
||||
%else
|
||||
|
||||
%files -f %name.lang
|
||||
%endif
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS ChangeLog COPYING INSTALL NEWS
|
||||
/opt/trinity/bin/*
|
||||
/opt/trinity/share/config/kpowersaverc
|
||||
/opt/trinity/share/autostart/kpowersave-autostart.desktop
|
||||
/opt/trinity/share/apps/kpowersave
|
||||
/opt/trinity/share/icons/??color
|
||||
/opt/trinity/share/applications/tde/kpowersave.desktop
|
||||
/opt/trinity/lib*/trinity/kpowersave.*
|
||||
/opt/trinity/lib*/libtdeinit_kpowersave.*
|
||||
|
||||
%changelog
|
@ -0,0 +1,5 @@
|
||||
file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
|
||||
|
||||
if( _srcs )
|
||||
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
|
||||
endif( )
|
@ -0,0 +1,3 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template( "kpowersave" )
|
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 924 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@ -1,14 +0,0 @@
|
||||
Begin4
|
||||
Title: kpowersave
|
||||
Version: R14.0.0
|
||||
Entered-date: 2010-05-10
|
||||
Description: Front end for power management for the Trinity Desktop Environment
|
||||
Keywords: TDE Qt
|
||||
Author: Thomas Renninger <trenn@suse.de>
|
||||
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
|
||||
Primary-site: http://git.trinitydesktop.org/cgit/
|
||||
Alternate-site:
|
||||
Original-site: http://kde-apps.org/content/show.php?content=29295
|
||||
Platforms: Linux and other Unices running TDE
|
||||
Copying-policy: GPL
|
||||
End
|
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 992 B After Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 876 B After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 724 B |
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 908 B |
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 805 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 865 B After Width: | Height: | Size: 837 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 992 B After Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.7 KiB |