Luca Beltrame 2024-02-23 20:08:50 +00:00 committed by Git OBS Bridge
parent 98f9b95979
commit 0521ecbf8f
7 changed files with 81 additions and 70 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:b8fbc7b9ccc17858a9110c3b77d84538f26619678342e0d489d49c7ec5e9dd98
size 603104

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmW45GMACgkQOmpNuDnq
ptewlw//c5S3VG6r1IMzvaCxkp46DUUIHVo9vuYvlVCR0JdNgoyqBz6OyqkA9XVF
xivh5vJ016UgaHJXSjTe3u/furEz78qFjFj8ny4/pLc+e2vMzqpd0HjnOn4LIj2V
xF1tq4ymqvSuopLCHBsYja7uPFM73VJi27oF0NopTdacrrgD1clJy6py1T15p7e1
+eV6TMHvExiuESrZQ6iKDmqfE15wovQo8SnQgcO93Y8Wv1PW6p0JcvcZKYnUEIdX
fvoiru2/U6arBrdhC4ZMefpNX/jjqj+bs71fcHTeYBLSzjm145DOyQMTIhVpETl5
JNQr5Nlylrem9HZkXKkCWJwF5+71ui/yMiC9Le1NGuVmSQL7wtHH4w31XYov16hJ
+B6dbdXmAe1Yz1recZHy/MR66Xnpc32cz5VjCyouDzGOMnWPBYqRe+gReCzF1HU4
q8rCVQiSHzcVRvWrhiQFsfPw38fcqQoK3cCkZ0lOIN4N4Dtd83dJScAP5f9yKWyd
cfmxJ8mxYI93ULkV0fucVyLHy26zyvb5q+7COeImkXHFAU9jb92VztgbqvYoNd8S
sNMgy9QNpn7D0cda8YTmt69VGWTLRI4F+giAyLd2l75lVfbazDZRP0NxE1hnuj9h
GN/7QZ5wVC75XqbW6eBdzVzrNFQ5REZuH9eE8uNHJyXl3C1xh0k=
=A5Lm
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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> Tue Dec 5 14:20:28 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

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