2024-01-06 06:15:52 +01:00
|
|
|
Name: libzdb
|
2024-01-06 06:15:52 +01:00
|
|
|
Version: 3.2
|
2024-01-06 06:15:52 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:15:52 +01:00
|
|
|
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
|
2024-01-06 06:15:52 +01:00
|
|
|
Patch0: libzdb-3.2-add_missing_assert_include.patch
|
2024-01-06 06:15:52 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:15:52 +01:00
|
|
|
BuildRequires: libmysqlclient-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 06:15:52 +01:00
|
|
|
BuildRequires: libpostgresql-devel
|
|
|
|
BuildRequires: libsqlite-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
|
2024-01-06 06:15:52 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 06:15:52 +01:00
|
|
|
|
|
|
|
%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)
|
2024-01-06 06:15:52 +01:00
|
|
|
%{_includedir}/zdb/*.h
|
2024-01-06 06:15:52 +01:00
|
|
|
%{_libdir}/libzdb.a
|
|
|
|
%{_libdir}/libzdb.la
|
|
|
|
%{_libdir}/libzdb.so
|
|
|
|
%{_libdir}/pkgconfig/zdb.pc
|
|
|
|
%doc CHANGES README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:15:52 +01:00
|
|
|
* Sun Aug 18 2019 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:15:52 +01:00
|
|
|
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 06:15:52 +01:00
|
|
|
* Fri May 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-2mamba
|
|
|
|
- rebuilt with mariadb
|
|
|
|
|
2024-01-06 06:15:52 +01:00
|
|
|
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
|
|
|
|
- package created using the webbuild interface
|