diff --git a/libtorrent-0.13.3.tar.xz b/libtorrent-0.13.3.tar.xz deleted file mode 100644 index 4fbdfb2..0000000 --- a/libtorrent-0.13.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a50fcd1337942e48b0856ff572a67b2ec52d15032092ebd0c4b3a1d0475461cb -size 464136 diff --git a/libtorrent-0.13.4.tar.gz b/libtorrent-0.13.4.tar.gz new file mode 100644 index 0000000..e9c4762 --- /dev/null +++ b/libtorrent-0.13.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:704e097119dc89e2ee4630396b25de1cd64b0549841347ea75b9ef9217084955 +size 768382 diff --git a/libtorrent.changes b/libtorrent.changes index 855ee85..f5787db 100644 --- a/libtorrent.changes +++ b/libtorrent.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jul 19 10:15:20 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 0.13.4 +* Don't start requesting more peers if connected to PEX-enabled + peers. +* Added exception for if the transfer list isn't empty at dtor. +* Added special handling of peers that do choke+unchoke before + transfering pieces. + ------------------------------------------------------------------- Fri Feb 8 03:40:09 UTC 2013 - jengelh@inai.de diff --git a/libtorrent.spec b/libtorrent.spec index d7a4020..6f19e1d 100644 --- a/libtorrent.spec +++ b/libtorrent.spec @@ -1,7 +1,7 @@ # # spec file for package libtorrent # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,40 +17,46 @@ Name: libtorrent -Version: 0.13.3 +Version: 0.13.4 Release: 0 -%define soname 17 -Summary: A BitTorrent library written in C++ for *nix +%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://libtorrent.rakshasa.no/ #Git-Clone: git://github.com/rakshasa/libtorrent -Source: %name-%version.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: http://libtorrent.rakshasa.no/downloads/%name-%version.tar.gz +BuildRoot: %_tmppath/%name-%version-build +BuildRequires: cppunit-devel BuildRequires: gcc-c++ -BuildRequires: libsigc++2-devel +#BuildRequires: libxmlrpc-c-devel BuildRequires: openssl-devel BuildRequires: pkg-config -BuildRequires: xz %description -LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client. +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} -Summary: A BitTorrent library written in C++ for *nix +%package -n %name%soname +Summary: A BitTorrent library written in C++ Group: System/Libraries -%description -n %{name}%{soname} -LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client. +%description -n %name%soname +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: A BitTorrent library written in C++ for *nix +Requires: %name%soname = %version +Summary: Development files for libtorrent, a C++ BitTorrent library Group: Development/Libraries/C and C++ %description devel -LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client. +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. %prep %setup -q @@ -58,25 +64,27 @@ LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high %build export CFLAGS="%optflags -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" -%configure --enable-ipv6 --with-posix-fallocate +%if 0%{?suse_version} >= 1220 +export CXXFLAGS="$CXXFLAGS -std=gnu++11" +%endif +%configure --enable-ipv6 --with-posix-fallocate --with-xmlrpc-c make %{?_smp_mflags} %install make install DESTDIR="%buildroot" -find "%{buildroot}" -type f -name "*.la" -delete +find "%buildroot" -type f -name "*.la" -delete -%post -n %{name}%{soname} -p /sbin/ldconfig +%post -n %name%soname -p /sbin/ldconfig +%postun -n %name%soname -p /sbin/ldconfig -%postun -n %{name}%{soname} -p /sbin/ldconfig - -%files -n %{name}%{soname} +%files -n %name%soname %defattr(-,root,root) -%{_libdir}/%{name}.so.%{soname}* +%_libdir/%name.so.%{soname}* -%files -n %{name}-devel +%files -n %name-devel %defattr(-,root,root) -%{_includedir}/torrent -%{_libdir}/%{name}.so -%{_libdir}/pkgconfig/libtorrent.pc +%_includedir/torrent +%_libdir/%name.so +%_libdir/pkgconfig/libtorrent.pc %changelog