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> Sun Jun 12 11:14:29 UTC 2022 - Wolfgang Bauer <wbauer@tmo.at>

View File

@ -1,7 +1,7 @@
# #
# spec file for package rsibreak # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,6 @@ Version: 0.12.15
Release: 0 Release: 0
Summary: Repetetive Strain Injury recovery and prevention assistance utility Summary: Repetetive Strain Injury recovery and prevention assistance utility
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Other
URL: https://apps.kde.org/rsibreak URL: https://apps.kde.org/rsibreak
Source0: https://download.kde.org/stable/rsibreak/%{base_ver}/rsibreak-%{version}.tar.xz Source0: https://download.kde.org/stable/rsibreak/%{base_ver}/rsibreak-%{version}.tar.xz
%if %{with released} %if %{with released}
@ -32,7 +31,6 @@ Source2: rsibreak.keyring
%endif %endif
BuildRequires: extra-cmake-modules >= 5.79.0 BuildRequires: extra-cmake-modules >= 5.79.0
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF5Crash)
@ -48,11 +46,8 @@ BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5DBus) >= 5.10.0 BuildRequires: cmake(Qt5DBus) >= 5.10.0
BuildRequires: cmake(Qt5Test) >= 5.10.0 BuildRequires: cmake(Qt5Test) >= 5.10.0
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
Recommends: %{name}-lang = %{version} Recommends: rsibreak-lang = %{version}
Obsoletes: %{name}-doc < %{version} Obsoletes: rsibreak-doc < %{version}
# REMOVE AFTER Leap 42.1 is out of scope
Provides: kde4-rsibreak = %{version}
Obsoletes: kde4-rsibreak < %{version}
%description %description
Repetitive Strain Injury is an illness which can occur as a result of 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 %install
%kf5_makeinstall -C build %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 %files lang -f %{name}.lang
%endif
%files %files
%license LICENSES/* %license LICENSES/*