Accepting request 231263 from server:database

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/231263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbi?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2014-04-26 08:05:37 +00:00 committed by Git OBS Bridge
parent ef6ab13f97
commit 704261d4fd
5 changed files with 48 additions and 28 deletions

View File

@ -1,4 +1,4 @@
libdbi1 libdbi3
libdbi-devel libdbi-devel
requires -libdbi-<targettype> requires -libdbi-<targettype>
requires "libdbi1-<targettype> = <version>" requires "libdbi3-<targettype> = <version>"

3
libdbi-0.9.0.g23.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8c882f81a67c391ad7a9129666801ed961dcf370d2b57b1792b1360a4bc929f
size 100924

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503
size 1194284

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 17 14:55:28 UTC 2014 - jengelh@inai.de
- Update to git snapshot 0.9.0+git23
* api: offer DATETIME fields also as a "struct tm"
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 3 13:53:28 UTC 2013 - jengelh@inai.de Tue Sep 3 13:53:28 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libdbi # spec file for package libdbi
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,33 @@
Name: libdbi Name: libdbi
%define lname libdbi1 %define lname libdbi3
Version: 0.9.0 Version: 0.9.0.g23
#Snapshot: libdbi-0.9.0-23-gef3e376
Release: 0 Release: 0
Summary: Database Independent Abstraction Layer for C Summary: Database Independent Abstraction Layer for C
License: LGPL-2.1+ License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://libdbi.sf.net/ URL: http://libdbi.sf.net/
Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz #Source: http://downloads.sf.net/libdbi/%name-%version.tar.gz
Source: %name-%version.tar.xz
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %_tmppath/%name-%version-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xz
%define build_doc 1
%if %build_doc
# Only needed when doc is not already prebuilt
BuildRequires: docbook-dsssl-stylesheets
BuildRequires: openjade
BuildRequires: texlive-collection-fontsrecommended
BuildRequires: texlive-jadetex
BuildRequires: texlive-pdftex-bin
%endif
%description %description
libdbi implements a database-independent abstraction layer in C, libdbi implements a database-independent abstraction layer in C,
@ -36,11 +51,11 @@ similar to the DBI/DBD layer in Perl. Writing one generic set of
code, programmers can leverage the power of multiple databases and code, programmers can leverage the power of multiple databases and
multiple simultaneous database connections by using this framework. multiple simultaneous database connections by using this framework.
%package -n %{lname} %package -n %lname
Summary: Database Independent Abstraction Layer for C Summary: Database Independent Abstraction Layer for C
Group: System/Libraries Group: System/Libraries
%description -n %{lname} %description -n %lname
libdbi implements a database-independent abstraction layer in C, libdbi implements a database-independent abstraction layer in C,
similar to the DBI/DBD layer in Perl. Writing one generic set of similar to the DBI/DBD layer in Perl. Writing one generic set of
code, programmers can leverage the power of multiple databases and code, programmers can leverage the power of multiple databases and
@ -49,39 +64,38 @@ multiple simultaneous database connections by using this framework.
%package devel %package devel
Summary: Development files for libdbi (Database Independent Abstraction Layer for C) Summary: Development files for libdbi (Database Independent Abstraction Layer for C)
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %lname = %version
%description devel %description devel
The libdbi-devel package contains the header files and documentation The libdbi-devel package contains the header files and documentation
needed to develop applications with libdbi. needed to develop applications with libdbi.
%prep %prep
%setup -q %setup -qn %name
sed -i s,\-O20,\-O3,g configure
%build %build
%configure --disable-docs --disable-static autoreconf -fi
sed -i s,\-O20,\-O3,g configure
%configure --disable-static --docdir="%_docdir/%name"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make install DESTDIR="%buildroot"
rm %buildroot/%{_libdir}/libdbi.la rm README.win32 "%buildroot/%_libdir/libdbi.la"
rm README.win32
%files -n %{lname} %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README* %doc AUTHORS ChangeLog COPYING README*
%{_libdir}/libdbi.so.* %_libdir/libdbi.so.3*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc TODO doc/programmers-guide.pdf doc/programmers-guide/ doc/driver-guide.pdf doc/driver-guide/
%_includedir/dbi/ %_includedir/dbi/
%{_libdir}/libdbi.so %_libdir/libdbi.so
%_libdir/pkgconfig/dbi.pc %_libdir/pkgconfig/dbi.pc
%_docdir/%name/
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%changelog %changelog