summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/FC4.kpowersave.spec72
-rw-r--r--packaging/FC5.kpowersave.spec74
-rw-r--r--packaging/FC6.kpowersave.spec100
-rw-r--r--packaging/SUSE10.0.kpowersave.spec82
-rw-r--r--packaging/SUSE10.1.kpowersave.spec81
-rw-r--r--packaging/SUSE9.2.kpowersave.spec78
-rw-r--r--packaging/SUSE9.3.kpowersave.spec82
-rw-r--r--packaging/mandriva.2006.1.kpowersave.spec74
-rw-r--r--packaging/mandriva.2007.1.kpowersave.spec98
-rw-r--r--packaging/openSUSE10.2.kpowersave.spec88
-rw-r--r--packaging/openSUSE10.3.kpowersave.spec101
11 files changed, 930 insertions, 0 deletions
diff --git a/packaging/FC4.kpowersave.spec b/packaging/FC4.kpowersave.spec
new file mode 100644
index 0000000..c0d377d
--- /dev/null
+++ b/packaging/FC4.kpowersave.spec
@@ -0,0 +1,72 @@
+#
+# spec file for package kpowersave (Version 0.6.2)
+#
+# Copyright (c) hmacht@suse,de, [email protected]
+# 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:
+--------
+
+%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/kde/kpowersave.desktop
+/usr/share/doc/HTML/*/kpowersave
+/usr/lib*/kde3/kpowersave.*
+/usr/lib*/libkdeinit_kpowersave.*
+/usr/share/locale/*
+
+%changelog -n kpowersave
diff --git a/packaging/FC5.kpowersave.spec b/packaging/FC5.kpowersave.spec
new file mode 100644
index 0000000..d7e38df
--- /dev/null
+++ b/packaging/FC5.kpowersave.spec
@@ -0,0 +1,74 @@
+#
+# spec file for package kpowersave (Version 0.6.2)
+#
+# 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:
+--------
+
+%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/kde/kpowersave.desktop
+/usr/share/doc/HTML/*/kpowersave
+/usr/lib*/kde3/kpowersave.*
+/usr/lib*/libkdeinit_kpowersave.*
+/usr/share/locale/*
+
+%changelog -n kpowersave
diff --git a/packaging/FC6.kpowersave.spec b/packaging/FC6.kpowersave.spec
new file mode 100644
index 0000000..1136d6b
--- /dev/null
+++ b/packaging/FC6.kpowersave.spec
@@ -0,0 +1,100 @@
+#
+# spec file for package kpowersave (Version 0.7.2)
+#
+# 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: kdelibs-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:
+--------
+
+%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/kde \
+--vendor="" \
+$RPM_BUILD_ROOT%{_datadir}/applications/kde/kpowersave.desktop
+
+## File lists
+# locale's
+%find_lang %{name} || touch %{name}.lang
+# HTML
+HTML_DIR=$(kde-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}/kde3/kpowersave.*
+%{_libdir}/libkdeinit_kpowersave.*
+%{_datadir}/applications/kde/*kpowersave.desktop
+%{_datadir}/apps/kpowersave/
+%{_datadir}/autostart/kpowersave-autostart.desktop
+%{_datadir}/config/kpowersaverc
+%{_datadir}/icons/hicolor/*/*/*
+
+%changelog -n kpowersave
diff --git a/packaging/SUSE10.0.kpowersave.spec b/packaging/SUSE10.0.kpowersave.spec
new file mode 100644
index 0000000..e171f9e
--- /dev/null
+++ b/packaging/SUSE10.0.kpowersave.spec
@@ -0,0 +1,82 @@
+#
+# 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 kde3-devel-packages kdelibs3 lsb pkgconfig powersave powersave-devel powersave-libs suse-release
+
+Name: kpowersave
+BuildRequires: dbus-1-qt3-devel hal-devel kdelibs3-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:
+--------
+
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/common_options
+./configure --enable-yast-entry
+
+make
+
+%install
+. /etc/opt/kde3/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/kde3/share/doc/*
+/opt/kde3/bin/*
+/opt/kde3/share/config/kpowersaverc
+/opt/kde3/share/autostart/kpowersave-autostart.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog -n kpowersave
+
diff --git a/packaging/SUSE10.1.kpowersave.spec b/packaging/SUSE10.1.kpowersave.spec
new file mode 100644
index 0000000..29014dd
--- /dev/null
+++ b/packaging/SUSE10.1.kpowersave.spec
@@ -0,0 +1,81 @@
+#
+# 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 kdelibs3-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:
+--------
+
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/common_options
+./configure --enable-yast-entry
+
+make
+
+%install
+. /etc/opt/kde3/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/kde3/share/doc/*
+/opt/kde3/bin/*
+/opt/kde3/share/config/kpowersaverc
+/opt/kde3/share/autostart/kpowersave-autostart.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog -n kpowersave
+
diff --git a/packaging/SUSE9.2.kpowersave.spec b/packaging/SUSE9.2.kpowersave.spec
new file mode 100644
index 0000000..d252d12
--- /dev/null
+++ b/packaging/SUSE9.2.kpowersave.spec
@@ -0,0 +1,78 @@
+#
+# 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 kde3-devel-packages kdelibs3 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 kdelibs3 kdelibs3-devel kdelibs3-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:
+--------
+
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/common_options
+./configure $configkde
+
+make
+
+%install
+. /etc/opt/kde3/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/kde3/bin/*
+/opt/kde3/share/autostart/kpowersave.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog -n kpowersave
diff --git a/packaging/SUSE9.3.kpowersave.spec b/packaging/SUSE9.3.kpowersave.spec
new file mode 100644
index 0000000..ee0727b
--- /dev/null
+++ b/packaging/SUSE9.3.kpowersave.spec
@@ -0,0 +1,82 @@
+#
+# 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 kde3-devel-packages kdelibs3 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 kdelibs3 kdelibs3-devel kdelibs3-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:
+--------
+
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/common_options
+./configure
+
+make
+
+%install
+. /etc/opt/kde3/common_options
+make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
+rm $RPM_BUILD_ROOT/opt/kde3/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/kde3/bin/*
+/opt/kde3/share/config/kpowersaverc
+/opt/kde3/share/autostart/kpowersave.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog -n kpowersave
diff --git a/packaging/mandriva.2006.1.kpowersave.spec b/packaging/mandriva.2006.1.kpowersave.spec
new file mode 100644
index 0000000..673c20d
--- /dev/null
+++ b/packaging/mandriva.2006.1.kpowersave.spec
@@ -0,0 +1,74 @@
+#
+# spec file for package kpowersave (Version 0.6.2)
+#
+# 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 libkdecore4-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:
+--------
+
+%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/kde/kpowersave.desktop
+/usr/share/doc/HTML/*/kpowersave
+/usr/lib*/kde3/kpowersave.*
+/usr/lib*/libkdeinit_kpowersave.*
+/usr/share/locale/*
+
+%changelog -n kpowersave
diff --git a/packaging/mandriva.2007.1.kpowersave.spec b/packaging/mandriva.2007.1.kpowersave.spec
new file mode 100644
index 0000000..a8930d0
--- /dev/null
+++ b/packaging/mandriva.2007.1.kpowersave.spec
@@ -0,0 +1,98 @@
+%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, kdelibs-devel
+%ifarch x86_64
+BuildRequires: lib64qt3-devel, lib64qt3-static-devel lib64gamin-1_0-devel lib64art_lgpl2-devel lib64kdecore4-devel
+%else
+BuildRequires: libqt3-devel libqt3-static-devel libgamin-1_0-devel libart_lgpl2-devel libkdecore4-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:
+--------
+
+
+#--------------------------------------------------------------------
+
+%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/kde/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/kde/kpowersave.desktop
+%doc %{_docdir}/HTML/*/kpowersave
+%{_libdir}/kde3/*
+%{_libdir}/*.so
+%{_libdir}/*.la
+%{_miconsdir}/%{name}.png
+%{_iconsdir}/%{name}.png
+%{_liconsdir}/%{name}.png
+%{_menudir}/%{name}
+
+%changelog
diff --git a/packaging/openSUSE10.2.kpowersave.spec b/packaging/openSUSE10.2.kpowersave.spec
new file mode 100644
index 0000000..d757695
--- /dev/null
+++ b/packaging/openSUSE10.2.kpowersave.spec
@@ -0,0 +1,88 @@
+#
+# 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 kdelibs3-devel lsb sles-release
+%else
+BuildRequires: dbus-1-qt3-devel hal-devel kdelibs3-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:
+--------
+
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/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/kde3/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/kde3/share/doc/*
+/opt/kde3/bin/*
+/opt/kde3/share/config/kpowersaverc
+/opt/kde3/share/autostart/kpowersave-autostart.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog -n kpowersave
diff --git a/packaging/openSUSE10.3.kpowersave.spec b/packaging/openSUSE10.3.kpowersave.spec
new file mode 100644
index 0000000..3cd3891
--- /dev/null
+++ b/packaging/openSUSE10.3.kpowersave.spec
@@ -0,0 +1,101 @@
+#
+# 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 kdelibs3-devel lsb sles-release
+%else
+BuildRequires: dbus-1-qt3-devel hal-devel kdelibs3-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:
+--------
+
+%if %suse_version > 1020
+%lang_package
+%endif
+%prep
+%setup -n %{name}-%{version} -q
+. /etc/opt/kde3/common_options
+update_admin
+
+%build
+. /etc/opt/kde3/common_options
+%if 0%{?sles_version} > 0
+./configure --enable-yast-entry --enable-suse-sles
+%else
+./configure
+%endif
+make %{?jobs:-j %jobs}
+
+%install
+. /etc/opt/kde3/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/kde3/bin/*
+/opt/kde3/share/config/kpowersaverc
+/opt/kde3/share/autostart/kpowersave-autostart.desktop
+/opt/kde3/share/apps/kpowersave
+/opt/kde3/share/icons/??color
+/opt/kde3/share/applications/kde/kpowersave.desktop
+/opt/kde3/lib*/kde3/kpowersave.*
+/opt/kde3/lib*/libkdeinit_kpowersave.*
+
+%changelog