2007-01-16 00:35:27 +01:00
|
|
|
#
|
2011-01-17 19:22:02 +01:00
|
|
|
# spec file for package rsibreak
|
2007-01-16 00:35:27 +01:00
|
|
|
#
|
2021-06-29 14:49:38 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-16 00:35:27 +01:00
|
|
|
#
|
2008-10-13 16:55:07 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-06-20 10:31:38 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:35:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-08-08 11:43:00 +02:00
|
|
|
%define base_ver 0.12
|
2007-01-16 00:35:27 +01:00
|
|
|
Name: rsibreak
|
2021-06-29 14:49:38 +02:00
|
|
|
Version: 0.12.14
|
2013-07-25 15:17:11 +02:00
|
|
|
Release: 0
|
2019-07-01 06:55:08 +02:00
|
|
|
Summary: Repetetive Strain Injury recovery and prevention assistance utility
|
2018-10-09 14:04:15 +02:00
|
|
|
License: GPL-2.0-or-later
|
2007-01-16 00:35:27 +01:00
|
|
|
Group: Productivity/Other
|
2021-04-17 19:13:59 +02:00
|
|
|
URL: https://apps.kde.org/rsibreak
|
2019-06-20 10:31:38 +02:00
|
|
|
Source0: https://download.kde.org/stable/rsibreak/%{base_ver}/rsibreak-%{version}.tar.xz
|
2015-11-11 10:31:34 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2011-08-31 10:59:18 +02:00
|
|
|
BuildRequires: fdupes
|
2015-11-11 10:31:34 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2019-09-21 13:08:04 +02:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IdleTime)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5NotifyConfig)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2020-03-30 08:08:04 +02:00
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.10.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.10.0
|
2015-11-11 10:31:34 +01:00
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
Recommends: %{name}-lang = %{version}
|
2016-08-08 11:43:00 +02:00
|
|
|
Obsoletes: %{name}-doc < %{version}
|
2015-11-11 10:31:34 +01:00
|
|
|
# REMOVE AFTER Leap 42.1 is out of scope
|
2011-08-31 10:59:18 +02:00
|
|
|
Provides: kde4-rsibreak = %{version}
|
|
|
|
Obsoletes: kde4-rsibreak < %{version}
|
2007-01-16 00:35:27 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2011-09-20 09:36:21 +02:00
|
|
|
%lang_package
|
2015-11-11 10:31:34 +01:00
|
|
|
|
2007-01-16 00:35:27 +01:00
|
|
|
%prep
|
2016-08-08 11:43:00 +02:00
|
|
|
%setup -q
|
2007-01-16 00:35:27 +01:00
|
|
|
|
|
|
|
%build
|
2015-11-11 10:31:34 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-08-27 18:48:00 +02:00
|
|
|
%cmake_build
|
2007-01-16 00:35:27 +01:00
|
|
|
|
|
|
|
%install
|
2015-11-11 10:31:34 +01:00
|
|
|
%kf5_makeinstall -C build
|
2019-06-20 10:31:38 +02:00
|
|
|
%suse_update_desktop_file -G "RSI Prevention" org.kde.rsibreak Qt KDE TimeUtility
|
2015-11-11 10:31:34 +01:00
|
|
|
%find_lang %{name} --all-name
|
2020-08-27 18:48:00 +02:00
|
|
|
%{kf5_find_htmldocs}
|
2018-10-09 14:04:15 +02:00
|
|
|
%fdupes -s %{buildroot}%{_kf5_sharedir}
|
2008-07-21 23:45:55 +02:00
|
|
|
|
2011-09-20 09:36:21 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files
|
2018-10-09 14:04:15 +02:00
|
|
|
%license COPYING COPYING.DOC
|
|
|
|
%doc AUTHORS ChangeLog NEWS
|
2020-08-27 18:48:00 +02:00
|
|
|
%doc %{_kf5_htmldir}/en/
|
2019-06-20 10:31:38 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.rsibreak.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.rsibreak.appdata.xml
|
2015-11-11 10:31:34 +01:00
|
|
|
%{_kf5_bindir}/rsibreak
|
2020-08-27 18:48:00 +02:00
|
|
|
%{_kf5_configdir}/autostart/rsibreak_autostart.desktop
|
|
|
|
%{_kf5_dbusinterfacesdir}/org.rsibreak.rsiwidget.xml
|
2015-11-11 10:31:34 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*
|
2020-08-27 18:48:00 +02:00
|
|
|
%{_kf5_notifydir}/rsibreak.notifyrc
|
2007-01-16 00:35:27 +01:00
|
|
|
|
2008-07-21 23:45:55 +02:00
|
|
|
%changelog
|