automatic version update by autodist [release 2.0.3-1mamba;Sat Apr 10 2021]

This commit is contained in:
Automatic Build System 2024-01-06 05:56:59 +01:00
parent 426721cec7
commit 965ccdfde7

View File

@ -1,14 +1,14 @@
%define pkgdir %(echo %version | tr . _) %define pkgdir %(echo %version | tr . _)
Name: libtorrent-rasterbar Name: libtorrent-rasterbar
Version: 1.2.10 Version: 2.0.3
Release: 2mamba 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: https://github.com/arvidn/libtorrent.git/libtorrent-%{version}/libtorrent-%{version}.tar.bz2 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 #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 Patch1: libtorrent-1.1.9-libboost-include.patch
@ -23,7 +23,6 @@ BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libboost-devel >= 1.69.0-2mamba BuildRequires: libboost-devel >= 1.69.0-2mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
@ -35,8 +34,7 @@ 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
@ -52,9 +50,13 @@ This package contains Python bindings for the libtorrent-rasterbar library.
%prep %prep
%setup -q -n libtorrent-%{version} %setup -q -n libtorrent-%{version}
#%patch1 -p1 #%patch1 -p1
./autotool.sh
%build %build
%cmake -d build
%make
:<< _OLD
#./autotool.sh #./autotool.sh
%configure \ %configure \
--enable-python-binding \ --enable-python-binding \
@ -70,7 +72,7 @@ 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}"
@ -86,19 +88,25 @@ 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
%{_datadir}/cmake/Modules/FindLibtorrentRasterbar.cmake %{_datadir}/cmake/Modules/FindLibtorrentRasterbar.cmake
%dir %{_libdir}/cmake/LibtorrentRasterbar
%{_libdir}/cmake/LibtorrentRasterbar/LibtorrentRasterbar*.cmake
%doc ChangeLog NEWS %doc ChangeLog NEWS
%files -n python-%{name} #%files -n python-%{name}
%defattr(-,root,root) #%defattr(-,root,root)
%{python3_sitearch}/libtorrent.cpython-3*.so #%{python3_sitearch}/libtorrent.cpython-3*.so
%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info #%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info
%changelog %changelog
* 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 * Mon Sep 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- rebuilt with -std=c++14 to fix link with qbittorrent - rebuilt with -std=c++14 to fix link with qbittorrent