postgresql-libversion/postgresql-libversion.spec

50 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: postgresql-libversion
Version: 2.0.1
Release: 1mamba
Summary: PostgreSQL extension with support for version string comparison through libversion
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/repology/postgresql-libversion
Source: https://github.com/repology/postgresql-libversion.git/%{version}/postgresql-libversion-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libversion-devel
## AUTOBUILDREQ-END
BuildRequires: libpostgresql-devel
%description
PostgreSQL extension with support for version string comparison through libversion.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/postgresql/libversion.so
%{_datadir}/postgresql/extension/libversion-*.sql
%{_datadir}/postgresql/extension/libversion.control
%{_libdir}/postgresql/bitcode/libversion.index.bc
%{_libdir}/postgresql/bitcode/libversion/libversion.bc
%doc COPYING
%changelog
* Mon May 06 2024 Automatic Build System <autodist@openmamba.org> 2.0.1-1mamba
- automatic version update by autodist
* Mon Feb 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created using the webbuild interface