Compare commits
7 Commits
1.2.10-2ma
...
2.0.9-1mam
Author | SHA1 | Date | |
---|---|---|---|
17e1930af3 | |||
c692df27b0 | |||
0f23298829 | |||
374bd2ca65 | |||
ff7b23e606 | |||
d5afa4f711 | |||
965ccdfde7 |
@ -1,29 +1,25 @@
|
||||
%define pkgdir %(echo %version | tr . _)
|
||||
Name: libtorrent-rasterbar
|
||||
Version: 1.2.10
|
||||
Release: 2mamba
|
||||
Version: 2.0.9
|
||||
Release: 1mamba
|
||||
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 <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.libtorrent.org/
|
||||
Source: https://github.com/arvidn/libtorrent.git/libtorrent-%{version}/libtorrent-%{version}.tar.bz2
|
||||
URL: https://www.libtorrent.org/
|
||||
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
|
||||
Patch1: libtorrent-1.1.9-libboost-include.patch
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libboost-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libboost-devel >= 1.69.0-2mamba
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
@ -35,14 +31,12 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%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.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n python-%{name}
|
||||
Summary: Python bindings for libtorrent-rasterbar
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%{py_requires}
|
||||
|
||||
%description -n python-%{name}
|
||||
This package contains Python bindings for the libtorrent-rasterbar library.
|
||||
@ -52,9 +46,13 @@ This package contains Python bindings for the libtorrent-rasterbar library.
|
||||
%prep
|
||||
%setup -q -n libtorrent-%{version}
|
||||
#%patch1 -p1
|
||||
./autotool.sh
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
|
||||
%make
|
||||
|
||||
:<< _OLD
|
||||
#./autotool.sh
|
||||
%configure \
|
||||
--enable-python-binding \
|
||||
@ -70,7 +68,7 @@ This package contains Python bindings for the libtorrent-rasterbar library.
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -86,19 +84,43 @@ This package contains Python bindings for the libtorrent-rasterbar library.
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libtorrent
|
||||
%{_libdir}/libtorrent-rasterbar.a
|
||||
%{_libdir}/libtorrent-rasterbar.la
|
||||
%{_libdir}/libtorrent-rasterbar.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/cmake/Modules/FindLibtorrentRasterbar.cmake
|
||||
%dir %{_libdir}/cmake/LibtorrentRasterbar
|
||||
%{_libdir}/cmake/LibtorrentRasterbar/LibtorrentRasterbar*.cmake
|
||||
%doc ChangeLog NEWS
|
||||
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/libtorrent.cpython-3*.so
|
||||
%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info
|
||||
#%files -n python-%{name}
|
||||
#%defattr(-,root,root)
|
||||
#%{python3_sitearch}/libtorrent.cpython-3*.so
|
||||
#%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user