From 5c40fc6bafb7920e26dbbb5b59cbd25aeaff4041 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:56:58 +0100 Subject: [PATCH] automatic version update by autodist [release 1.1.12-2mamba;Tue Feb 12 2019] --- libtorrent-1.1.9-libboost-include.patch | 19 ++++++++++++ libtorrent-rasterbar.spec | 39 +++++++++++++++++++++---- 2 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 libtorrent-1.1.9-libboost-include.patch diff --git a/libtorrent-1.1.9-libboost-include.patch b/libtorrent-1.1.9-libboost-include.patch new file mode 100644 index 0000000..d963d5b --- /dev/null +++ b/libtorrent-1.1.9-libboost-include.patch @@ -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 ++# include + #endif + #ifdef BOOST_COMPILER_CONFIG + # include BOOST_COMPILER_CONFIG + #endif + + #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) +-# include ++# include + #endif + #ifdef BOOST_PLATFORM_CONFIG + # include BOOST_PLATFORM_CONFIG diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 829c3a4..455ed63 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -1,14 +1,16 @@ +%define pkgdir %(echo %version | tr . _) Name: libtorrent-rasterbar -Version: 0.16.17 -Release: 1mamba +Version: 1.1.12 +Release: 2mamba Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.libtorrent.org/ -Source: http://downloads.sourceforge.net/project/libtorrent/libtorrent/libtorrent-rasterbar-%{version}.tar.gz +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 +22,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 @@ -46,12 +49,14 @@ This package contains Python bindings for the libtorrent-rasterbar library. %prep %setup -q +#%patch1 -p1 %build +#./autotool.sh %configure \ --enable-python-binding \ --with-libgeoip \ - --with-boost-system=mt + --with-boost-system %make V=1 \ %ifarch x86_64 @@ -80,7 +85,7 @@ 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 +%doc ChangeLog NEWS %files -n python-%{name} %defattr(-,root,root) @@ -88,6 +93,30 @@ This package contains Python bindings for the libtorrent-rasterbar library. %{python_sitearch}/python_libtorrent-* %changelog +* Tue Feb 12 2019 Automatic Build System 1.1.12-2mamba +- automatic version update by autodist + +* Tue Feb 12 2019 Silvan Calarco 1.1.12-1mamba +- update to 1.1.12 + +* Tue Aug 21 2018 Silvan Calarco 1.1.9-1mamba +- update to 1.1.9 + +* Mon Aug 07 2017 Automatic Build System 1.1.4-1mamba +- automatic version update by autodist + +* Sat Apr 22 2017 Automatic Build System 1.1.3-1mamba +- automatic version update by autodist + +* Sun Sep 11 2016 Automatic Build System 1.1.1-1mamba +- automatic version update by autodist + +* Fri May 20 2016 Silvan Calarco 1.1.0-1mamba +- update to 1.1.0 + +* Wed May 13 2015 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + * Thu Jul 24 2014 Automatic Build System 0.16.17-1mamba - automatic version update by autodist