diff --git a/applications.keyring b/applications.keyring index 9b6ab5c..2998088 100644 Binary files a/applications.keyring and b/applications.keyring differ diff --git a/ktorrent-23.08.4.tar.xz b/ktorrent-23.08.4.tar.xz deleted file mode 100644 index 3512892..0000000 --- a/ktorrent-23.08.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5f3cbea3a5d37710a3724ce6990e4b2d25e06be8ec80d92525d87d9751f0a61 -size 2155860 diff --git a/ktorrent-23.08.4.tar.xz.sig b/ktorrent-23.08.4.tar.xz.sig deleted file mode 100644 index 5a87f6e..0000000 --- a/ktorrent-23.08.4.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmVu8TkACgkQu0YzUNbv -Me8BMA//dcV++SEfY+4PgzrYO9TGYcBHVKXR7XPB4aNGQSlLda2cqZ6SAdLYq81U -16QhKizkNRZ2lKgLO15ezFv1JOCKNwX09P2Lxl7QHL1w8Vlyc6lpGmfVfVI11NqS -p1vtHb5A8icIfFu+zaXvuiNte/TTtmLXPRca4Mu6B1NyUxFH7NK26OKEfa10Bcoa -V/RECVIw6p7QGbFG1kcNnAMXoyHYPH10IPBU9umGpPyBlGRptWtFBCgIQpkP9Ja+ -ZD3VeMAAskrzUXsh1d/Ayw+hdJOxvUbfzSTDNXxoTAh0so85B3km1VjSXMmzeSDo -ULGtp3IqJFdOxtymJn7H5DDpjcJnlKDF7o1LYgey0g1AejKZcaP2lzi61ny9WP05 -AaDxXHkaxTESb/m4ebp08vL0WdoH7S76bJJr39qGqo77lRXQ9xVuT0A1DdTUnHVH -1qIclG3hDHNolUYZUmrDKvvzIMKO2atPuQGZseazSJdVpTUHa93oI/Fc2v6uOnSL -IQvYoBs4gOPmbNify3azvdfamNbuSD57xzWa6dvs154uZ+Y5Tzb+e4UXQ+LuqwOf -6n/HM+l7nCYkmJgom6J6HPRmPY8whqpvsv7d9wA8iuaEHo4WnB8Lm0YMrsww3Ff9 -zV3Dbd3k6vnlbOvYLSxSfvyCQh08kty6dDpKDEej2+Q3MlFXzy0= -=LNUC ------END PGP SIGNATURE----- diff --git a/ktorrent-24.01.95.tar.xz b/ktorrent-24.01.95.tar.xz new file mode 100644 index 0000000..5ebb411 --- /dev/null +++ b/ktorrent-24.01.95.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4ec56f6eef29de2aebf08379eed76ad703266471e9f020e97022cf5f607f74c +size 2173124 diff --git a/ktorrent-24.01.95.tar.xz.sig b/ktorrent-24.01.95.tar.xz.sig new file mode 100644 index 0000000..e8387a4 --- /dev/null +++ b/ktorrent-24.01.95.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmW45F8ACgkQOmpNuDnq +ptfs8A/+PjWenz6eSNoZ26F/Yw5/cJtjisZ+lPi1h1OUVvoGmH2P6OTuHk0yH1J6 +FSameiO2jV2iPhWxXZvtlQTHdAgbdJQFEHJJ65PEm12sYosykddOb142BpZ8hRqy +6CesPayhtGfPVkJ7DzQmi1vT50D69C/CpkivnufBrOvpPrmNMa1DZQLwm8QIXb/A +OJPI97fDat4rmEOCt0fBHhCvaKUubHBW1oufEsFkOiE6v3nOpcRGdQahSKFyt4+y +UhN/SBEvaoaWnIoaQ3OS1pX00vxc2Ea+582S++kHst9NsV7ad4Zy6rEZ5XM2bXZ/ +pXyc+Ebx1W1RAs0s0ZoP1xd/NAdOC88B8whVVtt5kgvlk8jxjUzYwBmVg4qh2jfe +ctXqezHG67XBiwM4YWypYLvxozdanXepvF+BMU4aBlyltr7lZapUql0ytUW8WsVs +B9rxRGpmO6ZaQwSb3jqIxaFlsHabl2ls5gFK1pAoVJHYeWcQPirqXbQjRwQwAoS7 +2oI0Cvs8NVerkFv00BkSImkfT/wsgKVmARUlv+7iWMQl2Wh0+vKN0oIADvpvhcZx +/p/m+ud5apEHuNQnkw2oneQZFbwq8ysWC0WqmQClzUmWStqECJx0u6VZR6+EPWJz +uAuM8jG1HvnTsniHB8wjcbssWCCw5Dj8E68JBhA7ol6TBVazCFs= +=VRwq +-----END PGP SIGNATURE----- diff --git a/ktorrent.changes b/ktorrent.changes index 1d1986b..4393ca0 100644 --- a/ktorrent.changes +++ b/ktorrent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 9 16:09:31 UTC 2024 - Christophe Marin + +- Update to 24.01.95 + * https://kde.org/announcements/megarelease/6/rc2/ + ------------------------------------------------------------------- Tue Dec 5 14:20:16 UTC 2023 - Christophe Marin diff --git a/ktorrent.spec b/ktorrent.spec index 528733d..df1c7d9 100644 --- a/ktorrent.spec +++ b/ktorrent.spec @@ -1,7 +1,7 @@ # # spec file for package ktorrent # -# Copyright (c) 2023 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 @@ -16,63 +16,66 @@ # +%define kf6_version 5.240.0 +%define qt6_version 6.6.0 + %bcond_without released Name: ktorrent -Version: 23.08.4 +Version: 24.01.95 Release: 0 Summary: KDE BitTorrent Client License: GPL-2.0-or-later URL: https://apps.kde.org/ktorrent -Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz +Source0: 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 Source3: ktorrent.1 Source4: ktupnptest.1 # PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- InitialPreference to set it as the default torrent downloader Patch0: initial-preference.diff -BuildRequires: extra-cmake-modules +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} BuildRequires: fdupes BuildRequires: libboost_headers-devel BuildRequires: pkgconfig -BuildRequires: update-desktop-files -BuildRequires: cmake(KF5Archive) -BuildRequires: cmake(KF5Completion) -BuildRequires: cmake(KF5Config) -BuildRequires: cmake(KF5ConfigWidgets) -BuildRequires: cmake(KF5CoreAddons) -BuildRequires: cmake(KF5Crash) -BuildRequires: cmake(KF5DBusAddons) -BuildRequires: cmake(KF5DNSSD) -BuildRequires: cmake(KF5DocTools) -BuildRequires: cmake(KF5I18n) -BuildRequires: cmake(KF5IconThemes) -BuildRequires: cmake(KF5ItemViews) -BuildRequires: cmake(KF5KCMUtils) -BuildRequires: cmake(KF5KIO) -BuildRequires: cmake(KF5Kross) -BuildRequires: cmake(KF5Notifications) -BuildRequires: cmake(KF5NotifyConfig) -BuildRequires: cmake(KF5Parts) -BuildRequires: cmake(KF5Plotting) -BuildRequires: cmake(KF5Solid) -BuildRequires: cmake(KF5Syndication) -BuildRequires: cmake(KF5TextWidgets) -BuildRequires: cmake(KF5Torrent) -BuildRequires: cmake(KF5WidgetsAddons) -BuildRequires: cmake(KF5WindowSystem) -BuildRequires: cmake(KF5XmlGui) -BuildRequires: cmake(LibKWorkspace) -BuildRequires: cmake(Phonon4Qt5) -BuildRequires: cmake(Qt5Core) >= 5.15.2 -BuildRequires: cmake(Qt5DBus) -BuildRequires: cmake(Qt5Network) -BuildRequires: cmake(Qt5Script) -BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(KF6Archive) >= %{kf6_version} +BuildRequires: cmake(KF6Completion) >= %{kf6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version} +BuildRequires: cmake(KF6Crash) >= %{kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version} +BuildRequires: cmake(KF6DNSSD) >= %{kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{kf6_version} +BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version} +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6IconThemes) >= %{kf6_version} +BuildRequires: cmake(KF6ItemViews) >= %{kf6_version} +BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version} +BuildRequires: cmake(KF6KIO) >= %{kf6_version} +BuildRequires: cmake(KF6Notifications) >= %{kf6_version} +BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version} +BuildRequires: cmake(KF6Parts) >= %{kf6_version} +BuildRequires: cmake(KF6Plotting) >= %{kf6_version} +BuildRequires: cmake(KF6Solid) >= %{kf6_version} +BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version} +BuildRequires: cmake(KF6Syndication) >= %{kf6_version} +BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version} +BuildRequires: cmake(KTorrent6) +BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version} +BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version} +BuildRequires: cmake(KF6XmlGui) >= %{kf6_version} +BuildRequires: cmake(Phonon4Qt6) +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Network) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} BuildRequires: pkgconfig(taglib) -%ifnarch ppc ppc64 ppc64le s390 s390x -BuildRequires: cmake(Qt5WebEngineWidgets) +BuildRequires: pkgconfig(libmaxminddb) +%ifarch aarch64 x86_64 riscv64 +BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version} %endif %description @@ -90,11 +93,11 @@ for BitTorrent. sed -i 's#1.71.0#1.66.0#' CMakeLists.txt %build -%cmake_kf5 -d build -%cmake_build +%cmake_kf6 +%kf6_build %install -%kf5_makeinstall -C build +%kf6_install # Add man pages from help2man edited. mkdir -p %{buildroot}%{_mandir}/man1 @@ -103,56 +106,53 @@ cp -a %{SOURCE4} %{buildroot}%{_mandir}/man1 # Fix any .py files with shebangs and wrong permissions. find %{buildroot} -name "*.py" -perm 0644 -exec grep -l '#!' {} + | \ - xargs -rd'\n' chmod -f a+x + xargs -rd'\n' chmod -f a+x -%suse_update_desktop_file -r org.kde.ktorrent Qt KDE Network P2P +%fdupes %{buildroot} -%fdupes -s %{buildroot} - -%find_lang %{name} -%{kf5_find_htmldocs} +%find_lang %{name} --with-html %ldconfig_scriptlets %files %license LICENSES/* %doc ChangeLog RoadMap -%doc %lang(en) %{_kf5_htmldir}/en/ktorrent/ -%{_kf5_applicationsdir}/org.kde.ktorrent.desktop -%{_kf5_appstreamdir}/org.kde.ktorrent.appdata.xml -%{_kf5_bindir}/ktmagnetdownloader -%{_kf5_bindir}/ktorrent -%{_kf5_bindir}/ktupnptest -%{_kf5_iconsdir}/hicolor/*/*/*.png -%{_kf5_iconsdir}/hicolor/*/*/*.svgz -%{_kf5_kxmlguidir}/ktorrent/ -%{_kf5_libdir}/libktcore.so.* -%{_kf5_mandir}/man1/ktorrent.1%{?ext_man} -%{_kf5_mandir}/man1/ktupnptest.1%{?ext_man} -%{_kf5_notifydir}/ktorrent.notifyrc -%dir %{_kf5_plugindir}/ktorrent_plugins/ -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_bwscheduler.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_downloadorder.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_infowidget.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_ipfilter.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_logviewer.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_magnetgenerator.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_mediaplayer.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_scanfolder.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_scanforlostfiles.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_shutdown.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_stats.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_upnp.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_zeroconf.so -%ifnarch ppc ppc64 ppc64le s390 s390x -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_search.so -%{_kf5_plugindir}/ktorrent_plugins/ktorrent_syndication.so +%doc %lang(en) %{_kf6_htmldir}/en/ktorrent/ +%{_kf6_applicationsdir}/org.kde.ktorrent.desktop +%{_kf6_appstreamdir}/org.kde.ktorrent.appdata.xml +%{_kf6_bindir}/ktmagnetdownloader +%{_kf6_bindir}/ktorrent +%{_kf6_bindir}/ktupnptest +%{_kf6_iconsdir}/hicolor/*/*/* +%{_kf6_kxmlguidir}/ktorrent/ +%{_kf6_libdir}/libktcore.so.* +%{_kf6_mandir}/man1/ktorrent.1%{?ext_man} +%{_kf6_mandir}/man1/ktupnptest.1%{?ext_man} +%{_kf6_notificationsdir}/ktorrent.notifyrc +%dir %{_kf6_plugindir}/ktorrent_plugins/ +%{_kf6_plugindir}/ktorrent_plugins/BandwidthSchedulerPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/DownloadOrderPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/IPFilterPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/InfoWidgetPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/LogViewerPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/MagnetGeneratorPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/MediaPlayerPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/ScanFolderPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/ScanForLostFilesPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/ShutdownPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/StatsPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/UPnPPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/ZeroconfPlugin.so +%ifarch aarch64 x86_64 riscv64 +%{_kf6_plugindir}/ktorrent_plugins/SearchPlugin.so +%{_kf6_plugindir}/ktorrent_plugins/SyndicationPlugin.so %endif -%ifnarch ppc ppc64 ppc64le s390 s390x -%{_kf5_sharedir}/ktorrent/ +%ifarch aarch64 x86_64 riscv64 +%{_kf6_sharedir}/ktorrent/ %endif %files lang -f %{name}.lang +%exclude %{_kf6_htmldir}/en/ktorrent/ %changelog