[rb_libtorrent] upstream release 1.0.1

leigh123linux leigh123linux at fedoraproject.org
Mon Aug 18 17:11:16 UTC 2014


commit 04ea3c2a1696e9ecb9d13c5c8e77ba48d947835d
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Aug 18 18:10:44 2014 +0100

    upstream release 1.0.1

 .gitignore                                         |    1 +
 rb_libtorrent-0.16.10-boost_noncopyable.patch      |   12 -----
 rb_libtorrent-0.16.16-upnp_remove_port0..patch     |   50 --------------------
 ..._mt.patch => rb_libtorrent-1.0.1-boost_mt.patch |    6 +-
 rb_libtorrent-1.0.1-boost_noncopyable.patch        |   11 ++++
 rb_libtorrent.spec                                 |   28 ++++++-----
 sources                                            |    2 +-
 7 files changed, 31 insertions(+), 79 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a3d7b2c..2512b95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /libtorrent-rasterbar-0.16.11.tar.gz
 /libtorrent-rasterbar-0.16.16.tar.gz
 /libtorrent-rasterbar-0.16.17.tar.gz
+/libtorrent-rasterbar-1.0.1.tar.gz
diff --git a/rb_libtorrent-0.16.16-boost_mt.patch b/rb_libtorrent-1.0.1-boost_mt.patch
similarity index 70%
rename from rb_libtorrent-0.16.16-boost_mt.patch
rename to rb_libtorrent-1.0.1-boost_mt.patch
index f65f8b4..431509e 100644
--- a/rb_libtorrent-0.16.16-boost_mt.patch
+++ b/rb_libtorrent-1.0.1-boost_mt.patch
@@ -1,9 +1,9 @@
---- libtorrent-rasterbar-0.16.16/libtorrent-rasterbar.pc~	2014-03-23 19:26:09.000000000 +0000
-+++ libtorrent-rasterbar-0.16.16/libtorrent-rasterbar.pc	2014-04-21 10:18:31.153443147 +0100
+--- libtorrent-rasterbar-1.0.1/libtorrent-rasterbar.pc	2014-08-04 04:05:26.000000000 +0100
++++ libtorrent-rasterbar-1.0.1/libtorrent-rasterbar.pc	2014-08-18 17:39:22.658036935 +0100
 @@ -11,6 +11,6 @@ package=libtorrent-rasterbar
  Name: libtorrent-rasterbar
  Description: Bittorrent library.
- Version: 0.16.17
+ Version: 1.0.1
 -Libs: -L${libdir} -ltorrent-rasterbar -lboost_system-mt 
 +Libs: -L${libdir} -ltorrent-rasterbar -lboost_system
  Libs.private:    -lssl -lcrypto 
diff --git a/rb_libtorrent-1.0.1-boost_noncopyable.patch b/rb_libtorrent-1.0.1-boost_noncopyable.patch
new file mode 100644
index 0000000..519d4f4
--- /dev/null
+++ b/rb_libtorrent-1.0.1-boost_noncopyable.patch
@@ -0,0 +1,11 @@
+--- libtorrent-rasterbar-1.0.1/include/libtorrent/disk_buffer_pool.hpp	2014-07-03 05:53:49.000000000 +0100
++++ libtorrent-rasterbar-1.0.1/include/libtorrent/disk_buffer_pool.hpp	2014-08-18 17:43:37.380809092 +0100
+@@ -40,6 +40,8 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include "libtorrent/session_settings.hpp"
+ #include "libtorrent/allocator.hpp"
+ 
++#include <boost/noncopyable.hpp>
++
+ #ifndef TORRENT_DISABLE_POOL_ALLOCATOR
+ #include <boost/pool/pool.hpp>
+ #endif
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index 68b1f2f..833ebe7 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -1,17 +1,17 @@
 Name:		rb_libtorrent
-Version:	0.16.17
-Release:	2%{?dist}
+Version:	1.0.1
+Release:	1%{?dist}
 Summary:	A C++ BitTorrent library aiming to be the best alternative
 
 Group:		System Environment/Libraries
 License:	BSD
 URL:		http://www.rasterbar.com/products/libtorrent/
-Source0:        http://downloads.sourceforge.net/libtorrent/libtorrent-rasterbar-%{version}.tar.gz
+Source0:         http://downloads.sourceforge.net/libtorrent/libtorrent-rasterbar-%{version}.tar.gz
 Source1:	%{name}-README-renames.Fedora
 Source2:	%{name}-COPYING.Boost
 Source3:	%{name}-COPYING.zlib
-Patch0:		%{name}-0.16.16-boost_mt.patch
-Patch1:		%{name}-0.16.10-boost_noncopyable.patch
+Patch0:		%{name}-1.0.1-boost_mt.patch
+Patch1:		%{name}-1.0.1-boost_noncopyable.patch
 
 BuildRequires:	asio-devel
 BuildRequires:	boost-devel
@@ -110,12 +110,13 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
 
 %build
 %configure \
-	--disable-static				\
-	--enable-examples				\
-	--enable-python-binding				\
+	--disable-static			\
+	--enable-examples			\
+	--enable-python-binding			\
 	--with-boost-system=boost_system		\
 	--with-boost-python=boost_python		\
-	--with-libgeoip=system				
+	--with-libgeoip=system			\
+	--with-libiconv
 
 make V=1 %{?_smp_mflags}
 
@@ -146,7 +147,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
 
 %files
 %doc AUTHORS ChangeLog COPYING README
-%{_libdir}/libtorrent-rasterbar.so.7*
+%{_libdir}/libtorrent-rasterbar.so.8*
 
 %files	devel
 %doc COPYING.Boost COPYING.BSD COPYING.zlib docs/ 
@@ -158,11 +159,8 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
 %doc COPYING README-renames.Fedora
 %{_bindir}/*torrent*
 %{_bindir}/connection_tester
-%{_bindir}/enum_if
 %{_bindir}/parse_*
 %{_bindir}/rss_reader
-%{_bindir}/utp_test
-%{_bindir}/fragmentation_test
 %{_bindir}/upnp_test
 
 %files	python
@@ -171,6 +169,10 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
 %{python_sitearch}/libtorrent.so
 
 %changelog
+* Mon Aug 18 2014 Leigh Scott <leigh123linux at googlemail.com> - 1.0.1-1
+- upstream release 1.0.1
+- update patches
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16.17-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 5dcedcd..24440c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-34f01b9f755d1822cb761f8d8eb07bb8  libtorrent-rasterbar-0.16.17.tar.gz
+864b389b62c7c21cda67a0eb93a00bce  libtorrent-rasterbar-1.0.1.tar.gz


More information about the scm-commits mailing list