Name: rsibreak Summary: A small utility which bothers you at certain intervals Version: 0.12.6 Release: 1%{?dist} License: GPLv2+ URL: https://userbase.kde.org/RSIBreak %global majmin %(echo %{version} | cut -d. -f1,2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/rsibreak/%{majmin}/rsibreak-%{version}.tar.xz BuildRequires: qt5-qtbase-devel BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5IdleTime) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5NotifyConfig) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5WindowSystem) BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: kf5-rpm-macros %description RSIBreak is a small utility which bothers you at certain intervals. The interval and duration of two different timers can be configured. You can use the breaks to stretch out or do the dishes. The aim of this utility is to let you know when it is time to have a break from your computer. This can help people to prevent Repetive Strain Injury. %prep %autosetup %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang rsibreak %check desktop-file-validate %{buildroot}%{kf5_datadir}/applications/rsibreak.desktop ||: %post touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || : %posttrans gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || : fi %files -f rsibreak.lang %license COPYING %doc AUTHORS ChangeLog NEWS TODO %{_kf5_bindir}/rsibreak %{_kf5_datadir}/applications/rsibreak.desktop %{_kf5_datadir}/icons/hicolor/*/*/* %{_kf5_datadir}/knotifications5/rsibreak.notifyrc %{_sysconfdir}/xdg/autostart/rsibreak_autostart.desktop %{_datadir}/dbus-1/interfaces/org.rsibreak.rsiwidget.xml %{_kf5_docdir}/HTML/en/rsibreak/ %lang(es) %{_kf5_docdir}/HTML/es/rsibreak/ %lang(it) %{_kf5_docdir}/HTML/it/rsibreak/ %lang(nl) %{_kf5_docdir}/HTML/nl/rsibreak/ %lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/rsibreak/ %lang(sv) %{_kf5_docdir}/HTML/sv/rsibreak/ %lang(uk) %{_kf5_docdir}/HTML/uk/rsibreak/ %changelog * Sat Feb 25 2017 Rex Dieter - 0.12.6-1 - rsibreak-0.12.6 * Sat Feb 11 2017 Fedora Release Engineering - 0.12.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Dec 17 2016 Rex Dieter - 0.12.5-1 - 0.12.5, update URL * Tue May 31 2016 Rex Dieter - 0.12.3-1 - rsibreak-0.12.3 (kf5 port) * Thu Feb 04 2016 Fedora Release Engineering - 0.11-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.11-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.11-12 - Rebuilt for GCC 5 C++11 ABI change * Mon Aug 18 2014 Fedora Release Engineering - 0.11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jan 24 2013 Rex Dieter - 0.11-7 - fix/update url (#896176) - fix/update icon scriptlets - .spec cosmetics * Sat Jul 21 2012 Fedora Release Engineering - 0.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jan 14 2011 Tom Albers - 0.11-1 - New upstream version * Thu Feb 25 2010 Roland Wolters - 0.10-3 - Fixed DSO errors * Wed Jul 29 2009 Roland Wolters - 0.10-1 - Update to upstream version 0.10 * Sun Jul 26 2009 Fedora Release Engineering - 0.9.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Artem S. Tashkinov 0.9.0-10 - trunk fix for memory leak * Wed Feb 25 2009 Fedora Release Engineering - 0.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 06 2009 Kevin Kofler 0.9.0-6 - fix build against KDE 4.2 (patch from Kubuntu) * Wed Jan 21 2009 Roland Wolters 0.9.0-5 - added doc/HTML dir * Wed Jan 14 2009 Rex Dieter 0.9.0-3 - fix %%find_lang usage - BR: kdelibs4-devel plasma-devel * Fri Nov 28 2008 Roland Wolters 0.9.0-2 - update to version 0.9 featuring a KDE 4 version * Fri Feb 22 2008 Roland Wolters 0.8.0-5 - rebuild after dbug bug has been fixed in devel branch * Tue Feb 19 2008 Fedora Release Engineering - 0.8.0-4 - Autorebuild for GCC 4.3 * Sat Dec 01 2007 Roland Wolters - 0.8.0-3 - changed build require from kdelibs-devel to kdelibs3-devel - removed qt-devel dependency, kdelibs3-devel dep should be enough * Thu Aug 16 2007 Roland Wolters - 0.8.0-2 - licence tag corrected * Fri Oct 13 2006 Roland Wolters 0.8.0-1 - update to version 0.8 * Tue Jun 20 2006 Roland Wolters 0.7.1-3 - mass rebuild of devel branch * Tue Jun 20 2006 Roland Wolters 0.7.1-1 - update to version 0.7.1 - e-mail-address of packager corrected * Tue Apr 11 2006 Roland Wolters 0.6.0-1 - initial build