2013-07-22 17:16:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package kget
|
|
|
|
#
|
2023-03-02 15:21:06 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-07-22 17:16:08 +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.
|
|
|
|
|
2018-11-25 00:44:43 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-22 17:16:08 +02:00
|
|
|
#
|
|
|
|
|
2013-07-30 16:00:55 +02:00
|
|
|
|
2022-01-06 13:44:41 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:43 +01:00
|
|
|
Name: kget
|
2023-12-07 23:53:17 +01:00
|
|
|
Version: 23.08.4
|
2018-11-25 00:44:43 +01:00
|
|
|
Release: 0
|
2013-07-22 17:16:08 +02:00
|
|
|
Summary: Download Manager
|
2018-11-25 00:44:43 +01:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 15:30:57 +02:00
|
|
|
URL: https://apps.kde.org/kget
|
2023-08-24 12:28:30 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:41 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:28:30 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:57 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-11-21 23:24:17 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2013-07-22 17:16:08 +02:00
|
|
|
BuildRequires: gpgme-devel
|
2020-03-28 14:57:36 +01:00
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
BuildRequires: libgpgmepp-devel
|
|
|
|
BuildRequires: libktorrent-devel
|
|
|
|
BuildRequires: libqca-qt5-devel
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:39:37 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2020-03-28 14:57:36 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
2019-11-29 12:39:37 +01:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5NotifyConfig)
|
2020-03-28 14:57:36 +01:00
|
|
|
BuildRequires: cmake(KF5Solid)
|
2019-11-29 12:39:37 +01:00
|
|
|
BuildRequires: cmake(KF5Wallet)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
2018-11-25 00:44:43 +01:00
|
|
|
BuildRequires: cmake(LibKWorkspace)
|
2020-03-28 14:57:36 +01:00
|
|
|
BuildRequires: cmake(QGpgme)
|
2019-11-29 12:39:37 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2017-11-21 23:24:17 +01:00
|
|
|
Obsoletes: kget5 < %{version}
|
|
|
|
Provides: kget5 = %{version}
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%description
|
2017-11-21 23:24:17 +01:00
|
|
|
An advanced download manager by KDE
|
|
|
|
|
|
|
|
%lang_package
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%prep
|
2021-01-02 17:15:31 +01:00
|
|
|
%autosetup -p1
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%build
|
2022-11-17 23:58:20 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:58:20 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r org.kde.kget System TrayIcon
|
2013-07-22 17:16:08 +02:00
|
|
|
|
2023-03-02 15:21:06 +01:00
|
|
|
%ldconfig_scriptlets
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:44:43 +01:00
|
|
|
%license COPYING COPYING.DOC
|
|
|
|
%doc README
|
2017-11-21 23:24:17 +01:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kget/
|
2022-03-29 08:44:35 +02:00
|
|
|
%dir %{_kf5_sharedir}/kio
|
|
|
|
%dir %{_kf5_sharedir}/kio/servicemenus
|
2017-11-21 23:24:17 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kget.desktop
|
2021-04-19 15:30:57 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kget.appdata.xml
|
2017-11-21 23:24:17 +01:00
|
|
|
%{_kf5_bindir}/kget
|
2021-04-19 15:30:57 +02:00
|
|
|
%{_kf5_configkcfgdir}/kget*.kcfg
|
|
|
|
%{_kf5_debugdir}/kget.categories
|
2017-11-21 23:24:17 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kget.*
|
2021-04-19 15:30:57 +02:00
|
|
|
%{_kf5_kxmlguidir}/kget/
|
2017-11-21 23:24:17 +01:00
|
|
|
%{_kf5_libdir}/libkgetcore.so*
|
2021-04-19 15:30:57 +02:00
|
|
|
%{_kf5_notifydir}/kget.notifyrc
|
2022-08-09 16:12:35 +02:00
|
|
|
%dir %{_kf5_plugindir}/kget_kcms/
|
|
|
|
%{_kf5_plugindir}/kget_kcms/kcm_kget*.so
|
2021-04-19 15:30:57 +02:00
|
|
|
%{_kf5_plugindir}/kget/
|
|
|
|
%{_kf5_servicetypesdir}/kget_plugin.desktop
|
2017-11-21 23:24:17 +01:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kget.service
|
|
|
|
%{_kf5_sharedir}/kget/
|
2022-03-29 08:44:35 +02:00
|
|
|
%{_kf5_sharedir}/kio/servicemenus/kget_download.desktop
|
2017-11-21 23:24:17 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2013-07-22 17:16:08 +02:00
|
|
|
|
|
|
|
%changelog
|