diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbd252c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pgaudit-1.2.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index b70d5a0..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# pgaudit - -The pgaudit package \ No newline at end of file diff --git a/pgaudit.spec b/pgaudit.spec new file mode 100644 index 0000000..83e6c0c --- /dev/null +++ b/pgaudit.spec @@ -0,0 +1,57 @@ +Name: pgaudit +Version: 1.2.0 +Release: 1%{?dist} +Summary: PostgreSQL Audit Extension + +License: PostgreSQL +URL: http://pgaudit.org + +Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: postgresql-devel >= 10, postgresql-devel < 11 +BuildRequires: openssl-devel + +%{?postgresql_module_requires} + +%description +The PostgreSQL Audit extension (pgaudit) provides detailed session +and/or object audit logging via the standard PostgreSQL logging +facility. + +The goal of the PostgreSQL Audit extension (pgaudit) is to provide +PostgreSQL users with capability to produce audit logs often required to +comply with government, financial, or ISO certifications. + +An audit is an official inspection of an individual's or organization's +accounts, typically by an independent body. The information gathered by +the PostgreSQL Audit extension (pgaudit) is properly called an audit +trail or audit log. The term audit log is used in this documentation. + +%prep +%setup -q -n %{name}-%{version} + +%build +%{__make} USE_PGXS=1 %{?_smp_mflags} + +%install +%{__make} USE_PGXS=1 %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install + +%clean + +%files +%doc README.md +%license LICENSE +%{_libdir}/pgsql/%{name}.so +%{_datadir}/pgsql/extension/%{name}--1.2.sql +%{_datadir}/pgsql/extension/%{name}.control + +%changelog +* Wed Dec 20 2017 - Filip Čáp 1.2.0-1 +- Initial RPM packaging for Fedora +- Based on Devrim Gündüz's packaging for PostgreSQL RPM Repo + +* Thu Oct 27 2016 - Devrim Gündüz 1.0.0-1 +- Update to 1.0.0 + +* Fri Oct 21 2016 - Devrim Gündüz 0.0.4-1 +- Initial RPM packaging for PostgreSQL RPM Repository diff --git a/sources b/sources new file mode 100644 index 0000000..2b24fd0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pgaudit-1.2.0.tar.gz) = e63887cd1166ee4bc2a16089fb05fc783367746a5ee4d71d9fc0cc10617fd78262fbd4ecd9bdef06547a90d73bc3846099a04c8d07ac622d73adf34e57f7f32e