diff --git a/Rsibreak-0.8.0.tar.bz2 b/Rsibreak-0.8.0.tar.bz2 deleted file mode 100644 index 8eb697e..0000000 --- a/Rsibreak-0.8.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a25d492393486b420f59c5b5cfa1809ed8788bd1cb341605d3d47480e6c7603 -size 832998 diff --git a/disable-plasma-dep.diff b/disable-plasma-dep.diff new file mode 100644 index 0000000..ed89181 --- /dev/null +++ b/disable-plasma-dep.diff @@ -0,0 +1,12 @@ +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -11,9 +11,6 @@ add_definitions (-mmmx) + include_directories ( ${KDE4_INCLUDES} ${BLITZ_INCLUDES} ) + ADD_SUBDIRECTORY( icons ) + ADD_SUBDIRECTORY( src ) +-if (PLASMA_FOUND) +- ADD_SUBDIRECTORY( plasma ) +-endif (PLASMA_FOUND) + find_package(Msgfmt REQUIRED) + find_package(Gettext REQUIRED) + add_subdirectory( po ) diff --git a/rsibreak-0.9.0-beta3.tar.bz2 b/rsibreak-0.9.0-beta3.tar.bz2 new file mode 100644 index 0000000..29a4fb7 --- /dev/null +++ b/rsibreak-0.9.0-beta3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b03ad4d27472571de760c112550aa197a54907d6d8d504987ac1bede9454bf9 +size 270787 diff --git a/rsibreak.changes b/rsibreak.changes index 467d953..453975f 100644 --- a/rsibreak.changes +++ b/rsibreak.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 26 17:36:12 CEST 2008 - dmueller@suse.de + +- update to 0.9.0-beta3 + * porting to KDE4 + ------------------------------------------------------------------- Sun Oct 15 09:10:07 CEST 2006 - stbinner@suse.de diff --git a/rsibreak.spec b/rsibreak.spec index 17daa3d..71ffc8b 100644 --- a/rsibreak.spec +++ b/rsibreak.spec @@ -1,7 +1,7 @@ # -# spec file for package rsibreak (Version 0.8.0) +# spec file for package rsibreak (Version 0.8.9+0.9.0_b3) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 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. # @@ -10,16 +10,21 @@ # norootforbuild + Name: rsibreak -URL: http://www.rsibreak.org -BuildRequires: kdelibs3-devel -License: GPL +BuildRequires: kdebase4-workspace-devel +License: GPL v2 or later +Url: http://www.kde-apps.org/content/show.php?content=29725 Group: Productivity/Other -Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 0.8.0 +Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury +Version: 0.8.9+0.9.0_b3 Release: 1 -Source: Rsibreak-%{version}.tar.bz2 +%define tar_version 0.9.0-beta3 +Source: rsibreak-%tar_version.tar.bz2 +Patch0: disable-plasma-dep.diff +Provides: kde4-rsibreak = 0.9.0 +Obsoletes: kde4-rsibreak <= 0.9.0 %description Repetitive Strain Injury is an illness which can occur as a result of @@ -34,36 +39,44 @@ Authors: Bram Schoenmakers %prep -%setup -q -n %name-%version -. /etc/opt/kde3/common_options -update_admin +%setup -n rsibreak-%tar_version -q +%patch0 %build -. /etc/opt/kde3/common_options -./configure $configkde --disable-final -make %{?jobs:-j%jobs} + %cmake_kde4 -d build + %make_jobs %install -. /etc/opt/kde3/common_options -make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET -%if %suse_version < 1010 -%suse_update_desktop_file %name TimeUtility -%else -%suse_update_desktop_file -G "RSI Prevention" %name TimeUtility -%endif -%find_lang %name + cd build + %makeinstall + cd .. + %suse_update_desktop_file -G "RSI Prevention" rsibreak TimeUtility + %find_lang %name --all-name + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) -/opt/kde3/bin/rsibreak -/opt/kde3/share/apps/rsibreak -/opt/kde3/share/applications/kde/rsibreak.desktop -/opt/kde3/share/autostart/rsibreak.desktop -/opt/kde3/share/icons/*/*/*/rsibreak* -%dir /opt/kde3/share/doc/HTML/en/rsibreak-%version-apidocs +%doc AUTHORS ChangeLog COPYING +%doc %lang(en) /usr/share/doc/kde/HTML/en/rsibreak +%_kde_share_dir/apps/rsibreak +/usr/bin/rsibreak +/usr/share/applications/kde4/rsibreak.desktop +/usr/share/dbus-1/interfaces/org.rsibreak.rsiwidget.xml +/usr/share/icons/hicolor/*/actions/* +/usr/share/icons/hicolor/*x*/actions/rsibreak*.png +/usr/share/icons/hicolor/*x*/apps/rsibreak.png -%changelog -n rsibreak -* Sun Oct 15 2006 - stbinner@suse.de +%changelog +* Thu Jun 26 2008 dmueller@suse.de +- update to 0.9.0-beta3 + * porting to KDE4 +* Sun Oct 15 2006 stbinner@suse.de - Update to version 0.8 * Replaced DCOP dialog with a more flexible and standardized interface to attach events to breaks @@ -77,7 +90,7 @@ make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET Images smaller than 1/3 of the screen will not be used for the slideshow * Some tiny optimizations and bugfixes -* Tue Jun 20 2006 - stbinner@suse.de +* Tue Jun 20 2006 stbinner@suse.de - Update to version 0.7.1 * New icons from Lee Olson. * Usability review from Tina Trillitzsch. @@ -88,9 +101,9 @@ make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET * Ability to make DCOP calls to the start and end of breaks. * Possibility to use KDCOP to set that up. * Possibility to break at fixed times. -* Tue May 30 2006 - adrian@suse.de +* Tue May 30 2006 adrian@suse.de - fix build for < 10.1 -* Tue Apr 11 2006 - stbinner@suse.de +* Tue Apr 11 2006 stbinner@suse.de - Update to version 0.6 -* Wed Apr 05 2006 - stbinner@suse.de +* Wed Apr 05 2006 stbinner@suse.de - Initial package (version 0.6 rc1)