Accepting request 1226939 from KDE:Extra

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1226939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rsibreak?expand=0&rev=42
This commit is contained in:
Ana Guerrero 2024-11-27 21:15:42 +00:00 committed by Git OBS Bridge
commit e2de43b689
2 changed files with 15 additions and 16 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 20 15:47:19 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Stop using the %suse_update_desktop_file macro
- Spec cleanup
-------------------------------------------------------------------
Sun Jun 12 11:14:29 UTC 2022 - Wolfgang Bauer <wbauer@tmo.at>

View File

@ -1,7 +1,7 @@
#
# spec file for package rsibreak
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,6 @@ Version: 0.12.15
Release: 0
Summary: Repetetive Strain Injury recovery and prevention assistance utility
License: GPL-2.0-or-later
Group: Productivity/Other
URL: https://apps.kde.org/rsibreak
Source0: https://download.kde.org/stable/rsibreak/%{base_ver}/rsibreak-%{version}.tar.xz
%if %{with released}
@ -32,7 +31,6 @@ Source2: rsibreak.keyring
%endif
BuildRequires: extra-cmake-modules >= 5.79.0
BuildRequires: fdupes
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5Crash)
@ -48,11 +46,8 @@ BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5DBus) >= 5.10.0
BuildRequires: cmake(Qt5Test) >= 5.10.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}
Recommends: rsibreak-lang = %{version}
Obsoletes: rsibreak-doc < %{version}
%description
Repetitive Strain Injury is an illness which can occur as a result of
@ -70,16 +65,14 @@ you to take a break now and then.
%install
%kf5_makeinstall -C build
%suse_update_desktop_file -G "RSI Prevention" org.kde.rsibreak Qt KDE TimeUtility
%if %{with released}
%find_lang %{name} --all-name
%{kf5_find_htmldocs}
%endif
%fdupes -s %{buildroot}%{_kf5_sharedir}
%if %{with released}
%find_lang %{name} --all-name
%{kf5_find_htmldocs}
%fdupes %{buildroot}%{_kf5_sharedir}
%files lang -f %{name}.lang
%endif
%files
%license LICENSES/*