diff --git a/libdbi-0.8.4.tar.gz b/libdbi-0.8.4.tar.gz deleted file mode 100644 index 29b9611..0000000 --- a/libdbi-0.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef38db616f0752ccb09b8ba2eac471722369b8ded50b153c25e238cac2c8de99 -size 1045247 diff --git a/libdbi-0.9.0.tar.gz b/libdbi-0.9.0.tar.gz new file mode 100644 index 0000000..2c5bf06 --- /dev/null +++ b/libdbi-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503 +size 1194284 diff --git a/libdbi.changes b/libdbi.changes index 9f23807..4ae9911 100644 --- a/libdbi.changes +++ b/libdbi.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Sep 3 13:53:28 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 0.9.0 +* libdbi now supports multiple independent "instances", which + permit programs to use several dlopen()ed modules which are + linked against libdbi. Support for transactions and savepoints + has been added, and drivers now receive additional hints to + optimize sequential reads from result sets. +- Wrap description at 70 cols + ------------------------------------------------------------------- Mon Sep 24 21:22:26 UTC 2012 - andreas.stieger@gmx.de diff --git a/libdbi.spec b/libdbi.spec index 207c227..48b9f7b 100644 --- a/libdbi.spec +++ b/libdbi.spec @@ -1,7 +1,7 @@ # # spec file for package libdbi # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,35 +16,35 @@ # +Name: libdbi %define lname libdbi1 - +Version: 0.9.0 +Release: 0 Summary: Database Independent Abstraction Layer for C License: LGPL-2.1+ Group: Development/Libraries/C and C++ +Url: http://libdbi.sf.net/ -Name: libdbi -Version: 0.8.4 -Release: 0 -Url: http://libdbi.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz +Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description -libdbi implements a database-independent abstraction layer in C, similar to the -DBI/DBD layer in Perl. Writing one generic set of code, programmers can -leverage the power of multiple databases and multiple simultaneous database -connections by using this framework. +libdbi implements a database-independent abstraction layer in C, +similar to the DBI/DBD layer in Perl. Writing one generic set of +code, programmers can leverage the power of multiple databases and +multiple simultaneous database connections by using this framework. %package -n %{lname} Summary: Database Independent Abstraction Layer for C -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n %{lname} -libdbi implements a database-independent abstraction layer in C, similar to the -DBI/DBD layer in Perl. Writing one generic set of code, programmers can -leverage the power of multiple databases and multiple simultaneous database -connections by using this framework. +libdbi implements a database-independent abstraction layer in C, +similar to the DBI/DBD layer in Perl. Writing one generic set of +code, programmers can leverage the power of multiple databases and +multiple simultaneous database connections by using this framework. %package devel Summary: Development files for libdbi (Database Independent Abstraction Layer for C) @@ -61,8 +61,7 @@ sed -i s,\-O20,\-O3,g configure %build %configure --disable-docs --disable-static -# this project fails to respect the rules for CFLAGS. -make %{?_smp_mflags} AM_CFLAGS="%optflags" +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -77,11 +76,9 @@ rm README.win32 %files devel %defattr(-,root,root) %doc TODO doc/programmers-guide.pdf doc/programmers-guide/ doc/driver-guide.pdf doc/driver-guide/ -%dir /usr/include/dbi -/usr/include/dbi/dbi.h -/usr/include/dbi/dbi-dev.h -/usr/include/dbi/dbd.h +%_includedir/dbi/ %{_libdir}/libdbi.so +%_libdir/pkgconfig/dbi.pc %post -n %{lname} -p /sbin/ldconfig