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