KDE Release Gear 24.08.2

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ktorrent?expand=0&rev=110
This commit is contained in:
Christophe Marin 2024-10-10 20:13:15 +00:00 committed by Git OBS Bridge
commit fe1c58c30f
16 changed files with 2155 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
applications.keyring Normal file

Binary file not shown.

12
initial-preference.diff Normal file
View File

@ -0,0 +1,12 @@
Index: ktorrent-19.11.70git.20220828T004538~df49a0fa/ktorrent/org.kde.ktorrent.desktop
===================================================================
--- ktorrent-19.11.70git.20220828T004538~df49a0fa.orig/ktorrent/org.kde.ktorrent.desktop 2022-08-28 02:45:38.000000000 +0200
+++ ktorrent-19.11.70git.20220828T004538~df49a0fa/ktorrent/org.kde.ktorrent.desktop 2022-08-31 22:37:26.760423058 +0200
@@ -124,6 +124,7 @@
X-DocPath=ktorrent/index.html
SingleMainWindow=true
MimeType=application/x-bittorrent;application/x-torrent;x-scheme-handler/magnet;
+InitialPreference=5
X-DBUS-StartupType=Unique
X-DBUS-ServiceName=org.kde.ktorrent
Comment=A BitTorrent program by KDE

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDnKgACgkQu0YzUNbv
Me/hVw//bNJHHuaFvPJeY0Nbjfp3Zl0lxshfogcOoh/FjoQZBxWdYETNknYXmu77
NFRCEx1B9a9gwxrj18DKdbeP9Pj2VM+LeYE95MWV7j+6gtaL3m/43eSPA1e4Th01
IlwnldTe17dVOq5gpjf7BSKZdKa77zZ6T2IGzVayZhLNrpMFU/nwqXPnh27/SfFY
FEtYiz8a6/56kv/XLhS9cv+9wxpfLKdFuK1rvJDn8ZDwxkrXwgIiTqd+5LQgTc+f
TwG4GbRpeZwxbKmNWK+++vQt1xvTnN7Z2GhcnqRQ7E5CPV7RcbM7h0Tu2O48ABvI
cr+iQueFu2NG8ZE4vSCxHML74QbYIjmmXzYVMN1LW48LAK9UxCGDrN78xIVU7HZj
/3JYXGBWSSkVF6xjva3RL88XAgQeOkaszz+x7yfq4bMGjr1HE+hY9gUaXCZtIZYk
fh45QV30UAiR1eF+9ucE5wQP0xTJZN7nfibpQFv/BPPgHxeCCAX729M/Zp7baCXA
Tt3ckapq8VsiMs1TwDw+EtBt4XOrrvD4IpOzXXaW9/7iRZcc4g5jS/6+y67tOp48
6DTI6OgYGVm2Ff3JrHN6ZzJ2XQZPt9HHbrhAk+DeuR3mijtz6Tc476PWCCUOEKYQ
+P/R3nXr/WTAhIWsa91HpPVk/GIM2IPUUzU3c1CpXoXbLMUMJc4=
=Mt3w
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+4FcACgkQu0YzUNbv
Me+xGA//R2MQkYhAINU/wVi5WUWUhuy5XcFP0DZQ92Zvr0MvnnU8xukj2jfm2Eus
3ynlGvyaY2bgHmMVjYO1TqD/FiRqBdClKtPb8BR7JOCgGlyn/ah4RfEsE7eQFphT
7txYrTg6IVn6oYIAwNnj3KQgtNoJ9eEXEVUu/cXQyUmROr3pzJyB3v+YxusUjAku
3BTS4DSCQSCqyohfd9cFZUIoFk/SH6Z7C4mXTCDGhcX61VAPf9UplqP9LFD3L/8V
M47clUQpT50akqjc4uLx8+MlfA+qAduS1R2Yla9vR8nSoUQjMFdsCeOwlPzAd8b6
MXwFyL2MqmJG4b6jns53HbhjVU7eO4juZFudyadXwoNIpmWlF652beHRA4JJ8csf
L90of3lKK0kNs/EimOX4UWCp2FAAl6M/8vQlt6+Gl59vRGIUUZ7MCYOV4bNG88qm
vkSOydXFqPpEMY5nTqpMtXMa5Wg+J+DBSUWIJeUaB+2ADG7cKDXf6PPIfTdUnm1r
CpmYSqh+exM7vFzBX7rMYTV0aM3lbdOiZ8O4V/ygzGYFSV5fqa6+2IVWjiBmrHod
zZ3OgAT7Ocxe/URFN78w0QkPXoHaLxRMDsL1flHcWmGmp/gE0MenSl45fMHMX/T9
YyzbSzik1PiYAPHYNm8/eJW4hcffS7p18V1q/LcCJGj9ar5z/Rg=
=yXI3
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf/I8ACgkQu0YzUNbv
Me9gCg//aQTCgMMzFMX06F/7VRMW9IJth+jV+1lYMWkCkmDPBdK57BwMOYXIsdsw
09PoC/iUb42s7E7ETq6Mht2OXgsTmuJNogiijO1JEEFlBDWqhq2ece/6Z49U5YVH
oNgtpAF4OvDbgKUGt/Cy5UDZ2MOfrHAkBPVaS12drN8euW0MCv2I/5TfbusFE7KU
fkZW5Zs1e+NSbMle69jK/s5Rk/SaiCVZcSFxoNUr8/04hrzS7Ezxqv6d2EX2JzP5
Ap14B1jaM3f/0sK/RHN4hIU/L2hVamwu0Em8GJF82sXSwLZuWx4m0bOnZvhKJfys
0k5v3w+Ri4+bezt2nbLrWiftOPApesNysYtdhNCCZ2eAjgWJEpYqDFNVEgTnMZYv
L1+YL0h9DqITbHoEjAHnt/8c1nHiwhThjTn3iY4UR9M5GmX+xNDdUHVKMLSYRjRH
JB3iwUEQfbbgfG3TLQ2kP3sQ05w+pzJplOyc+O7fCbIRJumc+Qll4Gtbu13yEEKe
iOkrwpqvCR7cKRHRAD0r/NsVrdeIptdRXven5UWqqKEDSEmA4uwvXnjqSML4kUAL
QoJWEUcP8zm5wrUh1TG4gd8Y7VhKVo/nC0yMOF1sweb71ttFuQNWpQoY+l1F5RhI
uRJjBeRKTDf6PCOcK8MeXhJo1QsaJQpTK486SCqV34G8NNOJ40Y=
=456/
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmcEyucACgkQu0YzUNbv
Me9JZhAAkmChCMNHYcHLDLH0zZZ36GTQjoSoPPy/D8Z4WXVzgDlB96eB6AxpjXAG
VPaWEz29xlbebYeAFugdhefF+ffsAug/0V4Jv1gZv1k9BWDjbD0e7lyYgm3T18/F
j79X6alrDViYlPfVsNN34ONovA5sWJij6MeaFZRdnB34m18tVGrvMKyNY4dfli5g
y2IyCNGDvfHZw2H7EZEDpu6VUm84DscgxpL31xad7CtPSCnjoPMrpcBw6O7EQ9E4
4R3LU22M0pddDaOJCwEXyK+ws7wn9RfFHlT8/4RP26V3TNs5JDmfr758sNAWT3GI
kY2cw68/G/43DBzJ5JobjlZup1nV9wLB0i+t4xaNaCcVP5kEZGLxh3N8hoRZ58CT
r9shvbMYfH4Jk5IYmeTukV3rlOjxUkayXQ9vmQIs9lK+aH33U6YUq1W5dmwCx4Mx
nTyVAe3p9IInhogrzmScJ+hVycQypyIH0PLt0T01zgpMUWdUoIm5RbsR2hBCZSLU
9bmIFcmOZ0gNbXamla23qiTUI9sCT71Ps9qJa3Lo+I79cw0av3qLLTEVTtk69QbV
7CObuOtqMpVWNDpv6rDc+z3MNSzbEnV1hb8Q04W/VNrnrYUDjJxsWjswf0j7ybTQ
H+69lNggae5Hd7vcb/GiN40XKQE6dsVJjECUQGM2Z3l7yFkNGiA=
=0Kfj
-----END PGP SIGNATURE-----

38
ktorrent.1 Normal file
View File

@ -0,0 +1,38 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
.TH KTORRENT "1" "June 2020" "ktorrent 5.2.0" "User Commands"
.SH NAME
ktorrent \- manual page for ktorrent 5.2.0
.SH SYNOPSIS
.B ktorrent
[\fI\,options\/\fR]
.SH DESCRIPTION
Bittorrent client by KDE
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Displays help on commandline options.
.TP
\fB\-\-help\-all\fR
Displays help including Qt specific options.
.TP
\fB\-v\fR, \fB\-\-version\fR
Displays version information.
.TP
\fB\-\-author\fR
Show author information.
.TP
\fB\-\-license\fR
Show license information.
.TP
\fB\-\-desktopfile\fR <file name>
The base file name of the desktop entry for this
application.
.TP
\fB\-\-verbose\fR
Enable logging to standard output
.TP
\fB\-\-silent\fR
Silently open torrent given on URL
.TP
\fB\-\-\fR+[URL]
Document to open

1818
ktorrent.changes Normal file

File diff suppressed because it is too large Load Diff

158
ktorrent.spec Normal file
View File

@ -0,0 +1,158 @@
#
# spec file for package ktorrent
#
# 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
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.3.0
%define qt6_version 6.6.0
%bcond_without released
Name: ktorrent
Version: 24.08.2
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
%if %{with released}
Source1: https://download.kde.org/stable/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: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: fdupes
BuildRequires: libboost_headers-devel
BuildRequires: pkgconfig
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)
BuildRequires: pkgconfig(libmaxminddb)
%ifarch aarch64 x86_64 %{x86_64} riscv64
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version}
%endif
%description
KTorrent is a BitTorrent application by KDE which allows you to download files
using the BitTorrent protocol. It enables you to run multiple torrents at the
same time and comes with extended features to make it a full-featured client
for BitTorrent.
%lang_package
%prep
%autosetup -p1
# The boost minimum version change is only cosmetic. Leap 15.2 provides 1.66
sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
# Add man pages from help2man edited.
mkdir -p %{buildroot}%{_mandir}/man1
cp -a %{SOURCE3} %{buildroot}%{_mandir}/man1
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
%fdupes %{buildroot}
%find_lang %{name} --with-html
%ldconfig_scriptlets
%files
%license LICENSES/*
%doc ChangeLog RoadMap
%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 %{x86_64} riscv64
%{_kf6_plugindir}/ktorrent_plugins/SearchPlugin.so
%{_kf6_plugindir}/ktorrent_plugins/SyndicationPlugin.so
%endif
%ifarch aarch64 x86_64 %{x86_64} riscv64
%{_kf6_sharedir}/ktorrent/
%endif
%files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/ktorrent/
%changelog

29
ktupnptest.1 Normal file
View File

@ -0,0 +1,29 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
.TH KTUPNP "1" "June 2020" "ktupnp 1.0" "User Commands"
.SH NAME
ktupnp \- manual page for ktupnp 1.0
.SH SYNOPSIS
.B ktupnptest
[\fI\,options\/\fR]
.SH DESCRIPTION
KTorrent's UPnP test application
.SH OPTIONS
.TP
\fB\-v\fR, \fB\-\-version\fR
Displays version information.
.TP
\fB\-h\fR, \fB\-\-help\fR
Displays help on commandline options.
.TP
\fB\-\-help\-all\fR
Displays help including Qt specific options.
.TP
\fB\-\-author\fR
Show author information.
.TP
\fB\-\-license\fR
Show license information.
.TP
\fB\-\-desktopfile\fR <file name>
The base file name of the desktop entry for this
application.