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