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