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