source: projects/specs/trunk/lib/libd/libdbi/libdbi-vl.spec @ 6774

Revision 6774, 5.8 KB checked in by Takemikaduchi, 12 years ago (diff)

libalkimia, libdbi: new package
others: new upstream release

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