libdbi-vl.spec 5.9 KB

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