Blob Blame History Raw
Name:		postgres-decoderbufs
Version:	0.10.0
Release:	2%{?dist}
Summary:	PostgreSQL Protocol Buffers logical decoder plugin

License:	MIT
URL:		https://github.com/debezium/postgres-decoderbufs

%global full_version %{version}.Final

Source0:	https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz

BuildRequires:	gcc
BuildRequires:	postgresql-devel >= 9.6, postgresql-server-devel >= 9.6
BuildRequires:	protobuf-c-devel

Requires:	protobuf-c
%{?postgresql_module_requires}

%description
A PostgreSQL logical decoder output plugin to deliver data
as Protocol Buffers messages.

%prep
%setup -qn postgres-decoderbufs-%{full_version}


%build
%make_build USE_POSTGIS=false


%install
%make_install


%files
%doc README.md
%license LICENSE
%{_libdir}/pgsql/decoderbufs.so
%{_datadir}/pgsql/extension/decoderbufs.control


%changelog
* Wed Nov 20 2019 Patrik Novotný <panovotn@redhat.com> - 0.10.0-2
- Release bump for rebuild against libpq-12.1-3

* Wed Oct 09 2019 Patrik Novotný <panovotn@redhat.com - 0-10-0-1
- Initial release for upstream version 0.10.0