SHA256
1
0
forked from pool/kget

KDE release gear 22.12 beta. Don't forward

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kget?expand=0&rev=173
This commit is contained in:
2022-11-17 22:58:20 +00:00
committed by Git OBS Bridge
parent c5f95ffa03
commit 504032071b
6 changed files with 37 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kget
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,15 +20,14 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without released
Name: kget
Version: 22.08.3
Version: 22.11.80
Release: 0
Summary: Download Manager
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://apps.kde.org/kget
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: extra-cmake-modules
@@ -74,16 +73,16 @@ An advanced download manager by KDE
%autosetup -p1
%build
%cmake_kf5 -d build
%cmake_build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%if %{with released}
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%endif
%suse_update_desktop_file -r org.kde.kget System TrayIcon
%kf5_makeinstall -C build
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%suse_update_desktop_file -r org.kde.kget System TrayIcon
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -111,8 +110,6 @@ An advanced download manager by KDE
%{_kf5_sharedir}/kget/
%{_kf5_sharedir}/kio/servicemenus/kget_download.desktop
%if %{with released}
%files lang -f %{name}.lang
%endif
%changelog