Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7c06dd8bc0 | |||
| 1eaee4d432 | |||
| 43a313bf2d | |||
| 4d80ae3b27 | |||
| f745fddc2d | |||
| db80aec250 | |||
| 71f4b6ea42 | |||
|
|
88096df7ba | ||
| 64e8b8205d | |||
| 14b3171c67 |
@@ -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
3
libpqxx-7.10.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5ba455e4f28901297c18a76e533c466cbe8908d4b2ff6313235954bb37cef25
|
||||
size 787055
|
||||
@@ -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>
|
||||
|
||||
|
||||
44
libpqxx.spec
44
libpqxx.spec
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user