123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: libtalloc
- Version: 2.1.9
- Release: 1%{?_dist_release}
- Group: System Environment/Libraries
- Summary: The talloc library
- License: LGPLv3+
- URL: http://talloc.samba.org/
- Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
- BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
- BuildRequires: autoconf
- BuildRequires: libxslt
- BuildRequires: docbook-style-xsl
- BuildRequires: python-devel
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: tomop
- # Patches
- Patch0001: 0001-Install-python-bindings-in-the-arch-specific-location.patch
- %description
- A library that implements a hierarchical allocator with destructors.
- %package devel
- Group: Development/Libraries
- Summary: Developer tools for the Talloc library
- Requires: libtalloc = %{version}-%{release}
- %description devel
- Header files needed to develop programs that link against the Talloc library.
- %package -n pytalloc
- Group: Development/Libraries
- Summary: Developer tools for the Talloc library
- Requires: libtalloc = %{version}-%{release}
- %description -n pytalloc
- Pytalloc libraries for creating python bindings using talloc
- %package -n pytalloc-devel
- Group: Development/Libraries
- Summary: Developer tools for the Talloc library
- Requires: pytalloc = %{version}-%{release}
- %description -n pytalloc-devel
- Development libraries for pytalloc
- %if %build_compat32
- %package -n compat32-libtalloc
- Summary: The talloc library
- Group: System Environment/Libraries
- %description -n compat32-libtalloc
- A library that implements a hierarchical allocator with destructors.
- %endif
- %prep
- %setup -q -n talloc-%{version}
- %patch0001 -p1
- %build
- #./autogen.sh
- %configure --disable-rpath --bundled-libraries=NONE
- make %{?_smp_mflags} V=1
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # Shared libraries need to be marked executable for
- # rpmbuild to strip them and include them in debuginfo
- find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
- rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
- rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %{_libdir}/libtalloc.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/talloc.h
- %{_libdir}/libtalloc.so
- %{_libdir}/pkgconfig/talloc.pc
- %{_mandir}/man3/talloc.3.gz
- %files -n pytalloc
- %defattr(-,root,root,-)
- %{_libdir}/libpytalloc-util.so.*
- %{python_sitearch}/talloc.so
- %files -n pytalloc-devel
- %defattr(-,root,root,-)
- %{_includedir}/pytalloc.h
- %{_libdir}/pkgconfig/pytalloc-util.pc
- %{_libdir}/libpytalloc-util.so
- %if %build_compat32
- %files -n compat32-libtalloc
- %attr(755,root,root) %{_libdir}/libtalloc.so.*
- %endif
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %post -n pytalloc -p /sbin/ldconfig
- %postun -n pytalloc -p /sbin/ldconfig
- %if %build_compat32
- %post -n compat32-libtalloc -p /sbin/ldconfig
- %postun -n compat32-libtalloc -p /sbin/ldconfig
- %endif
- %changelog
- * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.9-1
- - new upstream release.
- * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1
- - new upstream release.
- * Wed Jun 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.7-1
- - new upstream release.
- * Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.6-1
- - new upstream release.
- * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.5-1
- - new upstream release.
- * Tue Nov 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
- - new upstream release.
- * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
- - new upstream release.
- * Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
- - new upstream release.
- * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
- - new upstream release.
- * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-2
- - rebuilt with current environment.
- * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
- - new upstream release.
- * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-1
- - new upstream release.
- * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-1
- - new upstream release.
- - updated Patch0001.
- * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.5-10
- - rebuild with python-2.7.2
- * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-9
- - initial build for Vine Linux.
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7
- - Let rpmbuild strip binaries, make build more verbose.
- - Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped,
- - empty -debuginfo
- - Original patch by Ville Skyttä <ville.skytta@iki.fi>
- * Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-6
- - Install python bindings in the correct location
- * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-5
- - Run ldconfig on pytalloc
- * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-4
- - Fix build failure on 32-bit platforms
- * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3
- - New version from upstream
- - Add support for pytalloc
- - Convert to new WAF build-system
- * Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 2.0.1-1
- - New version from upstream
- - Also stop building the compat lib, it is not necessary anymore
- * Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 2.0.0-0
- - New version from upstream.
- - Build also sover 1 compat library to ease packages migration
- * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-1
- - Original tarballs had a screw-up, rebuild with new fixed tarballs from
- upstream.
- * Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-0
- - New Upstream release.
- * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0
- - First public independent release from upstream
|