811099
Name:		pgaudit
811099
Version:	1.7.0
811099
Release:	1%{?dist}
811099
Summary:	PostgreSQL Audit Extension
811099
811099
License:	PostgreSQL
811099
URL:		http://pgaudit.org
811099
811099
Source0:	https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
811099
811099
BuildRequires: gcc
811099
BuildRequires: make
811099
BuildRequires: postgresql-server-devel >= 15
811099
BuildRequires: openssl-devel
811099
811099
%{?postgresql_module_requires}
811099
811099
%description
811099
The PostgreSQL Audit extension (pgaudit) provides detailed session
811099
and/or object audit logging via the standard PostgreSQL logging
811099
facility.
811099
811099
The goal of the PostgreSQL Audit extension (pgaudit) is to provide
811099
PostgreSQL users with capability to produce audit logs often required to
811099
comply with government, financial, or ISO certifications.
811099
811099
An audit is an official inspection of an individual's or organization's
811099
accounts, typically by an independent body. The information gathered by
811099
the PostgreSQL Audit extension (pgaudit) is properly called an audit
811099
trail or audit log. The term audit log is used in this documentation.
811099
811099
811099
%prep
811099
%setup -q -n %{name}-%{version}
811099
811099
811099
%build
811099
%make_build USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
811099
811099
%install
811099
%make_install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
811099
811099
%files
811099
%doc README.md
811099
%license LICENSE
811099
%{_libdir}/pgsql/%{name}.so
811099
%{_datadir}/pgsql/extension/%{name}--1*.sql
811099
%{_datadir}/pgsql/extension/%{name}.control
811099
811099
811099
%changelog
811099
* Wed Oct 19 2022 Filip Janus <fjanus@redhat.com> - 1.7.0-1
811099
- Initial import for postgresql 15 module
811099
- Update to 1.7.0
811099
- Support postgresql 15
811099
- Related: #2128410