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