%define major %(echo 2.0.1 | cut -d. -f1) Name: libtalloc Epoch: 1 Version: 2.4.1 Release: 3mamba Summary: The talloc library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://talloc.samba.org/talloc/doc/html/index.html Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libbsd-devel BuildRequires: libpython3-devel BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.11 BuildRequires: autoconf BuildRequires: docbook-xsl BuildRequires: libxslt Provides: %{name}-static Obsoletes: %{name}-static < 1:2.3.4 Provides: pytalloc Obsoletes: pytalloc < 1:2.3.4 Obsoletes: python-talloc < 1:2.3.4 Obsoletes: python-talloc-py3 < 1:2.4.1-3mamba Obsoletes: python-talloc-py36 < 1:2.3.4 %description %{name} is a hierarchical, reference counted memory pool system with destructors. It is the core memory allocator used in Samba. %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} needed for development Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: pytalloc-devel Obsoletes: pytalloc-devel < 1:2.3.4 %description devel %{name} is a hierarchical, reference counted memory pool system with destructors. This package contains libraries and header files needed for development. %debug_package %prep %setup -q -n talloc-%{version} %build %configure #\ # --extra-python=%{__python36} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_datadir}/swig/*/talloc.i chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version} #chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libtalloc.so.* %{_libdir}/libpytalloc-util.cpython-*.so.* %{python3_sitearch}/talloc.cpython-*.so %files devel %defattr(-,root,root) %{_includedir}/talloc.h %{_includedir}/pytalloc.h %{_libdir}/libtalloc.so %{_libdir}/libpytalloc-util.cpython-*-linux-gnu*.so %{_libdir}/pkgconfig/talloc.pc %{_libdir}/pkgconfig/pytalloc-util.cpython-*-linux-gnu*.pc %{_mandir}/man3/talloc.3* %doc NEWS %changelog * Fri Oct 06 2023 Silvan Calarco 2.4.1-3mamba - integrate python-talloc into libtalloc to ease multilib PackageKit upgrade * Sun Oct 01 2023 Silvan Calarco 2.4.1-2mamba - rebuilt with python3 == 3.11 * Fri Jul 21 2023 Automatic Build System 2.4.1-1mamba - automatic version update by autodist * Sat Jan 21 2023 Automatic Build System 2.4.0-1mamba - automatic version update by autodist * Wed Jun 15 2022 Automatic Build System 2.3.4-1mamba - automatic version update by autodist * Fri Jul 16 2021 Automatic Build System 2.3.3-1mamba - automatic version update by autodist * Tue Feb 02 2021 Automatic Build System 2.3.2-1mamba - automatic version update by autodist * Mon Jan 06 2020 Silvan Calarco 2.3.1-3mamba - python-talloc-py3: obsolete python-talloc-py36 * Fri Jan 03 2020 Silvan Calarco 2.3.1-2mamba - added debug package * Tue Dec 31 2019 Automatic Build System 2.3.1-1mamba - automatic version update by autodist * Thu Nov 21 2019 Automatic Build System 2.3.0-1mamba - automatic version update by autodist * Fri Oct 04 2019 Automatic Build System 2.2.0-1mamba - automatic version update by autodist * Mon Apr 01 2019 Automatic Build System 2.1.16-1mamba - automatic version update by autodist * Sun Jul 29 2018 Automatic Build System 2.1.14-1mamba - automatic version update by autodist * Fri Apr 13 2018 Automatic Build System 2.1.13-1mamba - automatic version update by autodist * Wed Mar 28 2018 Automatic Build System 2.1.12-1mamba - automatic version update by autodist * Tue Jan 23 2018 Automatic Build System 2.1.11-1mamba - automatic version update by autodist * Thu Aug 10 2017 Automatic Build System 2.1.10-1mamba - automatic version update by autodist * Wed Mar 08 2017 Automatic Build System 2.1.9-1mamba - automatic version update by autodist * Mon Aug 08 2016 Automatic Build System 2.1.8-1mamba - automatic version update by autodist * Tue May 17 2016 Automatic Build System 2.1.7-1mamba - automatic version update by autodist * Mon Mar 14 2016 Automatic Build System 2.1.6-1mamba - automatic version update by autodist * Mon Nov 09 2015 Automatic Build System 2.1.5-1mamba - automatic version update by autodist * Thu Oct 22 2015 Automatic Build System 2.1.4-1mamba - automatic version update by autodist * Fri Jul 31 2015 Automatic Build System 2.1.3-1mamba - automatic version update by autodist * Wed Apr 01 2015 Automatic Build System 2.1.2-1mamba - automatic update by autodist * Sat May 24 2014 Automatic Build System 2.1.1-1mamba - automatic update by autodist * Sat Sep 14 2013 Automatic Build System 2.1.0-1mamba - automatic update by autodist * Tue Dec 04 2012 Automatic Build System 2.0.8-1mamba - automatic version update by autodist * Tue Oct 25 2011 Silvan Calarco 2.0.7-1mamba - update to 2.0.7 * Sat Feb 05 2011 Silvan Calarco 2.0.5-1mamba - update to 2.0.5 * Mon Jun 07 2010 gil 2.0.1-1mamba - package created by autospec