Summary: A wrapper library for the Firebird C API Name: libfq Version: 0.5.0 Release: 2 Source: libfq-%{version}.tar.gz URL: https://github.com/ibarwick/libfq License: PostgreSQL Group: Development/Libraries/C and C++ Packager: Ian Barwick BuildRequires: firebird-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?rhel} && 0%{?rhel} >= 8 Requires: libfbclient2 %else Requires: firebird-libfbclient %endif %description A wrapper library for the Firebird C API, loosely based on libpq for PostgreSQL. %prep %setup %configure %build ./configure --prefix=%{_prefix} --with-ibase=/usr/include/firebird --libdir=/usr/lib64/ make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) /usr/lib64/libfq.a /usr/lib64/libfq.la /usr/lib64/libfq.so /usr/lib64/libfq-%version.so /usr/include/libfq-expbuffer.h /usr/include/libfq-int.h /usr/include/libfq.h %changelog * Wed Dec 28 2022 Ian Barwick (barwick@gmail.com) - libfq 0.5.0 * Sun Feb 20 2022 Ian Barwick (barwick@gmail.com) - libfq 0.4.3 * Sat Oct 17 2020 Ian Barwick (barwick@gmail.com) - libfq 0.4.2 * Fri May 31 2019 Ian Barwick (barwick@gmail.com) - libfq 0.4.1 * Fri Nov 9 2018 Ian Barwick (barwick@gmail.com) - libfq 0.4.0 * Fri Sep 28 2018 Ian Barwick (barwick@gmail.com) - libfq 0.3.0 * Sat Apr 21 2018 Ian Barwick (barwick@gmail.com) - libfq 0.2.0 * Tue Feb 11 2014 Ian Barwick (barwick@gmail.com) - libfq 0.1.4 * Sun Feb 2 2014 Ian Barwick (barwick@gmail.com) - First draft