Browse Source

libtalloc-2.0.5-9, libtdb-1.2.9-10

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3095 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 13 years ago
parent
commit
02eb6e5ee7
2 changed files with 369 additions and 0 deletions
  1. 176 0
      lib/libt/libtalloc/libtalloc-vl.spec
  2. 193 0
      lib/libt/libtdb/libtdb-vl.spec

+ 176 - 0
lib/libt/libtalloc/libtalloc-vl.spec

@@ -0,0 +1,176 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
+Name: libtalloc
+Version: 2.0.5
+Release: 9%{?_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-locatio.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 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
+
+* Thu 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

+ 193 - 0
lib/libt/libtdb/libtdb-vl.spec

@@ -0,0 +1,193 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
+Name: libtdb
+Version: 1.2.9
+Release: 10%{?_dist_release}
+Group: System Environment/Libraries
+Summary: The tdb library
+License: LGPLv3+
+URL: http://tdb.samba.org/
+Source: http://samba.org/ftp/tdb/tdb-%{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-locatio.patch
+
+%description
+A library that implements a trivial database.
+
+%package devel
+Group: Development/Libraries
+Summary: Header files need to link the Tdb library
+Requires: libtdb = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+Header files needed to develop programs that link against the Tdb library.
+
+%package -n tdb-tools
+Group: Development/Libraries
+Summary: Developer tools for the Tdb library
+Requires: libtdb = %{version}-%{release}
+
+%description -n tdb-tools
+Tools to manage Tdb files
+
+%package -n python-tdb
+Group: Development/Libraries
+Summary: Python bindings for the Tdb library
+Requires: libtdb = %{version}-%{release}
+
+%description -n python-tdb
+Python bindings for libtdb
+
+%if %build_compat32
+
+%package -n compat32-libtdb
+Summary: The TDB library
+Group: System Environment/Libraries
+
+%description -n compat32-libtdb
+A library that implements a trivial database.
+
+%endif
+
+%prep
+%setup -q -n tdb-%{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}/libtdb.a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libtdb.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/tdb.h
+%{_libdir}/libtdb.so
+%{_libdir}/pkgconfig/tdb.pc
+
+%files -n tdb-tools
+%defattr(-,root,root,-)
+%{_bindir}/tdbbackup
+%{_bindir}/tdbdump
+%{_bindir}/tdbtool
+%{_bindir}/tdbrestore
+%{_mandir}/man8/tdbbackup.8*
+%{_mandir}/man8/tdbdump.8*
+%{_mandir}/man8/tdbtool.8*
+%{_mandir}/man8/tdbrestore.8*
+
+%files -n python-tdb
+%defattr(-,root,root,-)
+%{python_sitearch}/tdb.so
+
+%if %build_compat32
+
+%files -n compat32-libtdb
+%attr(755,root,root) %{_libdir}/libtdb.so.*
+
+%endif
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n python-tdb -p /sbin/ldconfig
+
+%postun -n python-tdb -p /sbin/ldconfig
+
+%if %build_compat32
+
+%post -n compat32-libtdb -p /sbin/ldconfig
+%postun -n compat32-libtdb -p /sbin/ldconfig
+
+%endif
+
+%changelog
+* Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.9-10
+- initial build for Vine Linux.
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-8
+- Actually fix the verbosity
+
+* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-7
+- Let rpmbuild strip binaries, make build more verbose.
+- Original patch by Ville Skyttä <ville.skytta@iki.fi>
+
+* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-6
+- Install python bindings into the correct location
+
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-5
+- Run ldconfig on python-tdb
+
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-4
+- Do not delete a necessary file during %%install
+
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-3
+- Bump release to rebuild with the correct sources in place
+
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-2
+- Bump build to rebuild with sources in place
+
+* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-1
+- New upstream bugfix release
+- Adds a new tdbrestore utility
+- Convert to new WAF build-system
+- Add python bindings in new python-tdb subpackage
+
+* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-3
+- add missing build require
+
+* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-2
+- Fix spec file
+- Package manpages too
+
+* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-1
+- New upstream bugfix release
+
+* Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 1.2.0-1
+- New upstream release
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-1
+- Original tarballs had a screw-up, rebuild with new fixed tarballs from
+  upstream.
+
+* Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.1.5-0
+- New upstream release
+
+* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
+- First public independent release from upstream