Initial import for PG 16 stream
Related: RHEL-3636
This commit is contained in:
		
							parent
							
								
									2f7a938bcd
								
							
						
					
					
						commit
						abd3f100fe
					
				
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										
										
										Normal file → Executable file
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | /v1.9.7.Final.tar.gz | ||||||
|  | /v2.4.0.Final.tar.gz | ||||||
							
								
								
									
										65
									
								
								postgres-decoderbufs.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								postgres-decoderbufs.spec
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,65 @@ | |||||||
|  | %global pre Final | ||||||
|  | 
 | ||||||
|  | Name:		postgres-decoderbufs | ||||||
|  | Version:	2.4.0 | ||||||
|  | Release:	1%{?pre:.%pre}%{?dist} | ||||||
|  | Summary:	PostgreSQL Protocol Buffers logical decoder plugin | ||||||
|  | 
 | ||||||
|  | License:	MIT | ||||||
|  | URL:		https://github.com/debezium/postgres-decoderbufs | ||||||
|  | 
 | ||||||
|  | %global full_version %{version}.%{?pre:%pre}%{?!pre:Final} | ||||||
|  | 
 | ||||||
|  | Source0:	https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz | ||||||
|  | 
 | ||||||
|  | BuildRequires: 	make | ||||||
|  | BuildRequires:	gcc | ||||||
|  | BuildRequires:	postgresql-server-devel >= 16 | ||||||
|  | BuildRequires:	protobuf-c-devel | ||||||
|  | 
 | ||||||
|  | Requires:	protobuf-c | ||||||
|  | %{?postgresql_module_requires} | ||||||
|  | 
 | ||||||
|  | %description | ||||||
|  | A PostgreSQL logical decoder output plugin to deliver data as Protocol Buffers messages. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %if 0%{?postgresql_server_llvmjit} | ||||||
|  | %package llvmjit | ||||||
|  | Summary:	Just-in-time compilation support for %{name} | ||||||
|  | Requires:	%{name}%{?_isa} = %{version}-%{release} | ||||||
|  | 
 | ||||||
|  | %description llvmjit | ||||||
|  | Just-in-time compilation support for %{name}. | ||||||
|  | %endif | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %prep | ||||||
|  | %setup -qn postgres-decoderbufs-%{full_version} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %build | ||||||
|  | %make_build | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %install | ||||||
|  | %make_install | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %files | ||||||
|  | %doc README.md | ||||||
|  | %license LICENSE | ||||||
|  | %{_libdir}/pgsql/decoderbufs.so | ||||||
|  | %{_datadir}/pgsql/extension/decoderbufs.control | ||||||
|  | 
 | ||||||
|  | %if 0%{?postgresql_server_llvmjit} | ||||||
|  | %files llvmjit | ||||||
|  | %{_libdir}/pgsql/bitcode/decoderbufs.index.bc | ||||||
|  | %{_libdir}/pgsql/bitcode/decoderbufs/ | ||||||
|  | %endif | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %changelog | ||||||
|  | * Fri Oct 13 2023 Filip Janus <fjanus@redhat.com> - 2.4.0-1.Final | ||||||
|  | - Initial import for postgresql 16 stream | ||||||
|  | - Related: RHEL-3636 | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user