df3c82
Name:           pg_repack
df3c82
Version:        1.4.6
df3c82
Release:        3%{?dist}
df3c82
Summary:        Reorganize tables in PostgreSQL databases without any locks
df3c82
df3c82
License:        BSD
df3c82
URL:            http://reorg.github.io/%{name}/
df3c82
Source0:        https://github.com/reorg/%{name}/archive/ver_%{version}.tar.gz
df3c82
df3c82
BuildRequires: make
df3c82
BuildRequires:  postgresql, gcc, openssl-devel, postgresql-server
df3c82
BuildRequires:  postgresql-libs, postgresql-devel
df3c82
BuildRequires:  readline-devel, zlib-devel, postgresql-static
df3c82
BuildRequires:  python3-docutils
df3c82
BuildRequires:  clang-devel
df3c82
BuildRequires:  llvm-devel
df3c82
%{?postgresql_module_requires}
df3c82
df3c82
%description
df3c82
pg_repack is a PostgreSQL extension which lets you remove
df3c82
bloat from tables and indexes, and optionally
df3c82
restore the physical order of clustered indexes.
df3c82
Unlike CLUSTER and VACUUM FULL it works online,
df3c82
without holding an exclusive lock on the processed tables during processing.
df3c82
pg_repack is efficient to boot,
df3c82
with performance comparable to using CLUSTER directly.
df3c82
df3c82
Please check the documentation (in the doc directory or online)
df3c82
for installation and usage instructions.
df3c82
%prep
df3c82
%setup -n %{name}-ver_%{version} -q
df3c82
df3c82
df3c82
%build
df3c82
df3c82
make %{?_smp_mflags}
df3c82
cd doc
df3c82
make
df3c82
df3c82
df3c82
%install
df3c82
%make_install
df3c82
df3c82
%files
df3c82
%{_bindir}/%{name}
df3c82
%{_libdir}/pgsql/%{name}.so
df3c82
%{_datadir}/pgsql/extension/%{name}.control
df3c82
%{_datadir}/pgsql/extension/%{name}--%{version}.sql
df3c82
df3c82
%license COPYRIGHT
df3c82
df3c82
%doc README.rst
df3c82
%doc doc/%{name}.html
df3c82
%doc doc/%{name}.rst
df3c82
%doc doc/%{name}_jp.html
df3c82
%doc doc/%{name}_jp.rst
df3c82
%doc doc/release.html
df3c82
%doc doc/release.rst
df3c82
df3c82
df3c82
%changelog
df3c82
* Wed May 26 2021 Filip Januš <fjanus@redhat.com> - 1.4.6-3
df3c82
- Release bump - enable gating
df3c82
df3c82
* Mon May 24 2021 Filip Januš <fjanus@redhat.com> - 1.4.6-2
df3c82
- Rebuild
df3c82
- Resolves:#1954442
df3c82
df3c82
* Thu Jan 14 2021 Patrik Novotný <panovotn@redhat.com> - 1.4.6-1
df3c82
- Rebase to upstream release 1.4.6
df3c82
df3c82
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
df3c82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
df3c82
df3c82
* Wed Aug 21 2019 Filip Januš <fjanus@redhat.com> 1.4.5-1
df3c82
- Initial packaging