07e7f4
Name:		pgaudit
07e7f4
Version:	1.7.0
07e7f4
Release:	1%{?dist}
07e7f4
Summary:	PostgreSQL Audit Extension
07e7f4
07e7f4
License:	PostgreSQL
07e7f4
URL:		http://pgaudit.org
07e7f4
07e7f4
Source0:	https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
07e7f4
07e7f4
BuildRequires: gcc
07e7f4
BuildRequires: make
07e7f4
BuildRequires: postgresql-server-devel >= 15
07e7f4
BuildRequires: openssl-devel
07e7f4
07e7f4
%{?postgresql_module_requires}
07e7f4
07e7f4
%description
07e7f4
The PostgreSQL Audit extension (pgaudit) provides detailed session
07e7f4
and/or object audit logging via the standard PostgreSQL logging
07e7f4
facility.
07e7f4
07e7f4
The goal of the PostgreSQL Audit extension (pgaudit) is to provide
07e7f4
PostgreSQL users with capability to produce audit logs often required to
07e7f4
comply with government, financial, or ISO certifications.
07e7f4
07e7f4
An audit is an official inspection of an individual's or organization's
07e7f4
accounts, typically by an independent body. The information gathered by
07e7f4
the PostgreSQL Audit extension (pgaudit) is properly called an audit
07e7f4
trail or audit log. The term audit log is used in this documentation.
07e7f4
07e7f4
07e7f4
%prep
07e7f4
%setup -q -n %{name}-%{version}
07e7f4
07e7f4
07e7f4
%build
07e7f4
%make_build USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
07e7f4
07e7f4
%install
07e7f4
%make_install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
07e7f4
07e7f4
%files
07e7f4
%doc README.md
07e7f4
%license LICENSE
07e7f4
%{_libdir}/pgsql/%{name}.so
07e7f4
%{_datadir}/pgsql/extension/%{name}--1*.sql
07e7f4
%{_datadir}/pgsql/extension/%{name}.control
07e7f4
07e7f4
07e7f4
%changelog
07e7f4
* Wed Oct 19 2022 Filip Janus <fjanus@redhat.com> - 1.7.0-1
07e7f4
- Update to 1.7.0
07e7f4
- Support postgresql 15
07e7f4
- Related: #2128241
07e7f4
07e7f4
* Wed Nov 18 2020 Honza Horak <hhorak@redhat.com> - 1.5.0-1
07e7f4
- Update to version 1.5.0
07e7f4
  Related: #1855776
07e7f4
07e7f4
* Wed Nov 20 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-4
07e7f4
- Bump release for rebuild against libpq-12.1-3
07e7f4
07e7f4
* Tue Nov 12 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-3
07e7f4
- BuildRequires libpq-devel
07e7f4
07e7f4
* Tue Nov 12 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-2
07e7f4
- BuildRequires postgresql-server-devel
07e7f4
07e7f4
* Wed Oct 02 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-1
07e7f4
- Update to 1.4.0
07e7f4
07e7f4
* Sat Jul 27 2019 Honza Horak <hhorak@redhat.com> - 1.3.1-1
07e7f4
- Update to 1.3.1 and apply patch for pgsql v12 compatibility
07e7f4
07e7f4
* Thu Jul 25 2019 Honza Horak <hhorak@redhat.com> - 1.2.0-4
07e7f4
- SCLize the SPEC
07e7f4
07e7f4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
07e7f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
07e7f4
07e7f4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
07e7f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
07e7f4
07e7f4
* Wed Dec 20 2017 - Filip Čáp <ficap@redhat.com> 1.2.0-1
07e7f4
- Initial RPM packaging for Fedora
07e7f4
- Based on Devrim Gündüz's packaging for PostgreSQL RPM Repo
07e7f4
07e7f4
* Thu Oct 27 2016 - Devrim Gündüz <devrim@gunduz.org> 1.0.0-1
07e7f4
- Update to 1.0.0
07e7f4
07e7f4
* Fri Oct 21 2016 - Devrim Gündüz <devrim@gunduz.org> 0.0.4-1
07e7f4
- Initial RPM packaging for PostgreSQL RPM Repository