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