OBS User unknown 2008-07-21 21:45:55 +00:00 committed by Git OBS Bridge
parent ecfd1b9882
commit ed9e0e69bc
5 changed files with 68 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a25d492393486b420f59c5b5cfa1809ed8788bd1cb341605d3d47480e6c7603
size 832998

12
disable-plasma-dep.diff Normal file
View File

@ -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 )

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b03ad4d27472571de760c112550aa197a54907d6d8d504987ac1bede9454bf9
size 270787

View File

@ -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 Sun Oct 15 09:10:07 CEST 2006 - stbinner@suse.de

View File

@ -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 # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -10,16 +10,21 @@
# norootforbuild # norootforbuild
Name: rsibreak Name: rsibreak
URL: http://www.rsibreak.org BuildRequires: kdebase4-workspace-devel
BuildRequires: kdelibs3-devel License: GPL v2 or later
License: GPL Url: http://www.kde-apps.org/content/show.php?content=29725
Group: Productivity/Other Group: Productivity/Other
Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 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 %description
Repetitive Strain Injury is an illness which can occur as a result of Repetitive Strain Injury is an illness which can occur as a result of
@ -34,36 +39,44 @@ Authors:
Bram Schoenmakers <bramschoenmakers@kde.nl> Bram Schoenmakers <bramschoenmakers@kde.nl>
%prep %prep
%setup -q -n %name-%version %setup -n rsibreak-%tar_version -q
. /etc/opt/kde3/common_options %patch0
update_admin
%build %build
. /etc/opt/kde3/common_options %cmake_kde4 -d build
./configure $configkde --disable-final %make_jobs
make %{?jobs:-j%jobs}
%install %install
. /etc/opt/kde3/common_options cd build
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET %makeinstall
%if %suse_version < 1010 cd ..
%suse_update_desktop_file %name TimeUtility %suse_update_desktop_file -G "RSI Prevention" rsibreak TimeUtility
%else %find_lang %name --all-name
%suse_update_desktop_file -G "RSI Prevention" %name TimeUtility
%endif %post -p /sbin/ldconfig
%find_lang %name
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang %files -f %name.lang
%defattr(-,root,root) %defattr(-,root,root)
/opt/kde3/bin/rsibreak %doc AUTHORS ChangeLog COPYING
/opt/kde3/share/apps/rsibreak %doc %lang(en) /usr/share/doc/kde/HTML/en/rsibreak
/opt/kde3/share/applications/kde/rsibreak.desktop %_kde_share_dir/apps/rsibreak
/opt/kde3/share/autostart/rsibreak.desktop /usr/bin/rsibreak
/opt/kde3/share/icons/*/*/*/rsibreak* /usr/share/applications/kde4/rsibreak.desktop
%dir /opt/kde3/share/doc/HTML/en/rsibreak-%version-apidocs /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 %changelog
* Sun Oct 15 2006 - stbinner@suse.de * 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 - Update to version 0.8
* Replaced DCOP dialog with a more flexible and standardized * Replaced DCOP dialog with a more flexible and standardized
interface to attach events to breaks 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 Images smaller than 1/3 of the screen will not be used for
the slideshow the slideshow
* Some tiny optimizations and bugfixes * 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 - Update to version 0.7.1
* New icons from Lee Olson. * New icons from Lee Olson.
* Usability review from Tina Trillitzsch. * 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. * Ability to make DCOP calls to the start and end of breaks.
* Possibility to use KDCOP to set that up. * Possibility to use KDCOP to set that up.
* Possibility to break at fixed times. * 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 - fix build for < 10.1
* Tue Apr 11 2006 - stbinner@suse.de * Tue Apr 11 2006 stbinner@suse.de
- Update to version 0.6 - 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) - Initial package (version 0.6 rc1)