libtalloc-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libtalloc
  3. Version: 2.1.9
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. Summary: The talloc library
  7. License: LGPLv3+
  8. URL: http://talloc.samba.org/
  9. Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
  10. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
  11. BuildRequires: autoconf
  12. BuildRequires: libxslt
  13. BuildRequires: docbook-style-xsl
  14. BuildRequires: python-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: tomop
  18. # Patches
  19. Patch0001: 0001-Install-python-bindings-in-the-arch-specific-location.patch
  20. %description
  21. A library that implements a hierarchical allocator with destructors.
  22. %package devel
  23. Group: Development/Libraries
  24. Summary: Developer tools for the Talloc library
  25. Requires: libtalloc = %{version}-%{release}
  26. %description devel
  27. Header files needed to develop programs that link against the Talloc library.
  28. %package -n pytalloc
  29. Group: Development/Libraries
  30. Summary: Developer tools for the Talloc library
  31. Requires: libtalloc = %{version}-%{release}
  32. %description -n pytalloc
  33. Pytalloc libraries for creating python bindings using talloc
  34. %package -n pytalloc-devel
  35. Group: Development/Libraries
  36. Summary: Developer tools for the Talloc library
  37. Requires: pytalloc = %{version}-%{release}
  38. %description -n pytalloc-devel
  39. Development libraries for pytalloc
  40. %if %build_compat32
  41. %package -n compat32-libtalloc
  42. Summary: The talloc library
  43. Group: System Environment/Libraries
  44. %description -n compat32-libtalloc
  45. A library that implements a hierarchical allocator with destructors.
  46. %endif
  47. %prep
  48. %setup -q -n talloc-%{version}
  49. %patch0001 -p1
  50. %build
  51. #./autogen.sh
  52. %configure --disable-rpath --bundled-libraries=NONE
  53. make %{?_smp_mflags} V=1
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make install DESTDIR=$RPM_BUILD_ROOT
  57. # Shared libraries need to be marked executable for
  58. # rpmbuild to strip them and include them in debuginfo
  59. find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
  60. rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
  61. rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files
  65. %defattr(-,root,root,-)
  66. %{_libdir}/libtalloc.so.*
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_includedir}/talloc.h
  70. %{_libdir}/libtalloc.so
  71. %{_libdir}/pkgconfig/talloc.pc
  72. %{_mandir}/man3/talloc.3.gz
  73. %files -n pytalloc
  74. %defattr(-,root,root,-)
  75. %{_libdir}/libpytalloc-util.so.*
  76. %{python_sitearch}/talloc.so
  77. %files -n pytalloc-devel
  78. %defattr(-,root,root,-)
  79. %{_includedir}/pytalloc.h
  80. %{_libdir}/pkgconfig/pytalloc-util.pc
  81. %{_libdir}/libpytalloc-util.so
  82. %if %build_compat32
  83. %files -n compat32-libtalloc
  84. %attr(755,root,root) %{_libdir}/libtalloc.so.*
  85. %endif
  86. %post -p /sbin/ldconfig
  87. %postun -p /sbin/ldconfig
  88. %post -n pytalloc -p /sbin/ldconfig
  89. %postun -n pytalloc -p /sbin/ldconfig
  90. %if %build_compat32
  91. %post -n compat32-libtalloc -p /sbin/ldconfig
  92. %postun -n compat32-libtalloc -p /sbin/ldconfig
  93. %endif
  94. %changelog
  95. * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.9-1
  96. - new upstream release.
  97. * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1
  98. - new upstream release.
  99. * Wed Jun 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.7-1
  100. - new upstream release.
  101. * Thu Mar 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.6-1
  102. - new upstream release.
  103. * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.5-1
  104. - new upstream release.
  105. * Tue Nov 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
  106. - new upstream release.
  107. * Fri Jul 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
  108. - new upstream release.
  109. * Fri Apr 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
  110. - new upstream release.
  111. * Tue Aug 19 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
  112. - new upstream release.
  113. * Wed Jan 08 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-2
  114. - rebuilt with current environment.
  115. * Tue Oct 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
  116. - new upstream release.
  117. * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-1
  118. - new upstream release.
  119. * Sat Apr 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-1
  120. - new upstream release.
  121. - updated Patch0001.
  122. * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.5-10
  123. - rebuild with python-2.7.2
  124. * Thu Mar 24 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-9
  125. - initial build for Vine Linux.
  126. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  128. * Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7
  129. - Let rpmbuild strip binaries, make build more verbose.
  130. - Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped,
  131. - empty -debuginfo
  132. - Original patch by Ville Skyttä <ville.skytta@iki.fi>
  133. * Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-6
  134. - Install python bindings in the correct location
  135. * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-5
  136. - Run ldconfig on pytalloc
  137. * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-4
  138. - Fix build failure on 32-bit platforms
  139. * Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3
  140. - New version from upstream
  141. - Add support for pytalloc
  142. - Convert to new WAF build-system
  143. * Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 2.0.1-1
  144. - New version from upstream
  145. - Also stop building the compat lib, it is not necessary anymore
  146. * Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 2.0.0-0
  147. - New version from upstream.
  148. - Build also sover 1 compat library to ease packages migration
  149. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
  150. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  151. * Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-1
  152. - Original tarballs had a screw-up, rebuild with new fixed tarballs from
  153. upstream.
  154. * Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-0
  155. - New Upstream release.
  156. * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0
  157. - First public independent release from upstream