Accepting request 1152071 from KDE:Applications

KDE release gear 24.02.0

OBS-URL: https://build.opensuse.org/request/show/1152071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=80
This commit is contained in:
Ana Guerrero 2024-03-11 14:31:52 +00:00 committed by Git OBS Bridge
commit b60dc648d1
7 changed files with 88 additions and 71 deletions

Binary file not shown.

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmVu8TwACgkQu0YzUNbv
Me8jsA/+L2jq0J6uIlcqdWDhh1ZA3d19YcgbvjBiJdWvZeZJVvHppMjEBDD9xEsm
vgk3LHvKt6wUOSuBNSaiav5xSJOGng6t+fluTCZHyB0DwAZkknZnh+A94c0yd0ly
LrLd8C+F/5paYZDnrFXu1E5xbdwcvMlqSpIMrV9JSjJLwBtOQWYlfkQR4M2yJt/O
kHNrlmx0vIItLkP1G/AcDWZebhTVwbuPtQBsoYkjdb3Ufb/YTw6iyzGax0kePl60
PAHXBMvjgIuvRUbM4kIifsMph9/2yh2DpDYbV033FPmCxvMcPsaFnnvxupyMsS9m
HEw4fVj4+M/jgYn5R9cZYhznV84RQR6boo3BldpuXO5z4uVG/rX4CHxzhqc/njxF
mv1EUsm5aANHyHnJB+/dHbVE5h6B2A1+OuM+JL7TF6jXn0YYkpiM4D0o3rePDSyc
HxwS1Aj7lvh2jITXwmrnasy2z67izeO0a5BcNtZ3F9DXJK1wTSbJT96y8WyVCIDw
BW+8+KP0dM1kiraWtSRzYk1ouW4av+1QJ12PWVlBWZAyKGbnLbGbEGs3xJJnL0Az
Irq0ETNHAwZcLfB8MsLJU87o+XpU9sEYXW9NbnbbraynMaepf9rDI0OVzMOvZAFu
25yyxQnlMbpNtVtDkHRKPCRVBolYExXahaJclTEYnSPzMDCD4lg=
=UTtV
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmXVrqIACgkQu0YzUNbv
Me/HJQ/+KAHtZPfOTD0kNqJtKuKeG7KU0c9Njxdh/5x76Cnm3Df9fFfhBUsnjq3q
e5H6Xm54NF5U34o8ZrC8ViLDRZ7i2BuV0i0aFrdJ58BGDEgYRgSSBsblLbPA9ltI
yt5YoO8VAcMIW+rU7HmNRjqiMxWFxzJokBrhs8DFEESSv0Kpq+qr73CyBjB8ikSe
xp9RCBs6vV9Yz+2p2FvaD2heFhoitGh3z92RjtBKkJVmKU75X1105LMLKi08mUjd
NcAnMCHzpM5ETPGcx9On/wM0XvB7cFssudbzsbwMqfzOxX0XW9BMOovdbJXvX8FR
twViuVeGmaLOI9btrVXZhKYiOUYkDwN2xNgFgzKAeKYKB8cGy6wBBq+p8ZtX7oXZ
nCTTrG8btcBvACsoIiuYk0+qU3p17kY6Sw+b108xkwRqRoWosURJoEIPUIYNsvnp
nb8WToR9A9d1un6E2RJLVlfXVqzX4caI0FK3kiaP0okjKYw39uGoBDFI/S3P+87h
WS8Tjbfta+jgS4TyheoFqQTF7L5lvpqHHN+VQQkrFrkHK19wCUME2qMINX8pgvHX
FGzsg9vkPoGU141Eb6n0PUb7ZQyDztNR7ETbUunZyakobMsK1oCxuiXA/Er6ijOO
j6gRQ6Xw2/QwWi42nvXe0YPAG1gsaIvXoYa+Qsb3gcYnmfz0dLA=
=AOP9
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Feb 23 14:00:43 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 24.02.0
* New feature release
- No code change since 24.01.95
-------------------------------------------------------------------
Fri Feb 9 16:09:51 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 24.01.95
* https://kde.org/announcements/megarelease/6/rc2/
-------------------------------------------------------------------
Tue Dec 5 14:20:28 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package libktorrent
#
# 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,69 +16,73 @@
#
%define sonum 6
%define kf6_version 5.246.0
%define qt6_version 6.6.0
%bcond_without released
Name: libktorrent
Version: 23.08.4
Version: 24.02.0
Release: 0
Summary: Torrent Downloading Library
License: GPL-2.0-or-later
URL: https://apps.kde.org/ktorrent
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source: %{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source1: %{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: doxygen
BuildRequires: extra-cmake-modules
BuildRequires: gmp-devel >= 6.0.0
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: libboost_headers-devel
BuildRequires: libgcrypt-devel
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(Qca-qt5)
BuildRequires: cmake(Qt5Core) >= 5.15.2
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Xml)
BuildRequires: pkgconfig
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(Qt6Xml) >= %{qt6_version}
BuildRequires: pkgconfig(libgcrypt) >= 1.4.5
%description
libktorrent is a torrent downloading library.
%package -n libKTorrent6
Summary: Torrent Downloading Library
Provides: libktorrent = %{version}
Obsoletes: libktorrent < %{version}
Provides: libktorrent-lang = %{version}
Obsoletes: libktorrent-lang < %{version}
%description -n libKTorrent6
libktorrent is a torrent downloading library.
%package devel
Summary: Development files for libktorrent
Requires: gmp-devel
Requires: libKF5Torrent%{sonum} = %{version}
Requires: libboost_headers-devel
Requires: libgcrypt-devel
Requires: cmake(KF5Archive)
Requires: cmake(KF5Config)
Requires: cmake(KF5KIO)
Requires: cmake(Qca-qt5)
Requires: cmake(Qt5Core)
Requires: cmake(Qt5Network)
Requires: libKTorrent6 = %{version}
Requires: libboost_headers-devel >= 1.66.0
Requires: cmake(KF6Archive) >= %{kf6_version}
Requires: cmake(KF6Config) >= %{kf6_version}
Requires: cmake(KF6KIO) >= %{kf6_version}
Requires: cmake(Qt6Core) >= %{qt6_version}
Requires: cmake(Qt6Core5Compat) >= %{qt6_version}
Requires: cmake(Qt6Network) >= %{qt6_version}
Requires: gmp-devel >= 6.0.0
Requires: pkgconfig(libgcrypt) >= 1.4.5
%description devel
This package includes the necessary files for development using libktorrent.
%package -n libKF5Torrent%{sonum}
Summary: Torrent Downloading Library
Recommends: %{name}-lang = %{version}
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libKF5Torrent%{sonum}
libktorrent is a torrent downloading library.
%lang_package
%lang_package -n libKTorrent6
%prep
%autosetup -p1
# The boost minimum version change is only cosmetic. Leap 15.2 provides 1.66
# The boost minimum version change is only cosmetic. Leap 15 only provides 1.66...
sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%build
@ -86,26 +90,26 @@ sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%define _lto_cflags %{nil}
%endif
%cmake_kf5 -d build
%cmake_build
%cmake_kf6
%kf6_build
%install
%kf5_makeinstall -C build
%kf6_install
%find_lang libktorrent5 %{name}.lang
%find_lang %{name} --all-name
%ldconfig_scriptlets -n libKF5Torrent%{sonum}
%ldconfig_scriptlets -n libKTorrent6
%files -n libKTorrent6
%license LICENSES/*
%{_kf6_libdir}/libKTorrent6.so.*
%files devel
%{_kf5_cmakedir}/KF5Torrent/
%{_kf5_includedir}/libktorrent/
%{_kf5_libdir}/libKF5Torrent.so
%{_kf6_cmakedir}/KTorrent6/
%{_kf6_includedir}/libktorrent/
%{_kf6_libdir}/libKTorrent6.so
%files -n libKF5Torrent%{sonum}
%license LICENSES/*
%doc ChangeLog RoadMap
%{_kf5_libdir}/libKF5Torrent.so.*
%files lang -f %{name}.lang
%files -n libKTorrent6-lang -f %{name}.lang
%changelog