Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
xbsql
xbsql.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xbsql.spec of Package xbsql
# # spec file for package xbsql # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define lib_name lib%{name}0 Name: xbsql Version: 0.11 Release: 0 Summary: SQL Wrapper for the XBase Library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: http://www.quaking.demon.co.uk/xbsql.html Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}.diff Patch1: xbsql-0.11-bufferoverflowstrncat.patch # PATCH-FIX-OPENSUSE xbase64.patch -- fix build with latest xbase(64) 3.1.2 in Factory Patch2: xbase64.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: readline-devel BuildRequires: xbase-devel %description XBase DBMS is a C++ library that supports access to XBase type data files and indexes (.dbf and related files, for example). It provides record level access to these files. %package -n %{lib_name} Summary: Shared libraries for %{name} Group: System/Libraries %description -n %{lib_name} XBase DBMS is a C++ library that supports access to XBase type data files and indexes (.dbf and related files, for example). It provides record level access to these files. This package contains shared libraries %package devel Summary: Files for developing with %{name} Group: Development/Libraries/C and C++ Requires: %{lib_name} = %{version} %description devel XBase DBMS is a C++ library that supports access to XBase type data files and indexes (.dbf and related files, for example). It provides record level access to these files. This package contains development files %prep %setup -q %patch -P 0 %patch -P 1 %patch -P 2 -p1 %build autoreconf -fi %configure --disable-static rm xbsql/lex.yy.c %make_build -C xbsql lex.yy.c %make_build %check cd test %make_build ./runtests %install %make_install # # solve file conflict with perl-XML-XQL # mv %{buildroot}%{_bindir}/xql %{buildroot}%{_bindir}/XQL find %{buildroot} -type f -name "*.la" -delete -print %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %files %license COPYING %doc AUTHORS TODO README doc %{_bindir}/* %files -n %{lib_name} %{_libdir}/libxbsql.so.* %files devel %{_includedir}/* %{_libdir}/libxbsql.so %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