Luca Beltrame 2024-02-23 20:08:41 +00:00 committed by Git OBS Bridge
parent 8e2e9dec1f
commit 4788038fe1
7 changed files with 107 additions and 101 deletions

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5f3cbea3a5d37710a3724ce6990e4b2d25e06be8ec80d92525d87d9751f0a61
size 2155860

View File

@ -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-----

3
ktorrent-24.01.95.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4ec56f6eef29de2aebf08379eed76ad703266471e9f020e97022cf5f607f74c
size 2173124

View File

@ -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-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 9 16:09:31 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 24.01.95
* https://kde.org/announcements/megarelease/6/rc2/
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 5 14:20:16 UTC 2023 - Christophe Marin <christophe@krop.fr> Tue Dec 5 14:20:16 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ktorrent # 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 # 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
@ -16,63 +16,66 @@
# #
%define kf6_version 5.240.0
%define qt6_version 6.6.0
%bcond_without released %bcond_without released
Name: ktorrent Name: ktorrent
Version: 23.08.4 Version: 24.01.95
Release: 0 Release: 0
Summary: KDE BitTorrent Client Summary: KDE BitTorrent Client
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://apps.kde.org/ktorrent 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} %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 Source2: applications.keyring
%endif %endif
Source3: ktorrent.1 Source3: ktorrent.1
Source4: ktupnptest.1 Source4: ktupnptest.1
# PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- InitialPreference to set it as the default torrent downloader # PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- InitialPreference to set it as the default torrent downloader
Patch0: initial-preference.diff Patch0: initial-preference.diff
BuildRequires: extra-cmake-modules BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libboost_headers-devel BuildRequires: libboost_headers-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: update-desktop-files BuildRequires: cmake(KF6Archive) >= %{kf6_version}
BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF6Completion) >= %{kf6_version}
BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF6DNSSD) >= %{kf6_version}
BuildRequires: cmake(KF5DNSSD) BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF5ItemViews) BuildRequires: cmake(KF6ItemViews) >= %{kf6_version}
BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF5Kross) BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version}
BuildRequires: cmake(KF5NotifyConfig) BuildRequires: cmake(KF6Parts) >= %{kf6_version}
BuildRequires: cmake(KF5Parts) BuildRequires: cmake(KF6Plotting) >= %{kf6_version}
BuildRequires: cmake(KF5Plotting) BuildRequires: cmake(KF6Solid) >= %{kf6_version}
BuildRequires: cmake(KF5Solid) BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version}
BuildRequires: cmake(KF5Syndication) BuildRequires: cmake(KF6Syndication) >= %{kf6_version}
BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
BuildRequires: cmake(KF5Torrent) BuildRequires: cmake(KTorrent6)
BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
BuildRequires: cmake(LibKWorkspace) BuildRequires: cmake(Phonon4Qt6)
BuildRequires: cmake(Phonon4Qt5) BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt5Core) >= 5.15.2 BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt5Script) BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(taglib)
%ifnarch ppc ppc64 ppc64le s390 s390x BuildRequires: pkgconfig(libmaxminddb)
BuildRequires: cmake(Qt5WebEngineWidgets) %ifarch aarch64 x86_64 riscv64
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version}
%endif %endif
%description %description
@ -90,11 +93,11 @@ for BitTorrent.
sed -i 's#1.71.0#1.66.0#' CMakeLists.txt sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%build %build
%cmake_kf5 -d build %cmake_kf6
%cmake_build %kf6_build
%install %install
%kf5_makeinstall -C build %kf6_install
# Add man pages from help2man edited. # Add man pages from help2man edited.
mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man1
@ -103,56 +106,53 @@ cp -a %{SOURCE4} %{buildroot}%{_mandir}/man1
# Fix any .py files with shebangs and wrong permissions. # Fix any .py files with shebangs and wrong permissions.
find %{buildroot} -name "*.py" -perm 0644 -exec grep -l '#!' {} + | \ 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} --with-html
%find_lang %{name}
%{kf5_find_htmldocs}
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%license LICENSES/* %license LICENSES/*
%doc ChangeLog RoadMap %doc ChangeLog RoadMap
%doc %lang(en) %{_kf5_htmldir}/en/ktorrent/ %doc %lang(en) %{_kf6_htmldir}/en/ktorrent/
%{_kf5_applicationsdir}/org.kde.ktorrent.desktop %{_kf6_applicationsdir}/org.kde.ktorrent.desktop
%{_kf5_appstreamdir}/org.kde.ktorrent.appdata.xml %{_kf6_appstreamdir}/org.kde.ktorrent.appdata.xml
%{_kf5_bindir}/ktmagnetdownloader %{_kf6_bindir}/ktmagnetdownloader
%{_kf5_bindir}/ktorrent %{_kf6_bindir}/ktorrent
%{_kf5_bindir}/ktupnptest %{_kf6_bindir}/ktupnptest
%{_kf5_iconsdir}/hicolor/*/*/*.png %{_kf6_iconsdir}/hicolor/*/*/*
%{_kf5_iconsdir}/hicolor/*/*/*.svgz %{_kf6_kxmlguidir}/ktorrent/
%{_kf5_kxmlguidir}/ktorrent/ %{_kf6_libdir}/libktcore.so.*
%{_kf5_libdir}/libktcore.so.* %{_kf6_mandir}/man1/ktorrent.1%{?ext_man}
%{_kf5_mandir}/man1/ktorrent.1%{?ext_man} %{_kf6_mandir}/man1/ktupnptest.1%{?ext_man}
%{_kf5_mandir}/man1/ktupnptest.1%{?ext_man} %{_kf6_notificationsdir}/ktorrent.notifyrc
%{_kf5_notifydir}/ktorrent.notifyrc %dir %{_kf6_plugindir}/ktorrent_plugins/
%dir %{_kf5_plugindir}/ktorrent_plugins/ %{_kf6_plugindir}/ktorrent_plugins/BandwidthSchedulerPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_bwscheduler.so %{_kf6_plugindir}/ktorrent_plugins/DownloadOrderPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_downloadorder.so %{_kf6_plugindir}/ktorrent_plugins/IPFilterPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_infowidget.so %{_kf6_plugindir}/ktorrent_plugins/InfoWidgetPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_ipfilter.so %{_kf6_plugindir}/ktorrent_plugins/LogViewerPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_logviewer.so %{_kf6_plugindir}/ktorrent_plugins/MagnetGeneratorPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_magnetgenerator.so %{_kf6_plugindir}/ktorrent_plugins/MediaPlayerPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_mediaplayer.so %{_kf6_plugindir}/ktorrent_plugins/ScanFolderPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_scanfolder.so %{_kf6_plugindir}/ktorrent_plugins/ScanForLostFilesPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_scanforlostfiles.so %{_kf6_plugindir}/ktorrent_plugins/ShutdownPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_shutdown.so %{_kf6_plugindir}/ktorrent_plugins/StatsPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_stats.so %{_kf6_plugindir}/ktorrent_plugins/UPnPPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_upnp.so %{_kf6_plugindir}/ktorrent_plugins/ZeroconfPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_zeroconf.so %ifarch aarch64 x86_64 riscv64
%ifnarch ppc ppc64 ppc64le s390 s390x %{_kf6_plugindir}/ktorrent_plugins/SearchPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_search.so %{_kf6_plugindir}/ktorrent_plugins/SyndicationPlugin.so
%{_kf5_plugindir}/ktorrent_plugins/ktorrent_syndication.so
%endif %endif
%ifnarch ppc ppc64 ppc64le s390 s390x %ifarch aarch64 x86_64 riscv64
%{_kf5_sharedir}/ktorrent/ %{_kf6_sharedir}/ktorrent/
%endif %endif
%files lang -f %{name}.lang %files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/ktorrent/
%changelog %changelog