Browse Source

new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10370 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 7 years ago
parent
commit
ee22cafdf8
1 changed files with 20 additions and 12 deletions
  1. 20 12
      lib/libt/libtorrent-rasterbar/libtorrent-rasterbar-vl.spec

+ 20 - 12
lib/libt/libtorrent-rasterbar/libtorrent-rasterbar-vl.spec

@@ -2,8 +2,8 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:		libtorrent-rasterbar
-Version:	0.16.13
-Release:	3%{?_dist_release}
+Version:	1.0.9
+Release:	1%{?_dist_release}
 Summary:	A C++ BitTorrent library aiming to be the best alternative
 Summary(ja):	最良の代替手段となることを目指す C++ BitTorrent ライブラリ
 
@@ -12,14 +12,16 @@ License:	BSD
 URL:		http://www.rasterbar.com/products/libtorrent/
 
 Source0:	http://downloads.sourceforge.net/libtorrent/libtorrent-rasterbar-%{version}.tar.gz
+# https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/libtorrent-rasterbar-%{version}.tar.gz
+
 Source1:	%{name}-COPYING.Boost
 Source2:	%{name}-COPYING.zlib
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
 BuildRequires:	asio-devel
-BuildRequires:	libboost-devel libboost-filesystem libboost-program-options
-BuildRequires:	libboost-python libboost-regex libboost-system libboost-thread
+BuildRequires:	libboost-devel libboost-filesystem libboost-program-options libboost-chrono
+BuildRequires:	libboost-python libboost-regex libboost-system libboost-thread libboost-random
 BuildRequires:	libtool
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools
@@ -90,6 +92,7 @@ module) that allow it to be used from within Python applications.
 
 %prep
 %setup -q -n "libtorrent-rasterbar-%{version}"
+
 ## The RST files are the sources used to create the final HTML files; and are
 ## not needed.
 rm -f docs/*.rst
@@ -110,9 +113,8 @@ rm -rf include/libtorrent/asio*
 %configure --disable-static				\
 	--enable-examples				\
 	--enable-python-binding				\
-	--with-zlib=system \
-	--with-boost-libdir=%{_libdir}				\
-	;
+	--with-boost-libdir=%{_libdir}
+
 #	--with-boost-filesystem=boost_filesystem-gcc41-mt-1_36 \
 #	--with-boost-program_options=boost_program_options-gcc41-mt-1_36 \
 #	--with-boost-python=mt				\
@@ -159,7 +161,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING README
+%doc AUTHORS ChangeLog COPYING
 %exclude %{_libdir}/*.la
 %{_libdir}/libtorrent-rasterbar.so.*
 ## Unfortunately (even with the "--disable-static" option to the %%configure
@@ -177,13 +179,13 @@ rm -rf %{buildroot}
 %files examples
 %{_bindir}/*torrent*
 %{_bindir}/connection_tester
-%{_bindir}/enum_if
-%{_bindir}/fragmentation_test
-%{_bindir}/parse_hash_fails
+#%{_bindir}/enum_if
+#%{_bindir}/fragmentation_test
+#%{_bindir}/parse_hash_fails
 %{_bindir}/parse_request_log
 %{_bindir}/rss_reader
 %{_bindir}/upnp_test
-%{_bindir}/utp_test
+#%{_bindir}/utp_test
    
 %files	python
 %defattr(-,root,root,-)
@@ -193,6 +195,12 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jun 14 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.9-1
+- new upstream release
+- added Buildrequires: libboost-chrono, libboost-random
+- deleted --with-zlib=system in %%configure
+- fixed -examples %%files
+
 * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.13-3
 - rebuild with openssl-1.0.2