47 lines
1.3 KiB
RPMSpec
47 lines
1.3 KiB
RPMSpec
Name: postgresql-libversion
|
|
Version: 2.0.0
|
|
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: ldconfig
|
|
BuildRequires: libversion-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpostgresql-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Mon Feb 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
- package created using the webbuild interface
|