Removed unused old packaging files.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 5 years ago
parent 60091c788a
commit c87e588c6d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,72 +0,0 @@
#
# 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

@ -1,74 +0,0 @@
#
# 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.
#
# 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 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/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

@ -1,100 +0,0 @@
#
# 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 TQTDIR || : ; . /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

@ -1,82 +0,0 @@
#
# spec file for package tdepowersave (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: tdepowersave
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/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

@ -1,81 +0,0 @@
#
# spec file for package tdepowersave (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: tdepowersave
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/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

@ -1,78 +0,0 @@
#
# spec file for package tdepowersave (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: tdepowersave
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/tdepowersave.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

@ -1,82 +0,0 @@
#
# spec file for package tdepowersave (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: tdepowersave
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/tdepowersaverc
/opt/trinity/share/autostart/tdepowersave.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

@ -1,74 +0,0 @@
#
# 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
# norootforbuild
Name: tdepowersave
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/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

@ -1,98 +0,0 @@
%define name tdepowersave
%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: libtqt3-devel libtqt3-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
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 -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/tdepowersave.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/tdepowersaverc
%{_datadir}/autostart/tdepowersave-autostart.desktop
%{_datadir}/apps/%{name}
%{_iconsdir}/hicolor/*/apps/*.png
%{_datadir}/icons/*.png
%{_datadir}/applications/tde/tdepowersave.desktop
%doc %{_docdir}/HTML/*/tdepowersave
%{_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 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 (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/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

@ -1,101 +0,0 @@
#
# spec file for package tdepowersave (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: tdepowersave
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
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. 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/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
Loading…
Cancel
Save