From 6b33d4f72767c2ba2456b8446e19a773734661cbc34d6e413293adae2229ee37 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 18 Nov 2015 21:34:38 +0000 Subject: [PATCH] Accepting request 344691 from network:utilities - Update to new upstream release 0.13.6 OBS-URL: https://build.opensuse.org/request/show/344691 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtorrent?expand=0&rev=8 --- 0.13.6.tar.gz | 3 +++ libtorrent-0.13.4.tar.gz | 3 --- libtorrent.changes | 14 ++++++++++++++ libtorrent.spec | 39 ++++++++++++++++++++++----------------- 4 files changed, 39 insertions(+), 20 deletions(-) create mode 100644 0.13.6.tar.gz delete mode 100644 libtorrent-0.13.4.tar.gz diff --git a/0.13.6.tar.gz b/0.13.6.tar.gz new file mode 100644 index 0000000..f14376b --- /dev/null +++ b/0.13.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524 +size 340818 diff --git a/libtorrent-0.13.4.tar.gz b/libtorrent-0.13.4.tar.gz deleted file mode 100644 index e9c4762..0000000 --- a/libtorrent-0.13.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:704e097119dc89e2ee4630396b25de1cd64b0549841347ea75b9ef9217084955 -size 768382 diff --git a/libtorrent.changes b/libtorrent.changes index f5787db..ff33148 100644 --- a/libtorrent.changes +++ b/libtorrent.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Nov 15 17:08:10 UTC 2015 - mpluskal@suse.com + +- Remove unneeded options/dependencies (xmlrpc) + * all support is done in rtorrent + +------------------------------------------------------------------- +Fri Nov 13 13:47:09 UTC 2015 - tampakrap@opensuse.org + +- Update to new upstream release 0.13.6 +* Added check for failed DH_compute_key, throwing + e_handshake_invalid_encryption +- Moved fully to github, change URL and Source accordingly + ------------------------------------------------------------------- Sat Jul 19 10:15:20 UTC 2014 - jengelh@inai.de diff --git a/libtorrent.spec b/libtorrent.spec index 6f19e1d..48e12e2 100644 --- a/libtorrent.spec +++ b/libtorrent.spec @@ -1,7 +1,7 @@ # # spec file for package libtorrent # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,42 +16,46 @@ # + Name: libtorrent -Version: 0.13.4 +%define lname libtorrent19 +Version: 0.13.6 Release: 0 -%define soname 18 Summary: A BitTorrent library written in C++ License: SUSE-GPL-2.0+-with-openssl-exception Group: Productivity/Networking/File-Sharing -URL: http://libtorrent.rakshasa.no/ +Url: http://github.com/rakshasa/libtorrent #Git-Clone: git://github.com/rakshasa/libtorrent -Source: http://libtorrent.rakshasa.no/downloads/%name-%version.tar.gz -BuildRoot: %_tmppath/%name-%version-build +Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: cppunit-devel BuildRequires: gcc-c++ -#BuildRequires: libxmlrpc-c-devel +BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: pkg-config +BuildRequires: zlib-devel %description LibTorrent is a BitTorrent library written in C++. It transfers directly from file pages to the network stack, and achieves 3x higher seed speeds than the official client on high-bandwidth links. -%package -n %name%soname +%package -n %lname Summary: A BitTorrent library written in C++ Group: System/Libraries -%description -n %name%soname +%description -n %lname LibTorrent is a BitTorrent library written in C++. It transfers directly from file pages to the network stack, and achieves 3x higher seed speeds than the official client on high-bandwidth links. %package devel -Requires: %name%soname = %version Summary: Development files for libtorrent, a C++ BitTorrent library Group: Development/Libraries/C and C++ +Requires: %lname = %version %description devel LibTorrent is a BitTorrent library written in C++. It transfers @@ -67,24 +71,25 @@ export CXXFLAGS="$CFLAGS" %if 0%{?suse_version} >= 1220 export CXXFLAGS="$CXXFLAGS -std=gnu++11" %endif -%configure --enable-ipv6 --with-posix-fallocate --with-xmlrpc-c +autoreconf -fiv +%configure --enable-ipv6 --with-posix-fallocate make %{?_smp_mflags} %install make install DESTDIR="%buildroot" find "%buildroot" -type f -name "*.la" -delete -%post -n %name%soname -p /sbin/ldconfig -%postun -n %name%soname -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n %name%soname +%files -n %lname %defattr(-,root,root) -%_libdir/%name.so.%{soname}* +%_libdir/libtorrent.so.* %files -n %name-devel %defattr(-,root,root) -%_includedir/torrent -%_libdir/%name.so +%_includedir/torrent/ +%_libdir/libtorrent.so %_libdir/pkgconfig/libtorrent.pc %changelog