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