[packages/libtorrent] - updated to 0.16.20 (new soname, C++ 20 now)

qboosh qboosh at pld-linux.org
Sun Aug 9 19:02:26 CEST 2026


commit 800678e18bedaa31838fe9ce66f7be986aa49101
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Aug 9 19:02:26 2026 +0200

    - updated to 0.16.20 (new soname, C++ 20 now)

 libtorrent.spec | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/libtorrent.spec b/libtorrent.spec
index 442b38b..5971e92 100644
--- a/libtorrent.spec
+++ b/libtorrent.spec
@@ -1,26 +1,27 @@
 #
 # Conditional build:
-%bcond_without	static_libs	# don't build static library
-%bcond_without	ipv6		# disable IPv6 support
+%bcond_without	static_libs	# static library
+%bcond_without	ipv6		# IPv6 support
 #
 Summary:	LibTorrent - a BitTorrent library written in C++ for Unix
 Summary(pl.UTF-8):	LibTorrent - biblioteka BitTorrenta napisana w C++ dla Uniksa
 Name:		libtorrent
 # keep stable line, see URL below
-Version:	0.16.14
+Version:	0.16.20
 Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		Libraries
+#Source0Download: https://github.com/rakshasa/rtorrent/releases
 Source0:	https://github.com/rakshasa/rtorrent/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	31bc5594a46439026b2de36197dfb369
+# Source0-md5:	d040e8cc8678f96613fabc49857861b4
 Patch0:		%{name}-client_list.patch
 URL:		https://github.com/rakshasa/rtorrent/wiki
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	cppunit-devel >= 1.9.6
 BuildRequires:	curl-devel
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:8
 BuildRequires:	libtool >= 2:2
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig
@@ -46,7 +47,8 @@ Summary:	Development files for libtorrent
 Summary(pl.UTF-8):	Pliki programistyczne libtorrent
 Group:		Development/Libraries
 Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	libstdc++-devel
+Requires:	curl-devel
+Requires:	libstdc++-devel >= 6:8
 Requires:	openssl-devel >= 0.9.7d
 Requires:	zlib-devel
 
@@ -85,8 +87,8 @@ fi
 %{__automake}
 
 %configure \
-	--%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
-	--%{?debug:en}%{!?debug:dis}able-debug \
+	--enable-debug%{!?debug:=no} \
+	--enable-ipv6%{!?with_ipv6:=no} \
 	%{?with_static_libs:--enable-static} \
 %ifarch i386 i486
 	--disable-instrumentation
@@ -100,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtorrent.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -109,13 +114,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README.md
-%attr(755,root,root) %{_libdir}/libtorrent.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtorrent.so.44
+%{_libdir}/libtorrent.so.*.*.*
+%ghost %{_libdir}/libtorrent.so.49
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libtorrent.so
-%{_libdir}/libtorrent.la
+%{_libdir}/libtorrent.so
 %{_includedir}/torrent
 %{_pkgconfigdir}/libtorrent.pc
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libtorrent.git/commitdiff/800678e18bedaa31838fe9ce66f7be986aa49101



More information about the pld-cvs-commit mailing list