Initinal import #1744570

This commit is contained in:
Filip Januš 2020-05-04 15:50:37 +02:00
parent 8c9babd66a
commit abe4d7e22b
3 changed files with 65 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/ver_1.4.5.tar.gz

63
pg_repack.spec Normal file
View File

@ -0,0 +1,63 @@
Name: pg_repack
Version: 1.4.5
Release: 1%{?dist}
Summary: Reorganize tables in PostgreSQL databases without any locks
License: BSD
URL: http://reorg.github.io/%{name}/
Source0: https://github.com/reorg/%{name}/archive/ver_%{version}.tar.gz
BuildRequires: postgresql, gcc, openssl-devel, postgresql-server
BuildRequires: postgresql-libs, postgresql-devel
BuildRequires: readline-devel, zlib-devel, postgresql-static
BuildRequires: python3-docutils
%{?postgresql_module_requires}
%description
pg_repack is a PostgreSQL extension which lets you remove
bloat from tables and indexes, and optionally
restore the physical order of clustered indexes.
Unlike CLUSTER and VACUUM FULL it works online,
without holding an exclusive lock on the processed tables during processing.
pg_repack is efficient to boot,
with performance comparable to using CLUSTER directly.
Please check the documentation (in the doc directory or online)
for installation and usage instructions.
%prep
%setup -n %{name}-ver_%{version} -q
%build
make %{?_smp_mflags}
cd doc
make
%install
%make_install
%files
%{_bindir}/%{name}
%{_libdir}/pgsql/%{name}.so
%{_libdir}/pgsql/bitcode/%{name}.index.bc
%{_libdir}/pgsql/bitcode/%{name}/pgut/pgut-spi.bc
%{_libdir}/pgsql/bitcode/%{name}/repack.bc
%{_datadir}/pgsql/extension/%{name}.control
%{_datadir}/pgsql/extension/%{name}--%{version}.sql
%license COPYRIGHT
%doc README.rst
%doc doc/%{name}.html
%doc doc/%{name}.rst
%doc doc/%{name}_jp.html
%doc doc/%{name}_jp.rst
%doc doc/release.html
%doc doc/release.rst
%changelog
* Wed Aug 21 2019 Filip Januš <fjanus@redhat.com> 1.4.5-1
- Initial packaging

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (ver_1.4.5.tar.gz) = 6aa2c6f72b6bfd6c5712bdad08aa1d7fe589da263259383d4546a8cfd881922e3f2bdac733ecd2a0c301f73a3909d8dad095029ddd33279cf580162f2e53f313