package created using the webbuild interface [release 3.0-1mamba;Sat Aug 09 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 06:15:52 +01:00
parent 4839b65ac7
commit ad9d6ad89d
2 changed files with 78 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libzdb # libzdb
Libzdb is a database library with thread-safe connection pooling. The library can connect transparently to multiple database systems. It has zero runtime configuration and connection is specified via a URL scheme.

76
libzdb.spec Normal file
View File

@ -0,0 +1,76 @@
Name: libzdb
Version: 3.0
Release: 1mamba
Summary: A database library with thread-safe connection pooling
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: System/Libraries
Source: http://www.tildeslash.com/libzdb/dist/libzdb-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libmysql-devel
BuildRequires: libpostgresql-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libzdb is a database library with thread-safe connection pooling. The library can connect transparently to multiple database systems. It has zero runtime configuration and connection is specified via a URL scheme.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libzdb.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/zdb/Connection.h
%{_includedir}/zdb/ConnectionPool.h
%{_includedir}/zdb/Exception.h
%{_includedir}/zdb/PreparedStatement.h
%{_includedir}/zdb/ResultSet.h
%{_includedir}/zdb/SQLException.h
%{_includedir}/zdb/URL.h
%{_includedir}/zdb/zdb.h
%{_libdir}/libzdb.a
%{_libdir}/libzdb.la
%{_libdir}/libzdb.so
%{_libdir}/pkgconfig/zdb.pc
%doc CHANGES README
%changelog
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
- package created using the webbuild interface