10 Commits

Author SHA256 Message Date
7c06dd8bc0 Accepting request 1319132 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/1319132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpqxx?expand=0&rev=30
2025-11-24 13:08:51 +00:00
1eaee4d432 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=42 2025-11-21 15:29:39 +00:00
43a313bf2d - bump gcc to 12 for code15 because we need a compiler which
supports at least Standard C++17

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=41
2024-09-28 00:56:39 +00:00
4d80ae3b27 - Update to 7.9.2
https://github.com/jtv/libpqxx/releases/tag/7.8.0
  https://github.com/jtv/libpqxx/releases/tag/7.8.1
  https://github.com/jtv/libpqxx/releases/tag/7.9.0
  https://github.com/jtv/libpqxx/releases/tag/7.9.1
  https://github.com/jtv/libpqxx/releases/tag/7.9.2
- bump gcc to 12 for code15

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=40
2024-09-28 00:56:13 +00:00
f745fddc2d - Update to 7.7.5
https://github.com/jtv/libpqxx/releases/tag/7.6.1
  https://github.com/jtv/libpqxx/releases/tag/7.7.0
  https://github.com/jtv/libpqxx/releases/tag/7.7.1
  https://github.com/jtv/libpqxx/releases/tag/7.7.2
  https://github.com/jtv/libpqxx/releases/tag/7.7.3
  https://github.com/jtv/libpqxx/releases/tag/7.7.4
  https://github.com/jtv/libpqxx/releases/tag/7.7.5

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=39
2023-06-19 15:47:03 +00:00
db80aec250 - force newer gcc
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=38
2021-11-30 20:07:56 +00:00
71f4b6ea42 - Update to version 7.6.0
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=37
2021-11-30 19:51:22 +00:00
Josef Möllers
88096df7ba Accepting request 815427 from home:rmax:branches:server:database:postgresql
- Fix the handling of `pkg-config --libs` in configure and drop
  the build-dependency on postgresql-server-devel.

OBS-URL: https://build.opensuse.org/request/show/815427
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=36
2020-06-17 09:23:24 +00:00
64e8b8205d OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=35 2019-09-11 11:09:59 +00:00
14b3171c67 Accepting request 729696 from home:jengelh:branches:server:database:postgresql
- Trim filler wording from description and convert the long
  feature description to a bulleted list.

OBS-URL: https://build.opensuse.org/request/show/729696
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/libpqxx?expand=0&rev=34
2019-09-10 12:50:29 +00:00
4 changed files with 102 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86921fdb0fe54495a79d5af2c96f2c771098c31e9b352d0834230fd2799ad362
size 715081

3
libpqxx-7.10.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5ba455e4f28901297c18a76e533c466cbe8908d4b2ff6313235954bb37cef25
size 787055

View File

@@ -1,3 +1,76 @@
-------------------------------------------------------------------
Sun Nov 9 09:00:07 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Update to 7.10.3
https://github.com/jtv/libpqxx/releases/tag/7.10.0
https://github.com/jtv/libpqxx/releases/tag/7.10.1
https://github.com/jtv/libpqxx/releases/tag/7.10.2
https://github.com/jtv/libpqxx/releases/tag/7.10.3
- switch to cmake
-------------------------------------------------------------------
Sat Sep 28 00:53:28 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to 7.9.2
https://github.com/jtv/libpqxx/releases/tag/7.8.0
https://github.com/jtv/libpqxx/releases/tag/7.8.1
https://github.com/jtv/libpqxx/releases/tag/7.9.0
https://github.com/jtv/libpqxx/releases/tag/7.9.1
https://github.com/jtv/libpqxx/releases/tag/7.9.2
- bump gcc to 12 for code15 because we need a compiler which
supports at least Standard C++17
-------------------------------------------------------------------
Mon Jun 19 15:43:21 UTC 2023 - Reinhard Max <max@suse.com>
- Update to 7.7.5
https://github.com/jtv/libpqxx/releases/tag/7.6.1
https://github.com/jtv/libpqxx/releases/tag/7.7.0
https://github.com/jtv/libpqxx/releases/tag/7.7.1
https://github.com/jtv/libpqxx/releases/tag/7.7.2
https://github.com/jtv/libpqxx/releases/tag/7.7.3
https://github.com/jtv/libpqxx/releases/tag/7.7.4
https://github.com/jtv/libpqxx/releases/tag/7.7.5
-------------------------------------------------------------------
Tue Nov 30 20:07:27 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- force newer gcc
-------------------------------------------------------------------
Tue Nov 30 19:43:49 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 7.6.0
https://github.com/jtv/libpqxx/releases/tag/6.4.6
https://github.com/jtv/libpqxx/releases/tag/6.4.7
https://github.com/jtv/libpqxx/releases/tag/7.0.0
https://github.com/jtv/libpqxx/releases/tag/7.0.1
https://github.com/jtv/libpqxx/releases/tag/7.0.2
https://github.com/jtv/libpqxx/releases/tag/7.0.3
https://github.com/jtv/libpqxx/releases/tag/7.0.4
https://github.com/jtv/libpqxx/releases/tag/7.0.5
https://github.com/jtv/libpqxx/releases/tag/7.0.6
https://github.com/jtv/libpqxx/releases/tag/7.0.7
https://github.com/jtv/libpqxx/releases/tag/7.1.0
https://github.com/jtv/libpqxx/releases/tag/7.1.1
https://github.com/jtv/libpqxx/releases/tag/7.1.2
https://github.com/jtv/libpqxx/releases/tag/7.2.0
https://github.com/jtv/libpqxx/releases/tag/7.2.1
https://github.com/jtv/libpqxx/releases/tag/7.3.0
https://github.com/jtv/libpqxx/releases/tag/7.3.1
https://github.com/jtv/libpqxx/releases/tag/7.4.0
https://github.com/jtv/libpqxx/releases/tag/7.4.1
https://github.com/jtv/libpqxx/releases/tag/7.5.0
https://github.com/jtv/libpqxx/releases/tag/7.5.1
https://github.com/jtv/libpqxx/releases/tag/7.5.2
https://github.com/jtv/libpqxx/releases/tag/7.6.0
-------------------------------------------------------------------
Wed Jun 17 08:25:40 UTC 2020 - Reinhard Max <max@suse.com>
- Fix the handling of `pkg-config --libs` in configure and drop
the build-dependency on postgresql-server-devel.
-------------------------------------------------------------------
Mon Sep 9 08:19:23 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libpqxx
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,20 +16,24 @@
#
%define abi_ver_major 6
%define abi_ver_minor 4
%if 0%{?suse_version} && 0%{?suse_version} < 1550
%define force_gcc_version 12
%endif
%define abi_ver_major 7
%define abi_ver_minor 10
Name: libpqxx
Version: 6.4.5
Version: 7.10.3
Release: 0
Summary: C++ Client Library for PostgreSQL
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: http://pqxx.org/development/libpqxx/
Source: https://github.com/jtv/libpqxx/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.12
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gcc%{?force_gcc_version}-c++ >= 8
BuildRequires: pkgconfig
BuildRequires: postgresql-server-devel
BuildRequires: python3
BuildRequires: pkgconfig(libpq)
@@ -61,6 +65,7 @@ hard to get with most other database interfaces.
Summary: C++ Client Library for PostgreSQL
Group: Development/Libraries/C and C++
Requires: %{name}-%{abi_ver_major}_%{abi_ver_minor} = %{version}
Requires: gcc%{?force_gcc_version}-c++ >= 8
%description devel
This package contains header files needed for writing
@@ -71,28 +76,31 @@ C++ programs that connect to a PostgreSQL database.
%build
chmod 0644 COPYING
sed -i "s|env python|python3|g" tools/splitconfig
sed -i "s|env python|python3|g" tools/template2mak.py
%configure \
--enable-shared \
--disable-static \
--disable-documentation
%make_build
%if 0%{?force_gcc_version}
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%endif
%cmake \
-D BUILD_DOC=OFF \
-D BUILD_SHARED_LIBS=ON \
-D INSTALL_TEST=OFF \
-D SKIP_BUILD_TEST=ON
%cmake_build
%install
%make_install
rm %{buildroot}%{_libdir}/%{name}.la
%cmake_install
%post %{abi_ver_major}_%{abi_ver_minor} -p /sbin/ldconfig
%postun %{abi_ver_major}_%{abi_ver_minor} -p /sbin/ldconfig
%ldconfig_scriptlets %{abi_ver_major}_%{abi_ver_minor}
%files %{abi_ver_major}_%{abi_ver_minor}
%license COPYING
%doc AUTHORS NEWS README.md README-UPGRADE
%doc AUTHORS NEWS README.md
%{_libdir}/%{name}-%{abi_ver_major}.%{abi_ver_minor}.so
%files devel
%{_docdir}/libpqxx/
%{_libdir}/pkgconfig/libpqxx.pc
%{_libdir}/cmake/libpqxx/
%{_libdir}/%{name}.so
%{_includedir}/pqxx/