%define pkgdir %(echo %version | tr . _) Name: libtorrent-rasterbar Version: 1.2.5 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 URL: http://www.libtorrent.org/ Source: https://github.com/arvidn/libtorrent.git/libtorrent-%{pkgdir}/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: libboost-devel BuildRequires: libgcc BuildRequires: libGeoIP-devel BuildRequires: libopenssl-devel 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 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. %package devel Summary: Devel package for %{name} Group: Development/Libraries 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. %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. %prep %setup -q -n libtorrent-%{version} #%patch1 -p1 ./autotool.sh %build #./autotool.sh %configure \ --enable-python-binding \ --with-libgeoip \ --with-boost-system %make V=1 \ %ifarch x86_64 LDFLAGS="-L%{_libdir}" %endif %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libtorrent-rasterbar.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/libtorrent %{_libdir}/libtorrent-rasterbar.a %{_libdir}/libtorrent-rasterbar.la %{_libdir}/libtorrent-rasterbar.so %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/libtorrent.so %{python_sitearch}/python_libtorrent-* %changelog * Mon Mar 30 2020 Automatic Build System 1.2.5-1mamba - automatic version update by autodist * Mon Feb 17 2020 Automatic Build System 1.2.4-1mamba - automatic version update by autodist * Sat Feb 01 2020 Silvan Calarco 1.2.3-1mamba - update to 1.2.3 * 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 * Fri Apr 04 2014 Automatic Build System 0.16.16-1mamba - automatic version update by autodist * Sat Mar 01 2014 Silvan Calarco 0.16.15-1mamba - update to 0.16.15 * Sun Jan 26 2014 Automatic Build System 0.16.12-1mamba - automatic version update by autodist * Tue May 21 2013 Silvan Calarco 0.16.9-2mamba - python 2.7 mass rebuild * Thu Mar 28 2013 Automatic Build System 0.16.9-1mamba - automatic version update by autodist * Wed Feb 27 2013 Automatic Build System 0.16.8-1mamba - automatic version update by autodist * Sun Jan 27 2013 Automatic Build System 0.16.7-1mamba - automatic version update by autodist * Tue Jan 08 2013 Automatic Build System 0.16.6-1mamba - automatic version update by autodist * Sat Dec 15 2012 Silvan Calarco 0.16.5-2mamba - libboost 1.52 mass rebuild * Sat Dec 01 2012 Automatic Build System 0.16.5-1mamba - automatic version update by autodist * Sun Jan 23 2011 Stefano Cotta Ramusino 0.15.5-1mamba - update to 0.15.5 * Wed Dec 15 2010 Automatic Build System 0.15.4-1mamba - update to 0.15.4 * Wed Dec 15 2010 Automatic Build System 0.15.0-3mamba - automatic rebuild by autodist * Sun Jun 13 2010 Automatic Build System 0.15.0-2mamba - automatic rebuild by autodist * Sun Jun 06 2010 Automatic Build System 0.15.0-1mamba - automatic update by autodist * Tue Jan 12 2010 Silvan Calarco 0.14.5-3mamba - remove temporary specfile build modifications (i.e. setup -D -T) to allow automatic rebuilds * Mon Jan 11 2010 Davide Madrisan 0.14.5-2mamba - build python bindings * Tue Aug 11 2009 Automatic Build System 0.14.5-1mamba - automatic update by autodist * Sat Jul 11 2009 Automatic Build System 0.14.4-1mamba - automatic update by autodist * Sun Jun 07 2009 Automatic Build System 0.14.2-3mamba - automatic rebuild by autodist * Thu Jun 04 2009 Automatic Build System 0.14.2-2mamba - automatic rebuild by autodist * Mon Mar 02 2009 Silvan Calarco 0.14.2-1mamba - automatic update by autodist * Fri Oct 31 2008 Silvan Calarco 0.13.1-1mamba - package created by autospec