1
0
forked from pool/libtorrent

Accepting request 241614 from network:utilities

- Update to new upstream release 0.13.4

OBS-URL: https://build.opensuse.org/request/show/241614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtorrent?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2014-07-21 19:40:03 +00:00 committed by Git OBS Bridge
parent 59ee52aba2
commit c60eb0fa71
4 changed files with 49 additions and 31 deletions

View File

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

3
libtorrent-0.13.4.tar.gz Normal file
View File

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

View File

@ -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

View File

@ -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