2024-01-06 10:26:39 +01:00
%define apiver %(echo %version | cut -d. -f1-2)
Name : postgis
2024-01-06 10:26:39 +01:00
Version : 3.2.3
2024-01-06 10:26:39 +01:00
Release : 1mamba
2024-01-06 10:26:39 +01:00
Summary : PostGIS adds support for geographic objects to the PostgreSQL object-relational database
Group : Applications/Databases
Vendor : openmamba
Distribution : openmamba
2024-01-06 10:26:39 +01:00
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
2024-01-06 10:26:39 +01:00
URL : http://postgis.net
Source : http://download.osgeo.org/postgis/source/postgis-%{version} .tar.gz
License : GPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libbrotli-devel
BuildRequires : libcares-devel
BuildRequires : libcfitsio-devel
BuildRequires : libcryptopp-devel
BuildRequires : libcurl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libcxx-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libe2fs-devel
BuildRequires : libexpat-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libgcc
2024-01-06 10:26:39 +01:00
BuildRequires : libgdal-devel
BuildRequires : libgeos-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libgif-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libgsasl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libgss-devel
BuildRequires : libhdf5-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libheif-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libicu-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libidn-devel
BuildRequires : libidn2-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libimath-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libjbig-devel
BuildRequires : libjpeg-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libjson-c-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libkml-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libkrb5-devel
BuildRequires : libltdl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : liblz4-devel
2024-01-06 10:26:39 +01:00
BuildRequires : liblzma-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libnghttp2-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libnsl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libntlm-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libodbc-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libopenexr-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libopenjpeg-devel
BuildRequires : libopenldap-devel
BuildRequires : libopenssl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libpcre2-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libpng-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libpostgresql-devel
BuildRequires : libproj-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libprotobuf-c-devel
BuildRequires : libpsl-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libqhull-devel
BuildRequires : librtmp-devel
BuildRequires : libsasl2-devel
BuildRequires : libsqlite-devel
BuildRequires : libssh2-devel
BuildRequires : libstdc++6-devel
BuildRequires : libtiff-devel
BuildRequires : libtirpc-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libunistring-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libwebp-devel
BuildRequires : libxerces-c-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libxml2-devel
2024-01-06 10:26:39 +01:00
BuildRequires : libz-devel
BuildRequires : libzstd-devel
2024-01-06 10:26:39 +01:00
## AUTOBUILDREQ-END
2024-01-06 10:26:39 +01:00
BuildRequires : libgdal-devel >= 3.5.0-1mamba
2024-01-06 10:26:39 +01:00
BuildRequires : libproj-devel >= 8.0.1
2024-01-06 10:26:39 +01:00
BuildRequires : libcfitsio-devel >= 4.1.0
2024-01-06 10:26:39 +01:00
BuildRequires : libprotobuf-c-devel
2024-01-06 10:26:39 +01:00
%package devel
Group : Development/Libraries
Summary : Development files for %{name}
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name} .
%debug_package
%description
PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS " s p a t i a l l y e n a b l e s " the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle' s Spatial extension. PostGIS follows the OpenGIS " S i m p l e F e a t u r e s S p e c i f i c a t i o n f o r S Q L " and has been certified as compliant with the " T y p e s a n d F u n c t i o n s " profile.
%prep
%setup -q
%build
2024-01-06 10:26:39 +01:00
%configure \
--with-geosconfig=%{_bindir} /geos-config
2024-01-06 10:26:39 +01:00
%make -j1
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
%{_bindir} /raster2pgsql
%{_bindir} /pgsql2shp
%{_bindir} /shp2pgsql
2024-01-06 10:26:39 +01:00
%dir %{_libdir} /postgresql
%{_libdir} /postgresql/*.so
2024-01-06 10:26:39 +01:00
%dir %{_libdir} /postgresql/bitcode
%{_libdir} /postgresql/bitcode/*
2024-01-06 10:26:39 +01:00
%dir %{_datadir} /postgresql
%{_datadir} /postgresql/*
%{_datadir} /doc/postgresql/extension/README.address_standardizer
2024-01-06 10:26:39 +01:00
%doc COPYING CREDITS
2024-01-06 10:26:39 +01:00
#%files devel
#%defattr(-,root,root)
#%{_includedir}/*.h
#%{_libdir}/liblwgeom.la
#%{_libdir}/liblwgeom.so
2024-01-06 10:26:39 +01:00
%changelog
2024-01-06 10:26:39 +01:00
* Sun Aug 21 2022 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sun Jul 24 2022 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Mon May 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-3mamba
- rebuilt by autoport with build requirements: libgdal-devel>=3.5.0-1mamba
2024-01-06 10:26:39 +01:00
* Wed Apr 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- rebuilt with libcfitsio 4.1.0
2024-01-06 10:26:39 +01:00
* Mon Feb 14 2022 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sun Dec 19 2021 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sat Sep 04 2021 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sat Jul 03 2021 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.2-1mamba
- update to 3.1.2
2024-01-06 10:26:39 +01:00
* Sat Dec 26 2020 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-2mamba
- rebuilt with libproj 6.3.2
* Sun Sep 06 2020 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sun Feb 23 2020 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Thu Sep 19 2019 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Wed Jul 03 2019 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Thu Nov 22 2018 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sun Oct 07 2018 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sun May 13 2018 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Wed Nov 22 2017 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic update by autodist
2024-01-06 10:26:39 +01:00
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sat Mar 04 2017 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Mon Dec 12 2016 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Fri Sep 30 2016 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Tue Aug 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-2mamba
- rebuilt by autoport with build requirements: libcfitsio-devel>=3.390-1mamba
2024-01-06 10:26:39 +01:00
* Tue May 17 2016 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sat Jan 09 2016 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Tue Oct 27 2015 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Fri Sep 18 2015 Automatic Build System <autodist@mambasoft.it> 2.1.8-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 2.1.7-1mamba
- automatic update by autodist
2024-01-06 10:26:39 +01:00
* Sat Jan 10 2015 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
- automatic update by autodist
2024-01-06 10:26:39 +01:00
* Fri Sep 12 2014 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist
2024-01-06 10:26:39 +01:00
* Wed Apr 02 2014 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Tue Nov 12 2013 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Fri Aug 23 2013 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Sat Jul 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
- update to 2.0.3
* Tue Aug 21 2012 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- update to 2.0.1
* Wed Mar 07 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.5.3-1mamba
- package created by autospec