poco-1.10.1: build all packages

This commit is contained in:
Sandino Araico Sanchez 2022-03-16 05:09:05 -06:00
parent 82c41ac869
commit c499801b77

View file

@ -23,7 +23,7 @@
Name: poco
Version: 1.10.1
Release: 6%{?dist}
Release: 7%{?dist}
Summary: C++ class libraries for network-centric applications
License: Boost
@ -44,6 +44,7 @@ BuildRequires: gcc-c++
BuildRequires: openssl-devel
BuildRequires: libiodbc-devel
BuildRequires: %{mysql_devel_pkg}
BuildRequires: libpq-devel
BuildRequires: zlib-devel
BuildRequires: pcre-devel
BuildRequires: sqlite-devel
@ -271,6 +272,16 @@ of C++ class libraries for network-centric applications.)
%files mysql
%{_libdir}/libPocoDataMySQL.so.*
# -----------------------------------------------------------------------------
%package postgresql
Summary: The Data/PostgreSQL POCO component
%description postgresql
This package contains the Data/PostgreSQL component of POCO. (POCO is a set
of C++ class libraries for network-centric applications.)
%files postgresql
%{_libdir}/libPocoDataPostgreSQL.so.*
# -----------------------------------------------------------------------------
%package zip
Summary: The Zip POCO component
@ -352,6 +363,7 @@ application testing purposes.
%{_libdir}/libPocoDataSQLited.so.*
%{_libdir}/libPocoDataODBCd.so.*
%{_libdir}/libPocoDataMySQLd.so.*
%{_libdir}/libPocoDataPostgreSQLd.so.*
%{_libdir}/libPocoZipd.so.*
%{_libdir}/libPocoJSONd.so.*
%if %{with mongodb}
@ -375,6 +387,7 @@ Requires: poco-data%{?_isa} = %{version}-%{release}
Requires: poco-sqlite%{?_isa} = %{version}-%{release}
Requires: poco-odbc%{?_isa} = %{version}-%{release}
Requires: poco-mysql%{?_isa} = %{version}-%{release}
Requires: poco-postgresql%{?_isa} = %{version}-%{release}
Requires: poco-zip%{?_isa} = %{version}-%{release}
Requires: poco-json%{?_isa} = %{version}-%{release}
%if %{with mongodb}
@ -420,6 +433,8 @@ POCO applications.
%{_libdir}/libPocoDataODBCd.so
%{_libdir}/libPocoDataMySQL.so
%{_libdir}/libPocoDataMySQLd.so
%{_libdir}/libPocoDataPostgreSQL.so
%{_libdir}/libPocoDataPostgreSQLd.so
%{_libdir}/libPocoZip.so
%{_libdir}/libPocoZipd.so
%{_libdir}/libPocoJSON.so
@ -452,6 +467,9 @@ HTML format.
%doc README NEWS LICENSE CONTRIBUTORS CHANGELOG doc/*
%changelog
* Wed Mar 16 2022 Sandino Araico Sánchez <saraico@ugd.gob.mx> - 1.10.1-7
- PostgreSQL package
* Wed Mar 09 2022 Sandino Araico Sánchez <saraico@ugd.gob.mx> - 1.10.1-6
- Compile on CentOS 8 with mariadb