%bcond_without check %bcond_without doc Name: libpqxx Summary: C++ client API for PostgreSQL Epoch: 1 Version: 7.7.5 Release: 2%{?dist} %global forgeurl https://github.com/jtv/%{name}/ %global tag %{version} %forgemeta License: BSD URL: http://pqxx.org/ Source0: %{forgesource} BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: libpq-devel %if %{with check} BuildRequires: postgresql-test-rpm-macros %endif %if %{with doc} BuildRequires: doxygen BuildRequires: graphviz BuildRequires: xmlto %endif %description C++ client API for PostgreSQL. The standard front-end (in the sense of "language binding") for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: pkgconfig %description devel %{summary}. %if %{with doc} %package doc Summary: Developer documentation for %{name} BuildArch: noarch %description doc %{summary}. %endif %prep %forgeautosetup %build %cmake -G Ninja \ %if %{with doc} -DBUILD_DOC=ON %endif %cmake_build %install %cmake_install %check %if %{with check} %postgresql_tests_run cd "%{_vpath_builddir}/test" %__ctest -V --force-new-ctest-process %{?_smp_mflags} cd - %endif %files %doc AUTHORS NEWS README.md VERSION %license COPYING %{_libdir}/%{name}-7.7.so %files devel %dir %{_libdir}/cmake/%{name} %{_includedir}/pqxx %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake/%{name}/%{name}-config.cmake %{_libdir}/cmake/%{name}/%{name}-config-version.cmake %{_libdir}/cmake/%{name}/%{name}-targets.cmake %{_libdir}/cmake/%{name}/%{name}-targets-noconfig.cmake %if %{with doc} %files doc %dir %{_docdir}/%{name} %{_docdir}/%{name}/accessing-results.md %{_docdir}/%{name}/binary-data.md %{_docdir}/%{name}/datatypes.md %{_docdir}/%{name}/escaping.md %{_docdir}/%{name}/getting-started.md %{_docdir}/%{name}/mainpage.md %{_docdir}/%{name}/parameters.md %{_docdir}/%{name}/performance.md %{_docdir}/%{name}/prepared-statement.md %{_docdir}/%{name}/streams.md %{_docdir}/%{name}/thread-safety.md %{_docdir}/%{name}/html %endif %changelog * Thu Jul 20 2023 Fedora Release Engineering - 1:7.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 30 2023 Björn Esser - 1:7.7.5-1 - Update to v7.7.5 Fixes rhbz#2068018 * Thu Jan 19 2023 Fedora Release Engineering - 1:7.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 16 2022 Ondřej Sloup - 1:7.7.0-4 - Rebuild for new PostgreSQL 15 * Thu Jul 21 2022 Fedora Release Engineering - 1:7.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1:7.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 10 2022 Björn Esser - 1:7.7.0-1 - Update to v7.7.0 * Mon Jan 10 2022 Björn Esser - 1:7.6.1-1 - Update to v7.6.1 Fixes rhbz#2038699 * Tue Aug 17 2021 Björn Esser - 1:7.6.0-1 - Update to v7.6.0 * Tue Aug 17 2021 Björn Esser - 1:7.5.2-1 - Update to v7.5.2 * Sat Jul 31 2021 Matthew Krupcale - 1:7.3.1-6 - Remove unnecessary BuildRequires which conflicts with libpq-devel * Thu Jul 22 2021 Fedora Release Engineering - 1:7.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 10 2021 Sandro Mani - 1:7.3.1-4 - Rebuild * Mon Feb 08 2021 Pavel Raiskup - 1:7.3.1-3 - rebuild for libpq ABI fix rhbz#1908268 * Tue Jan 26 2021 Fedora Release Engineering - 1:7.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 11 2021 Matthew Krupcale - 1:7.3.1-1 - Update to v7.3.1 - Enable LTO * Thu Aug 06 2020 Jeff Law - 1:7.1.2-4 - Disable LTO * Sat Aug 01 2020 Fedora Release Engineering - 1:7.1.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1:7.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 24 2020 Matthew Krupcale - 1:7.1.2-1 - Update to v7.1.2 * Sat May 9 2020 Matthew Krupcale - 1:7.0.7-1 - Update to v7.0.7 * Fri Apr 24 2020 Matthew Krupcale - 1:7.0.6-1 - Update to v7.0.6 * Sun Mar 22 2020 Matthew Krupcale - 1:7.0.5-1 - Update to v7.0.5 * Sat Feb 8 2020 Matthew Krupcale - 1:7.0.1-1 - Update to v7.0.1 and switch to CMake build system * Wed Jan 29 2020 Fedora Release Engineering - 1:4.0.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1:4.0.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1:4.0.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Aug 27 2018 Pavel Raiskup - 4.0.1-16 - don't ignore testsuite failures, run it against live PostgreSQL server * Fri Jul 20 2018 Rex Dieter - 1:4.0.1-15 - fix calls to /usr/bin/python (#1604643) * Fri Jul 13 2018 Fedora Release Engineering - 1:4.0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Mar 15 2018 Iryna Shcherbina - 1:4.0.1-13 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Mar 07 2018 Rex Dieter - 1:4.0.1-12 - BR: gcc-c++, use %%license %%make_build %%make_install * Wed Feb 07 2018 Fedora Release Engineering - 1:4.0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1:4.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1:4.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jun 24 2017 Dave Johansen - 1:4.0.1-8 - Fix linker issue during configure * Fri Feb 10 2017 Fedora Release Engineering - 1:4.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1:4.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1:4.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Apr 19 2015 Rex Dieter 4.0.1-4 - rebuild (gcc5) * Thu Feb 26 2015 Rex Dieter 1:4.0.1-3 - rebuild (gcc5) * Sun Aug 17 2014 Fedora Release Engineering - 1:4.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jun 24 2014 Rex Dieter 1:4.0.1-1 - 4.0.1 * Sat Jun 07 2014 Fedora Release Engineering - 1:3.2-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Sep 20 2013 Rex Dieter - 1:3.2-0.6 - .spec cleanup - -doc subpkg - (re)enable %%check * Sat Aug 03 2013 Fedora Release Engineering - 1:3.2-0.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1:3.2-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1:3.2-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1:3.2-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 01 2011 Andreas Bierfert - 1:3.2-0.1 - version upgrade - upstream fixes for gcc4.6 - fix ftbfs (rhbz#716147) * Tue Feb 08 2011 Fedora Release Engineering - 1:3.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Sep 29 2009 Rex Dieter - 1:3.0.2-4 - Epoch: 1 - libpqxx-3.0.2 * Sat Jul 25 2009 Fedora Release Engineering - 3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Apr 09 2009 Rex Dieter 3.0.0-1 - libpqxx-3.0 * Tue Mar 03 2009 Robert Scheck - 2.6.8-12 - Rebuilt against libtool 2.2 * Wed Feb 25 2009 Fedora Release Engineering - 2.6.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Rex Dieter 2.6.8-10 - gcc43 patch - fix multilib conflicts (#342331) * Mon Feb 18 2008 Fedora Release Engineering - 2.6.8-9 - Autorebuild for GCC 4.3 * Sun Dec 09 2007 Rex Dieter 2.6.8-8 - cosmetics * Fri Aug 17 2007 Rex Dieter 2.6.8-7 - update Source URL's * Mon Jun 04 2007 Rex Dieter 2.6.8-6 - 2.6.9 pulled, revert to 2.6.8 (for koffice) * Tue May 22 2007 Rex Dieter 2.6.9-1 - libpqxx-2.6.9 * Wed Dec 06 2006 Rex Dieter 2.6.8-5 - re-enable visibility patch (bummer, still needed) * Wed Dec 06 2006 Rex Dieter 2.6.8-4 - respin for postgresql - drop visibility patch * Wed Oct 04 2006 Rex Dieter 2.6.8-3 - respin * Wed Sep 20 2006 Rex Dieter 2.6.8-1 - fc6+: drop -Werror (for now) - include %%check section (not used, by default) * Fri Sep 15 2006 Andreas Bierfert 2.6.7-2 - version upgrade * Thu Aug 03 2006 Andreas Bierfert 2.6.7-1 - version upgrade - fix #192933 * Mon May 29 2006 Andreas Bierfert 2.6.6-1 - version upgrade * Thu Feb 16 2006 Andreas Bierfert 2.5.5-7 - Rebuild for Fedora Extras 5 * Wed Sep 28 2005 Andreas Bierfert 2.5.5-6 - fix #169441 * Tue Sep 27 2005 Andreas Bierfert 2.5.5-5 - try fc5 build * Tue Sep 27 2005 Andreas Bierfert 2.5.5-4 - version upgrade * Tue Jul 05 2005 Andreas Bierfert 2.5.4-4 - add dist tag * Fri Jul 01 2005 Andreas Bierfert 2.5.4-3 - add postgresql-devel to Requires for devel package - get rid of -R option in pqxx-config - don't need BuildRequires perl * Thu Jun 30 2005 Andreas Bierfert 2.5.4-2 - Drop explicit Requires for ldconfig * Sat Jun 25 2005 Andreas Bierfert 2.5.4-1 - Initial Release