1
0
forked from pool/libtorrent

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
This commit is contained in:
Dominique Leuenberger 2015-11-18 21:34:38 +00:00 committed by Git OBS Bridge
parent c60eb0fa71
commit 6b33d4f727
4 changed files with 39 additions and 20 deletions

3
0.13.6.tar.gz Normal file
View File

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

View File

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

View File

@ -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 Sat Jul 19 10:15:20 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libtorrent # 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 # 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,42 +16,46 @@
# #
Name: libtorrent Name: libtorrent
Version: 0.13.4 %define lname libtorrent19
Version: 0.13.6
Release: 0 Release: 0
%define soname 18
Summary: A BitTorrent library written in C++ Summary: A BitTorrent library written in C++
License: SUSE-GPL-2.0+-with-openssl-exception License: SUSE-GPL-2.0+-with-openssl-exception
Group: Productivity/Networking/File-Sharing Group: Productivity/Networking/File-Sharing
URL: http://libtorrent.rakshasa.no/ Url: http://github.com/rakshasa/libtorrent
#Git-Clone: git://github.com/rakshasa/libtorrent #Git-Clone: git://github.com/rakshasa/libtorrent
Source: http://libtorrent.rakshasa.no/downloads/%name-%version.tar.gz Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
BuildRoot: %_tmppath/%name-%version-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cppunit-devel BuildRequires: cppunit-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
#BuildRequires: libxmlrpc-c-devel BuildRequires: libtool
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: zlib-devel
%description %description
LibTorrent is a BitTorrent library written in C++. It transfers LibTorrent is a BitTorrent library written in C++. It transfers
directly from file pages to the network stack, and achieves 3x higher directly from file pages to the network stack, and achieves 3x higher
seed speeds than the official client on high-bandwidth links. seed speeds than the official client on high-bandwidth links.
%package -n %name%soname %package -n %lname
Summary: A BitTorrent library written in C++ Summary: A BitTorrent library written in C++
Group: System/Libraries Group: System/Libraries
%description -n %name%soname %description -n %lname
LibTorrent is a BitTorrent library written in C++. It transfers LibTorrent is a BitTorrent library written in C++. It transfers
directly from file pages to the network stack, and achieves 3x higher directly from file pages to the network stack, and achieves 3x higher
seed speeds than the official client on high-bandwidth links. seed speeds than the official client on high-bandwidth links.
%package devel %package devel
Requires: %name%soname = %version
Summary: Development files for libtorrent, a C++ BitTorrent library Summary: Development files for libtorrent, a C++ BitTorrent library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel %description devel
LibTorrent is a BitTorrent library written in C++. It transfers LibTorrent is a BitTorrent library written in C++. It transfers
@ -67,24 +71,25 @@ export CXXFLAGS="$CFLAGS"
%if 0%{?suse_version} >= 1220 %if 0%{?suse_version} >= 1220
export CXXFLAGS="$CXXFLAGS -std=gnu++11" export CXXFLAGS="$CXXFLAGS -std=gnu++11"
%endif %endif
%configure --enable-ipv6 --with-posix-fallocate --with-xmlrpc-c autoreconf -fiv
%configure --enable-ipv6 --with-posix-fallocate
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR="%buildroot" 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 %lname -p /sbin/ldconfig
%postun -n %name%soname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %name%soname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/%name.so.%{soname}* %_libdir/libtorrent.so.*
%files -n %name-devel %files -n %name-devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/torrent %_includedir/torrent/
%_libdir/%name.so %_libdir/libtorrent.so
%_libdir/pkgconfig/libtorrent.pc %_libdir/pkgconfig/libtorrent.pc
%changelog %changelog