5 Commits

2 changed files with 73 additions and 5 deletions

View File

@ -0,0 +1,19 @@
--- libtorrent-1.1.9/include/libtorrent/export.hpp.orig 2018-08-21 19:22:33.369754452 +0200
+++ libtorrent-1.1.9/include/libtorrent/export.hpp 2018-08-21 19:22:19.349682663 +0200
@@ -34,14 +34,14 @@
#define TORRENT_EXPORT_HPP_INCLUDED
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG)
-# include <boost/config/select_compiler_config.hpp>
+# include <boost/config/detail/select_compiler_config.hpp>
#endif
#ifdef BOOST_COMPILER_CONFIG
# include BOOST_COMPILER_CONFIG
#endif
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG)
-# include <boost/config/select_platform_config.hpp>
+# include <boost/config/detail/select_platform_config.hpp>
#endif
#ifdef BOOST_PLATFORM_CONFIG
# include BOOST_PLATFORM_CONFIG

View File

@ -1,5 +1,6 @@
%define pkgdir %(echo %version | tr . _)
Name: libtorrent-rasterbar
Version: 0.16.17
Version: 1.2.10
Release: 1mamba
Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use
Group: System/Libraries
@ -7,8 +8,10 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.libtorrent.org/
Source: http://downloads.sourceforge.net/project/libtorrent/libtorrent/libtorrent-rasterbar-%{version}.tar.gz
Source: https://github.com/arvidn/libtorrent.git/libtorrent-%{version}/libtorrent-%{version}.tar.bz2
#Source: https://github.com/arvidn/libtorrent/releases/download/libtorrent_%{pkgdir}/libtorrent-rasterbar-%{version}.tar.gz
Patch0: %{name}-0.13.1-boost-1.36.patch
Patch1: libtorrent-1.1.9-libboost-include.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -20,6 +23,7 @@ BuildRequires: libpython-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libboost-devel >= 1.69.0-2mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -44,14 +48,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-%{name}
This package contains Python bindings for the libtorrent-rasterbar library.
%debug_package
%prep
%setup -q
%setup -q -n libtorrent-%{version}
#%patch1 -p1
./autotool.sh
%build
#./autotool.sh
%configure \
--enable-python-binding \
--with-libgeoip \
--with-boost-system=mt
--with-boost-system
%make V=1 \
%ifarch x86_64
@ -80,7 +89,8 @@ This package contains Python bindings for the libtorrent-rasterbar library.
%{_libdir}/libtorrent-rasterbar.la
%{_libdir}/libtorrent-rasterbar.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README
%{_datadir}/cmake/Modules/FindLibtorrentRasterbar.cmake
%doc ChangeLog NEWS
%files -n python-%{name}
%defattr(-,root,root)
@ -88,6 +98,45 @@ This package contains Python bindings for the libtorrent-rasterbar library.
%{python_sitearch}/python_libtorrent-*
%changelog
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
- update to 1.2.10
* Mon Apr 27 2020 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
- automatic version update by autodist
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 1.2.5-1mamba
- automatic version update by autodist
* Mon Feb 17 2020 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic version update by autodist
* Sat Feb 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-1mamba
- update to 1.2.3
* Tue Feb 12 2019 Automatic Build System <autodist@mambasoft.it> 1.1.12-2mamba
- automatic version update by autodist
* Tue Feb 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.12-1mamba
- update to 1.1.12
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.9-1mamba
- update to 1.1.9
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic version update by autodist
* Sat Apr 22 2017 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- update to 1.1.0
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic version update by autodist
* Thu Jul 24 2014 Automatic Build System <autodist@mambasoft.it> 0.16.17-1mamba
- automatic version update by autodist