# # spec file for package rsibreak # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define base_ver 0.12 Name: rsibreak Version: 0.12.10 Release: 0 Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury License: GPL-2.0-or-later Group: Productivity/Other URL: https://userbase.kde.org/RSIBreak Source0: https://download.kde.org/stable/rsibreak/%{base_ver}/rsibreak-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcrash-devel BuildRequires: kdbusaddons-devel BuildRequires: kdoctools-devel BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kidletime-devel BuildRequires: knotifications-devel BuildRequires: knotifyconfig-devel BuildRequires: ktextwidgets-devel BuildRequires: kwindowsystem-devel BuildRequires: kxmlgui-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) >= 5.3.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.3.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.3.0 BuildRequires: pkgconfig(Qt5Test) >= 5.3.0 Requires: hicolor-icon-theme Recommends: %{name}-lang = %{version} Obsoletes: %{name}-doc < %{version} # REMOVE AFTER Leap 42.1 is out of scope Provides: kde4-rsibreak = %{version} Obsoletes: kde4-rsibreak < %{version} %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. %lang_package %prep %setup -q %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %suse_update_desktop_file -G "RSI Prevention" org.kde.rsibreak Qt KDE TimeUtility %find_lang %{name} --all-name %kf5_find_htmldocs %fdupes -s %{buildroot}%{_kf5_sharedir} %files lang -f %{name}.lang %files %license COPYING COPYING.DOC %doc AUTHORS ChangeLog NEWS %{_kf5_configdir}/autostart/rsibreak_autostart.desktop %{_kf5_dbusinterfacesdir}/org.rsibreak.rsiwidget.xml %{_kf5_applicationsdir}/org.kde.rsibreak.desktop %{_kf5_appstreamdir}/org.kde.rsibreak.appdata.xml %{_kf5_notifydir}/rsibreak.notifyrc %{_kf5_bindir}/rsibreak %{_kf5_iconsdir}/hicolor/*/*/* %doc %{_kf5_htmldir}/en/ %changelog