libdbi-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. Summary: Database Independent Abstraction Layer for C
  2. Name: libdbi
  3. Version: 0.8.4
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: LGPLv2+
  7. URL: http://libdbi.sourceforge.net/
  8. Source: http://prdownloads.sourceforge.net/libdbi/%{name}-%{version}.tar.gz
  9. Patch1: libdbi-cflags.patch
  10. Patch2: libdbi-leak.patch
  11. Patch3: libdbi-version.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: openjade docbook-style-dsssl
  14. Conflicts: libdbi-dbd-mysql < 0.8
  15. Conflicts: libdbi-dbd-pgsql < 0.8
  16. %description
  17. libdbi implements a database-independent abstraction layer in C, similar to the
  18. DBI/DBD layer in Perl. Writing one generic set of code, programmers can
  19. leverage the power of multiple databases and multiple simultaneous database
  20. connections by using this framework.
  21. The libdbi package contains just the libdbi framework. To make use of
  22. libdbi you will also need one or more plugins from libdbi-drivers, which
  23. contains the plugins needed to interface to specific database servers.
  24. %package devel
  25. Summary: Development files for libdbi (Database Independent Abstraction Layer for C)
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. The libdbi-devel package contains the header files and documentation
  30. needed to develop applications with libdbi.
  31. %clean
  32. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  33. %prep
  34. %setup -q -n %{name}-%{version}
  35. %patch1 -p1
  36. %patch2 -p1
  37. %patch3 -p1
  38. %build
  39. %configure
  40. make %{?_smp_mflags}
  41. %install
  42. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR=$RPM_BUILD_ROOT install
  44. rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdbi.a
  45. rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdbi.la
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root)
  50. %doc AUTHORS
  51. %doc ChangeLog
  52. %doc COPYING
  53. %doc README
  54. %{_libdir}/libdbi.so.*
  55. %files devel
  56. %defattr(-,root,root)
  57. %doc TODO
  58. %doc doc/programmers-guide.pdf
  59. %doc doc/programmers-guide/
  60. %doc doc/driver-guide.pdf
  61. %doc doc/driver-guide/
  62. /usr/include/dbi/
  63. %{_libdir}/libdbi.so
  64. %changelog
  65. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  66. - initial build for Vine Linux
  67. * Mon Jul 23 2012 Tom Lane <tgl@redhat.com> 0.8.4-2
  68. - Prevent undesirable change in library soname version number
  69. * Sun Jul 22 2012 Tom Lane <tgl@redhat.com> 0.8.4-1
  70. - Update to version 0.8.4 (seems to contain only configure-support updates,
  71. but might as well adopt it)
  72. - Fix memory leak due to incorrect test in _is_row_fetched()
  73. Related: #733413
  74. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-6
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  76. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-5
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  78. * Fri Sep 3 2010 Tom Lane <tgl@redhat.com> 0.8.3-4
  79. - Do not use -ffast-math; it breaks things and seems quite unlikely to offer
  80. any useful performance benefit for this type of package, anyway
  81. Resolves: #629964
  82. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-3
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  86. * Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 0.8.3-1
  87. - Update to version 0.8.3.
  88. * Tue Oct 30 2007 Tom Lane <tgl@redhat.com> 0.8.2-3
  89. - Fix package's selection of CFLAGS to include RPM_OPT_FLAGS
  90. Resolves: #330681
  91. * Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 0.8.2-2
  92. - Fix typo in Release field.
  93. * Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 0.8.2-1
  94. - Update to version 0.8.2.
  95. - Update License tag to match code.
  96. - Remove static library and .la file, per packaging guidelines.
  97. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-2.1
  98. - rebuild
  99. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.1-2
  100. - rebuild for -devel deps
  101. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-1.2.1
  102. - bump again for double-long bug on ppc(64)
  103. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.8.1-1.2
  104. - rebuilt for new gcc4.1 snapshot and glibc changes
  105. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  106. - rebuilt
  107. * Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 0.8.1-1
  108. - Update to version 0.8.1.
  109. * Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 0.7.2-2
  110. - Packaging improvements per discussion with sopwith.
  111. * Thu Mar 10 2005 Tom Lane <tgl@redhat.com> 0.7.2-1
  112. - Import new libdbi version, splitting libdbi-drivers into a separate SRPM
  113. so we can track new upstream packaging.
  114. * Sun Mar 6 2005 Tom Lane <tgl@redhat.com> 0.6.5-11
  115. - Rebuild with gcc4.
  116. * Mon Nov 08 2004 Tom Lane <tgl@redhat.com> 0.6.5-10
  117. - build against mysqlclient10, not mysql, for license reasons
  118. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  119. - rebuilt
  120. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  121. - rebuilt
  122. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  123. - rebuilt
  124. * Thu Jul 03 2003 Patrick Macdonald <patrickm@redhat.com> 0.6.5-7
  125. - rebuilt
  126. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  127. - rebuilt
  128. * Fri Jan 24 2003 Tom Lane <tgl@redhat.com>
  129. - /usr/include/dbi should be owned
  130. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  131. - rebuilt
  132. * Sun Dec 01 2002 Elliot Lee <sopwith@redhat.com> 0.6.5-3
  133. - multilibify
  134. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  135. - automated rebuild
  136. * Tue Jun 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.6.5-1
  137. - 0.6.5
  138. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  139. - automated rebuild
  140. * Wed Mar 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.6.4-2
  141. - 0.6.4
  142. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  143. - automated rebuild
  144. * Thu Sep 20 2001 Trond Eivind Glomsrd <teg@redhat.com> 0.6.2-1
  145. - Sanitize, prepare for distribution
  146. * Sat Aug 4 2001 David Parker <david@neongoat.com>
  147. - initial spec file created