libdbi-vl.spec 6.1 KB

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