remove obsolete for rsibreak-i18n-nl which is instead provided [release 0.11-2mamba;Thu Sep 15 2011]
This commit is contained in:
parent
efb9c99bcb
commit
3c45512929
@ -1,2 +1,6 @@
|
|||||||
# rsibreak
|
# rsibreak
|
||||||
|
|
||||||
|
Repetitive Strain Injury is an illness which can occur as a result of working with a mouse and keyboard.
|
||||||
|
This utility can be used to remind you to take a break now and then.
|
||||||
|
It will show you a random picture from a collection you can configure yourself for a configurable duration at a configurable interval.
|
||||||
|
|
||||||
|
45
rsibreak-0.9.0-cmake_fix_for_plasma.patch
Normal file
45
rsibreak-0.9.0-cmake_fix_for_plasma.patch
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
diff -ru rsibreak-0.9.0/CMakeLists.txt rsibreak-0.9.0-fix/CMakeLists.txt
|
||||||
|
--- rsibreak-0.9.0/CMakeLists.txt 2008-11-19 21:04:03.000000000 +0100
|
||||||
|
+++ rsibreak-0.9.0-fix/CMakeLists.txt 2009-05-22 19:32:59.000000000 +0200
|
||||||
|
@@ -3,19 +3,12 @@
|
||||||
|
|
||||||
|
find_package (KDE4 REQUIRED)
|
||||||
|
include(KDE4Defaults)
|
||||||
|
-macro_optional_find_package(Plasma)
|
||||||
|
-
|
||||||
|
-macro_log_feature(PLASMA_FOUND "Plasma" "Plasma libraries and header files" "http://plasma.kde.org/" FALSE "" "Plasma is needed for Plasma applet of rsibreak. Install kdebase-workspace.")
|
||||||
|
-
|
||||||
|
-
|
||||||
|
|
||||||
|
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||||
|
include_directories ( ${KDE4_INCLUDES} ${BLITZ_INCLUDES} )
|
||||||
|
ADD_SUBDIRECTORY( icons )
|
||||||
|
ADD_SUBDIRECTORY( src )
|
||||||
|
-if (PLASMA_FOUND)
|
||||||
|
- ADD_SUBDIRECTORY( plasma )
|
||||||
|
-endif (PLASMA_FOUND)
|
||||||
|
+ADD_SUBDIRECTORY( plasma )
|
||||||
|
find_package(Msgfmt REQUIRED)
|
||||||
|
find_package(Gettext REQUIRED)
|
||||||
|
add_subdirectory( po )
|
||||||
|
diff -ru rsibreak-0.9.0/plasma/CMakeLists.txt rsibreak-0.9.0-fix/plasma/CMakeLists.txt
|
||||||
|
--- rsibreak-0.9.0/plasma/CMakeLists.txt 2008-11-19 20:56:00.000000000 +0100
|
||||||
|
+++ rsibreak-0.9.0-fix/plasma/CMakeLists.txt 2009-05-22 19:33:47.000000000 +0200
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
rsibreak_interface)
|
||||||
|
|
||||||
|
kde4_add_plugin(plasma_engine_rsibreak ${rsibreak_engine_SRCS})
|
||||||
|
-target_link_libraries(plasma_engine_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
||||||
|
+target_link_libraries(plasma_engine_rsibreak ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
|
install(TARGETS plasma_engine_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
install(FILES plasma-engine-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
rsibreak.cpp)
|
||||||
|
|
||||||
|
kde4_add_plugin(plasma_applet_rsibreak ${rsibreak_applet_SRCS})
|
||||||
|
-target_link_libraries(plasma_applet_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
||||||
|
+target_link_libraries(plasma_applet_rsibreak ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
||||||
|
|
||||||
|
install(TARGETS plasma_applet_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||||
|
install(FILES plasma-applet-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
10
rsibreak-0.9.0-memory_leak.patch
Normal file
10
rsibreak-0.9.0-memory_leak.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- rsibreak-0.9.0/src/graywidget.cpp 2008-11-19 20:55:54.000000000 +0100
|
||||||
|
+++ rsibreak-0.9.0/src/graywidget.cpp.memoryleak 2009-05-22 19:37:10.000000000 +0200
|
||||||
|
@@ -69,6 +69,7 @@
|
||||||
|
KWindowSystem::setState( winId(), NET::KeepAbove );
|
||||||
|
KWindowSystem::setState( winId(), NET::FullScreen );
|
||||||
|
|
||||||
|
+ delete m_gray;
|
||||||
|
m_gray = new GrayOutEffect( this, &m_complete );
|
||||||
|
connect( m_gray, SIGNAL( ready() ), m_dialog, SLOT( showDialog() ) );
|
||||||
|
m_gray->start();
|
63
rsibreak-0.9.0-po_remove_duplicates.patch
Normal file
63
rsibreak-0.9.0-po_remove_duplicates.patch
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
--- rsibreak-0.9.0/po/CMakeLists.txt 2008-11-19 21:04:03.000000000 +0100
|
||||||
|
+++ rsibreak-0.9.0/po/CMakeLists.txt.pofixes 2009-05-22 19:44:49.000000000 +0200
|
||||||
|
@@ -1,60 +1,32 @@
|
||||||
|
add_subdirectory( ar )
|
||||||
|
-add_subdirectory( ar )
|
||||||
|
-add_subdirectory( be )
|
||||||
|
add_subdirectory( be )
|
||||||
|
add_subdirectory( ca )
|
||||||
|
add_subdirectory( cs )
|
||||||
|
-add_subdirectory( cs )
|
||||||
|
-add_subdirectory( da )
|
||||||
|
add_subdirectory( da )
|
||||||
|
add_subdirectory( de )
|
||||||
|
add_subdirectory( el )
|
||||||
|
-add_subdirectory( el )
|
||||||
|
-add_subdirectory( es )
|
||||||
|
add_subdirectory( es )
|
||||||
|
add_subdirectory( et )
|
||||||
|
-add_subdirectory( et )
|
||||||
|
add_subdirectory( fr )
|
||||||
|
-add_subdirectory( fr )
|
||||||
|
-add_subdirectory( ga )
|
||||||
|
add_subdirectory( ga )
|
||||||
|
add_subdirectory( gl )
|
||||||
|
-add_subdirectory( gl )
|
||||||
|
-add_subdirectory( hi )
|
||||||
|
add_subdirectory( hi )
|
||||||
|
add_subdirectory( ja )
|
||||||
|
-add_subdirectory( ja )
|
||||||
|
-add_subdirectory( km )
|
||||||
|
add_subdirectory( km )
|
||||||
|
add_subdirectory( ko )
|
||||||
|
-add_subdirectory( ko )
|
||||||
|
add_subdirectory( nb )
|
||||||
|
-add_subdirectory( nb )
|
||||||
|
-add_subdirectory( nds )
|
||||||
|
add_subdirectory( nds )
|
||||||
|
add_subdirectory( nl )
|
||||||
|
-add_subdirectory( nl )
|
||||||
|
-add_subdirectory( nn )
|
||||||
|
add_subdirectory( nn )
|
||||||
|
add_subdirectory( oc )
|
||||||
|
-add_subdirectory( oc )
|
||||||
|
add_subdirectory( pl )
|
||||||
|
add_subdirectory( pt )
|
||||||
|
-add_subdirectory( pt )
|
||||||
|
-add_subdirectory( pt_BR )
|
||||||
|
add_subdirectory( pt_BR )
|
||||||
|
add_subdirectory( ro )
|
||||||
|
-add_subdirectory( ro )
|
||||||
|
-add_subdirectory( se )
|
||||||
|
add_subdirectory( se )
|
||||||
|
add_subdirectory( sk )
|
||||||
|
-add_subdirectory( sk )
|
||||||
|
-add_subdirectory( sv )
|
||||||
|
add_subdirectory( sv )
|
||||||
|
add_subdirectory( tr )
|
||||||
|
-add_subdirectory( tr )
|
||||||
|
-add_subdirectory( uk )
|
||||||
|
add_subdirectory( uk )
|
||||||
|
add_subdirectory( zh_CN )
|
||||||
|
-add_subdirectory( zh_CN )
|
||||||
|
add_subdirectory( zh_TW )
|
218
rsibreak.spec
Normal file
218
rsibreak.spec
Normal file
@ -0,0 +1,218 @@
|
|||||||
|
%define program RSIBreak
|
||||||
|
|
||||||
|
Name: rsibreak
|
||||||
|
Version: 0.11
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: A small utility which bothers you at certain intervals
|
||||||
|
Group: Graphical Desktop/Applications/Utilities
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
URL: http://www.rsibreak.org/
|
||||||
|
Source: http://www.rsibreak.org/files/rsibreak-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-0.9.0-cmake_fix_for_plasma.patch
|
||||||
|
Patch1: %{name}-0.9.0-memory_leak.patch
|
||||||
|
Patch2: %{name}-0.9.0-po_remove_duplicates.patch
|
||||||
|
License: GPL
|
||||||
|
BuildRequires: cmake
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: kdebase4-runtime
|
||||||
|
BuildRequires: kdelibs4-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libXScrnSaver-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: kdelibs4
|
||||||
|
Requires: kdebase4-runtime
|
||||||
|
Obsoletes: rsibreak-i18n-da
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Repetitive Strain Injury is an illness which can occur as a result of working with a mouse and keyboard.
|
||||||
|
This utility can be used to remind you to take a break now and then.
|
||||||
|
It will show you a random picture from a collection you can configure yourself for a configurable duration at a configurable interval.
|
||||||
|
|
||||||
|
%package i18n-es
|
||||||
|
Summary: Spanish language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-es
|
||||||
|
Spanish language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-et
|
||||||
|
Summary: Estonian language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-et
|
||||||
|
Estonian language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-fr
|
||||||
|
Summary: French language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-fr
|
||||||
|
French language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-it
|
||||||
|
Summary: Italian language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-it
|
||||||
|
Italian language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-nl
|
||||||
|
Summary: Dutch language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-nl
|
||||||
|
Dutch language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-pt
|
||||||
|
Summary: Portuguese language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-pt
|
||||||
|
Portuguese language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-pt_BR
|
||||||
|
Summary: Brazil Portuguese language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-pt_BR
|
||||||
|
Brazil Portuguese language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-sv
|
||||||
|
Summary: Swedish language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-sv
|
||||||
|
Swedish language support for %{program}.
|
||||||
|
|
||||||
|
%package i18n-uk
|
||||||
|
Summary: Ukrainian language support for %{program}
|
||||||
|
Group: System/Internationalization
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||||
|
|
||||||
|
%description i18n-uk
|
||||||
|
Ukrainian language support for %{program}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n rsibreak-%{version}
|
||||||
|
#%patch0 -p1
|
||||||
|
#%patch1 -p1
|
||||||
|
#%patch2 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kde4 -d build
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
%find_lang plasma_applet_%{name}
|
||||||
|
cat plasma_applet_%{name}.lang >> %{name}.lang
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_kde4_bindir}/rsibreak
|
||||||
|
%{_kde4_autostartdir}/rsibreak.desktop
|
||||||
|
%{_kde4_datadir}/desktoptheme/default/widgets/rsibreak.svg
|
||||||
|
%dir %{_kde4_datadir}/rsibreak
|
||||||
|
%dir %{_kde4_datadir}/rsibreak/*
|
||||||
|
%{_kde4_dbusinterfacesdir}/org.rsibreak.rsiwidget.xml
|
||||||
|
%{_kde4_icondir}/hicolor/*/*/*.png
|
||||||
|
%{_kde4_libdir}/kde4/plasma_applet_rsibreak.so
|
||||||
|
%{_kde4_libdir}/kde4/plasma_engine_rsibreak.so
|
||||||
|
%{_kde4_servicesdir}/plasma-applet-rsibreak.desktop
|
||||||
|
%{_kde4_servicesdir}/plasma-engine-rsibreak.desktop
|
||||||
|
%{_kde4_xdgappsdir}/rsibreak.desktop
|
||||||
|
%doc %{_kde4_htmldir}/en/rsibreak/
|
||||||
|
%doc AUTHORS COPYING ChangeLog HACKING NEWS TODO
|
||||||
|
|
||||||
|
%files i18n-es
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/es/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-et
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/et/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-fr
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/fr/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-it
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/it/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-nl
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/nl/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-pt
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/pt/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-pt_BR
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/pt_BR/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-sv
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/sv/rsibreak/
|
||||||
|
|
||||||
|
%files i18n-uk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_kde4_htmldir}/uk/rsibreak/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-2mamba
|
||||||
|
- remove obsolete for rsibreak-i18n-nl which is instead provided
|
||||||
|
|
||||||
|
* Mon Jun 27 2011 Automatic Build System <autodist@mambasoft.it> 0.11-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon Jul 27 2009 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Fri May 22 2009 Davide Madrisan <davide.madrisan@gmail.com> 0.9.0-1mamba
|
||||||
|
- update to 0.9.0
|
||||||
|
|
||||||
|
* Thu May 21 2009 Automatic Build System <autodist@mambasoft.it> 0.8.0-3mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Nov 12 2007 Aleph0 <aleph0@openmamba.org> 0.8.0-2mamba
|
||||||
|
- fixed installation prefix
|
||||||
|
|
||||||
|
* Thu Nov 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.0-1qilnx
|
||||||
|
- update to version 0.8.0 by autospec
|
||||||
|
|
||||||
|
* Sun Jul 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.7.1-1qilnx
|
||||||
|
- update to version 0.7.1 by autospec
|
||||||
|
|
||||||
|
* Tue May 09 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.0-3qilnx
|
||||||
|
- rebuilt with the final version
|
||||||
|
|
||||||
|
* Tue Apr 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.0-2qilnx
|
||||||
|
- updated italian translation
|
||||||
|
|
||||||
|
* Mon Apr 10 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.0-rc2-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user