Compare commits
16 Commits
0.16.16-1m
...
main
Author | SHA1 | Date | |
---|---|---|---|
c60959eb56 | |||
7dbe86f678 | |||
17e1930af3 | |||
c692df27b0 | |||
0f23298829 | |||
374bd2ca65 | |||
ff7b23e606 | |||
d5afa4f711 | |||
965ccdfde7 | |||
426721cec7 | |||
7c8aac42a7 | |||
7a9244d972 | |||
b66beb3455 | |||
43ca16e425 | |||
5c40fc6baf | |||
c9aff02f45 |
19
libtorrent-1.1.9-libboost-include.patch
Normal file
19
libtorrent-1.1.9-libboost-include.patch
Normal 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
|
@ -1,26 +1,25 @@
|
|||||||
|
%define pkgdir %(echo %version | tr . _)
|
||||||
Name: libtorrent-rasterbar
|
Name: libtorrent-rasterbar
|
||||||
Version: 0.16.16
|
Version: 2.0.11
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use
|
Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.libtorrent.org/
|
URL: https://www.libtorrent.org/
|
||||||
Source: http://downloads.sourceforge.net/project/libtorrent/libtorrent/libtorrent-rasterbar-%{version}.tar.gz
|
Source: https://github.com/arvidn/libtorrent.git/v%{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
|
Patch0: %{name}-0.13.1-boost-1.36.patch
|
||||||
|
Patch1: libtorrent-1.1.9-libboost-include.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libboost-devel
|
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libGeoIP-devel
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libpython-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRequires: libboost-devel >= 1.69.0-2mamba
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.
|
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.
|
||||||
@ -32,26 +31,33 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.
|
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
This package contains static libraries and header files need for development.
|
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
Summary: Python bindings for libtorrent-rasterbar
|
Summary: Python bindings for libtorrent-rasterbar
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
%{py_requires}
|
|
||||||
|
|
||||||
%description -n python-%{name}
|
%description -n python-%{name}
|
||||||
This package contains Python bindings for the libtorrent-rasterbar library.
|
This package contains Python bindings for the libtorrent-rasterbar library.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n libtorrent-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%cmake -d build
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
:<< _OLD
|
||||||
|
#./autotool.sh
|
||||||
%configure \
|
%configure \
|
||||||
--enable-python-binding \
|
--enable-python-binding \
|
||||||
--with-libgeoip \
|
--with-libgeoip \
|
||||||
--with-boost-system=mt
|
--with-boost-system \
|
||||||
|
CXXFLAGS="%{optflags} -std=c++14" \
|
||||||
|
PYTHON=%{__python3}
|
||||||
|
|
||||||
%make V=1 \
|
%make V=1 \
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -60,13 +66,11 @@ This package contains Python bindings for the libtorrent-rasterbar library.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -76,18 +80,94 @@ This package contains Python bindings for the libtorrent-rasterbar library.
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/libtorrent
|
%{_includedir}/libtorrent
|
||||||
%{_libdir}/libtorrent-rasterbar.a
|
|
||||||
%{_libdir}/libtorrent-rasterbar.la
|
|
||||||
%{_libdir}/libtorrent-rasterbar.so
|
%{_libdir}/libtorrent-rasterbar.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc ChangeLog NEWS README
|
%{_datadir}/cmake/Modules/FindLibtorrentRasterbar.cmake
|
||||||
|
%dir %{_libdir}/cmake/LibtorrentRasterbar
|
||||||
|
%{_libdir}/cmake/LibtorrentRasterbar/LibtorrentRasterbar*.cmake
|
||||||
|
%doc ChangeLog NEWS
|
||||||
|
|
||||||
%files -n python-%{name}
|
#%files -n python-%{name}
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{python_sitearch}/libtorrent.so
|
#%{python3_sitearch}/libtorrent.cpython-3*.so
|
||||||
%{python_sitearch}/python_libtorrent-*
|
#%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 28 2025 Automatic Build System <autodist@openmamba.org> 2.0.11-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 2.0.10-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon May 22 2023 Automatic Build System <autodist@mambasoft.it> 2.0.9-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Oct 24 2022 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Jul 18 2022 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-1mamba
|
||||||
|
- update to 2.0.6
|
||||||
|
|
||||||
|
* Sun Dec 05 2021 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Jun 07 2021 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Apr 10 2021 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Mar 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
||||||
|
- update to 2.0.2
|
||||||
|
|
||||||
|
* Mon Sep 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
|
||||||
|
- rebuilt with -std=c++14 to fix link with qbittorrent
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 0.16.16-1mamba
|
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 0.16.16-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user