Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bajizs_cnt:DBMail
libzdb
libzdb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libzdb.spec of Package libzdb
# # spec file for package libzdb # # Copyright (c) 2014 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libzdb %define libsoname %{name}13 Summary: Zild Database Library Version: 3.2.2 Release: 0 License: GPL-3.0+ Group: System/Libraries Url: http://www.tildeslash.com/libzdb/ Source0: http://www.tildeslash.com/%{name}/dist/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: flex BuildRequires: mysql-devel BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: postgresql-devel %if %{defined suse_version} BuildRequires: sqlite3-devel %endif %if %{defined centos} BuildRequires: libsqlite3x-devel %endif BuildRequires: re2c #BuildRequires: openssl-devel %description The Zild Database Library implements a small, fast, and easy to use database API with thread-safe connection pooling. The library can connect transparently to multiple database systems, has zero configuration and connections are specified via a standard URL scheme. %package -n %{libsoname} Summary: Shared library for libzdb Group: System/Libraries Provides: libzdb %description -n %{libsoname} Zild Database Library This package contains the shared libzdb library %package devel Summary: Development files for libzdb Group: Development/Libraries/C and C++ Requires: %{libsoname} = %{version} %description devel The libraries and header files for developing applications that use libzdb %prep %setup -q %build %configure \ --disable-static \ --enable-sqliteunlock \ --enable-protected # disabled option because cant build in newver system like opensuse 15.x # --enable-openssl \ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" # remove static libs find %{buildroot} -name '*.la' -exec rm -f {} \; %post -n %{libsoname} -p /sbin/ldconfig %postun -n %{libsoname} -p /sbin/ldconfig %files -n %{libsoname} %defattr(-,root,root,-) %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root,-) %doc AUTHORS CHANGES COPYING README %{_libdir}/%{name}.so %{_libdir}/pkgconfig/zdb.pc %{_includedir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor