e0da85
Name:		postgres-decoderbufs
e0da85
Version:	0.10.0
e0da85
Release:	2%{?dist}
e0da85
Summary:	PostgreSQL Protocol Buffers logical decoder plugin
e0da85
e0da85
License:	MIT
e0da85
URL:		https://github.com/debezium/postgres-decoderbufs
e0da85
e0da85
%global full_version %{version}.Final
e0da85
e0da85
Source0:	https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz
e0da85
e0da85
BuildRequires:	gcc
e0da85
BuildRequires:	postgresql-devel >= 9.6, postgresql-server-devel >= 9.6
e0da85
BuildRequires:	protobuf-c-devel
e0da85
e0da85
Requires:	protobuf-c
e0da85
%{?postgresql_module_requires}
e0da85
e0da85
%description
e0da85
A PostgreSQL logical decoder output plugin to deliver data
e0da85
as Protocol Buffers messages.
e0da85
e0da85
%prep
e0da85
%setup -qn postgres-decoderbufs-%{full_version}
e0da85
e0da85
e0da85
%build
e0da85
%make_build USE_POSTGIS=false
e0da85
e0da85
e0da85
%install
e0da85
%make_install
e0da85
e0da85
e0da85
%files
e0da85
%doc README.md
e0da85
%license LICENSE
e0da85
%{_libdir}/pgsql/decoderbufs.so
e0da85
%{_datadir}/pgsql/extension/decoderbufs.control
e0da85
e0da85
e0da85
%changelog
e0da85
* Wed Nov 20 2019 Patrik Novotný <panovotn@redhat.com> - 0.10.0-2
e0da85
- Release bump for rebuild against libpq-12.1-3
e0da85
e0da85
* Wed Oct 09 2019 Patrik Novotný 
e0da85
- Initial release for upstream version 0.10.0