## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %{!?postgresql_default:%global postgresql_default 0} %global sname pg_tle %global pgversion 16 Name: postgresql%{pgversion}-%{sname} Version: 1.5.2 Release: 1%{?dist} Summary: Framework for building and installing trusted language PostgreSQL extensions. License: Apache-2.0 URL: https://github.com/aws/%{sname} Source0: https://github.com/aws/%{sname}/archive/refs/tags/v%{version}.tar.gz %if %?postgresql_default %global pkgname %{sname} %package -n %{pkgname} Summary: Framework for building and installing trusted language PostgreSQL extensions. %else %global pkgname %name %endif BuildRequires: make gcc BuildRequires: flex BuildRequires: bison BuildRequires: postgresql%{pgversion}-server-devel Requires: postgresql%{pgversion}-server %global precise_version %{?epoch:%epoch:}%version-%release %if %?postgresql_default Provides: postgresql-%{sname} = %precise_version Provides: %name = %precise_version %endif Provides: %{pkgname}%{?_isa} = %precise_version Provides: %{pkgname} = %precise_version Provides: %{sname}-any Conflicts: %{sname}-any %description Trusted Language Extensions (pg_tle) is an open-source development kit for building and deploying PostgreSQL extensions without requiring access to the underlying file system. %description -n %{pkgname} Trusted Language Extensions (pg_tle) is an open-source development kit for building and deploying PostgreSQL extensions without requiring access to the underlying file system. %prep %setup -q -n %{sname}-%{version} %build %make_build PG_CONFIG=%{_bindir}/pg_server_config %install %make_install PG_CONFIG=%{_bindir}/pg_server_config %files %license LICENSE %doc README.md %{_libdir}/pgsql/%{sname}.so %{_datadir}/pgsql/extension/%{sname}.control %{_datadir}/pgsql/extension/%{sname}*.sql %changelog ## START: Generated by rpmautospec * Wed Feb 25 2026 John Doe - 1.5.2-1 - Uncommitted changes ## END: Generated by rpmautospec