libtalloc/libtalloc.spec

207 lines
6.6 KiB
RPMSpec
Raw Normal View History

%define major %(echo 2.0.1 | cut -d. -f1)
Name: libtalloc
Epoch: 1
Version: 2.4.1
Release: 1mamba
Summary: The talloc library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
## AUTOBUILDREQ-END
BuildRequires: autoconf
BuildRequires: docbook-xsl
BuildRequires: libxslt
Provides: %{name}-static
Obsoletes: %{name}-static < 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 need for development.
%package -n python-talloc
Group: System/Libraries
Summary: A wrapper for libtalloc for use in Python programs
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-talloc
%{name} is a hierarchical, reference counted memory pool system with destructors.
This package contains a wrapper for libtalloc for use in Python programs.
%package -n python-talloc-py3
Group: System/Libraries
Summary: A wrapper for libtalloc for use in Python programs
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: pytalloc
Obsoletes: pytalloc < 1:2.3.4
Obsoletes: python-talloc < 1:2.3.4
Obsoletes: python-talloc-py36 < 1:2.3.4
%description -n python-talloc-py3
%{name} is a hierarchical, reference counted memory pool system with destructors.
This package contains a wrapper for libtalloc for use in Python programs.
%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.so.*
%doc NEWS
%files devel
%defattr(-,root,root)
%{_includedir}/talloc.h
%{_libdir}/libtalloc.so
%{_libdir}/pkgconfig/talloc.pc
%{_mandir}/man3/talloc.3*
%{_includedir}/pytalloc.h
#%{_libdir}/libpytalloc-util.so
#%{_libdir}/pkgconfig/pytalloc-util.pc
#%files -n python-talloc
#%defattr(-,root,root)
#%{python3_sitearch}/talloc.so
%files -n python-talloc-py3
%defattr(-,root,root)
%{_libdir}/libpytalloc-util.cpython-3*m-*-linux-gnu*.so*
%{_libdir}/pkgconfig/pytalloc-util.cpython-3*m-*-linux-gnu*.pc
%{python3_sitelib}/talloc.cpython-3*m-*-linux-gnu*.so
%changelog
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Fri Jul 16 2021 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
* Tue Feb 02 2021 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* 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
* Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 2.1.16-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Automatic Build System <autodist@mambasoft.it> 2.1.14-1mamba
- automatic version update by autodist
* Fri Apr 13 2018 Automatic Build System <autodist@mambasoft.it> 2.1.13-1mamba
- automatic version update by autodist
* Wed Mar 28 2018 Automatic Build System <autodist@mambasoft.it> 2.1.12-1mamba
- automatic version update by autodist
* Tue Jan 23 2018 Automatic Build System <autodist@mambasoft.it> 2.1.11-1mamba
- automatic version update by autodist
* Thu Aug 10 2017 Automatic Build System <autodist@mambasoft.it> 2.1.10-1mamba
- automatic version update by autodist
* Wed Mar 08 2017 Automatic Build System <autodist@mambasoft.it> 2.1.9-1mamba
- automatic version update by autodist
* Mon Aug 08 2016 Automatic Build System <autodist@mambasoft.it> 2.1.8-1mamba
- automatic version update by autodist
* Tue May 17 2016 Automatic Build System <autodist@mambasoft.it> 2.1.7-1mamba
- automatic version update by autodist
* Mon Mar 14 2016 Automatic Build System <autodist@mambasoft.it> 2.1.6-1mamba
- automatic version update by autodist
* Mon Nov 09 2015 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
- automatic version update by autodist
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
- automatic version update by autodist
* Fri Jul 31 2015 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic update by autodist
* 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