7e6f26a83f
- Update to version 7.1.1: * Updates - Added various Brazillian grids to the database #2277 - Added geoid file for Canary Islands to the database #2312 - Updated EPSG database to version 9.8.15 #2310 * Bug fixes - WKT parser: do not raise warning when parsing a WKT2:2015 TIMECRS whose TIMEUNIT is at the CS level, and not inside #2281 - Parse '+proj=something_not_latlong +vunits=' without +geoidgrids as a Projected3D CRS and not a compound CRS with a unknown datum #2289 - C API: Avoid crashing due to missing SANITIZE_CTX() in entry points #2293 - CMake build: Check "target_clones" before use #2297 - PROJ string export of +proj=krovak +czech: make sure we export +czech... #2301 - Helmert 2D: do not require a useless +convention= parameter #2305 - Fix a few spelling errors ("vgridshit" vs. "vgridshift") #2307 - Fix ability to identify EPSG:2154 as a candidate for 'RGF93_Lambert_93' #2316 - WKT importer: tune for Oracle WKT and 'Lambert Conformal Conic' #2322 - Revert compiler generated Fused Multiply Addition optimized routines #2328 - Changelog for 7.1.0 * New projections: - Add square conformal projections from libproject: Adams Hemisphere in a Square Adams World in a Square I Adams World in a Square II Guyou Pierce Quincuncial (#2148) - Adams Square II: map ESRI WKT to PROJ string, and implement iterative inverse method (#2157) - Added IGH Oceanic View projection (#2226) - Add wink2 inverse by generic inversion of forward method (#2243) * Database: - Update to EPSG 9.8.12, ESRI 10.8.1 and import scope and remarks for c-nversion (#2238) (#2267) - Map the Behrman projection to cae when converting ESRI CRSes (#1986) - Support conversion of Flat_Polar_Quartic projection method (#1987) - Register 4 new Austrian height grids (see OSGeo/PROJ-data#13) and handle 'Vertical Offset by Grid Interp-lation (BEV AT)' method (#1989) - Add ESRI projection method mappings for Mercator_Variant_A, Mercator_Variant_B and Transverse_Cylindrical_Equal_Area and vari-us grid mappings (#2020) (#2195) - Map ESRI Transverse_Mercator_Complex to Transverse Mercator (#2040) - Register grids for New Caledonia (see OSGeo/PROJ-data#16) (#2051) (#2239) - Register NZGD2000 -> ITRF96 transformation for NZGD2000 database (#2248) - Register geoid file for UK added (see https://github.c-m/OSGeo//PROJ-data/pull/25() (#2250) - Register Slovakian geoid transformations with needed code changes (#2259) - Register Spanish SPED2ETV2 grid for ED50->ETRS89 (#2261) * API: - Add API function proj_get_units_from_database() (#2065) - Add API function proj_get_suggested_operation() (#2068) - Add API functions proj_degree_input() and proj_degree_output() (#2144) - Moved proj_context_get_url_endpoint & proj_context_get_user_writable_directory fr-m proj_experimental.h to proj.h (#2162) - createFromUserInput(): allow compound CRS with the 2 parts given by names, e.g. 'WGS 84 + EGM96 height' (#2126) - createOperations(): when converting CompoundCRS<-->Geographic3DCrs, do not use discard change -f ellipsoidal height if a Helmert transformation is involved (#2227) - proj_list_units() deprecated, superceeded by proj_get_units_from_database() - proj_list_angular_units() deprecated, superceeded by proj_get_units_from_database() * Optimizations: - tmerc/utm: add a +algo=auto/evenden_snyder/poder_engsager parameter (#2030) - Extended tmerc (Poder/Engsager): speed optimizations (#2036) - Approximate tmerc (Snyder): speed optimizations (#2039) - pj_phi2(): speed-up computation (and thus inverse ellipsoidal Mercator and LCC) (#2052) - Inverse cart: speed-up computation by 33% (#2145) - Extended tmerc: speed-up forward path by ~5% (#2147) * Various: - Follow PDAL's CMake RPATH strategy (#2009) - WKT import/export: add support for WKT1_ESRI VERTCS synta (#2024) - projinfo: add a --hide-ballpark option (#2127) - gie: implement a strict mode with (#2168) - Allow importing WKT1 COMPD_CS with a VERT_DATUM[Ellipsoid,2002] (#2229) - Add runtime checking that sqlite3 is >= 3.11 (#2235) * Bug fixes - createOperations(): do not remove ballpark transformation if there are only grid based -perations, even if they cover the whole area of use (#2155) - createFromProjString(): handle default parameters of '+krovak +type=crs', and handle +czech correctly (#2200) - ProjectedCRS::identify(): fix identification of EPSG:3059 (#2215) - Database: add a 'WGS84' alias for the EPSG:4326 CRS (#2218) - Fixes related to CompoundCRS and BoundCRS (#2222) - Avoid 2 warnings about missing database indices (#2223) - Make projinfo --3d --boundcrs-to-wgs84 work better (#2224) - Many fixes regarding BoundCRS, CompoundCRS, Geographic3D CRS with non-metre units (#2234) - Fix identification of (one of the) ESRI WKT formulations of EPSG:3035 (#2240) - Avoid using deprecated and removed Windows API function with Mingw32 (#2246) - normalizeForVisualization(): make it switch axis for EPSG:5482 (RSRGD2000 / RSPS2000) (#2256) - Fix access violation in proj_context_get_database_metadata (#2260) - Fail gracefully when calling API functions with invalid input (#2272) OBS-URL: https://build.opensuse.org/request/show/834722 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=52
127 lines
3.4 KiB
RPMSpec
127 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package proj
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define gridver 1.8
|
|
%define sover 19
|
|
%define libname lib%{name}%{sover}
|
|
Name: proj
|
|
Version: 7.1.1
|
|
Release: 0
|
|
Summary: Cartographic projection software
|
|
License: MIT
|
|
Group: Productivity/Scientific/Other
|
|
URL: https://proj.org/
|
|
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
|
|
Source1: http://download.osgeo.org/proj/%{name}-datumgrid-%{gridver}.zip
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
BuildRequires: sqlite3
|
|
BuildRequires: unzip
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libtiff-4)
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.11
|
|
Provides: libproj = %{version}
|
|
%if 0%{?suse_version} > 1500
|
|
BuildRequires: pkgconfig(gtest)
|
|
%endif
|
|
|
|
%description
|
|
This package offers the commandline tools for performing respective
|
|
forward and inverse transformation of cartographic data to or from cartesian
|
|
data with a wide range of selectable projection functions.
|
|
|
|
%package -n %{libname}
|
|
Summary: Cartographic projection software
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n %{libname}
|
|
This package the library for performing respective
|
|
forward and inverse transformation of cartographic data to or from cartesian
|
|
data with a wide range of selectable projection functions.
|
|
|
|
%package devel
|
|
Summary: Development files for PROJ
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{libname} = %{version}
|
|
Provides: libproj-devel = %{version}
|
|
Obsoletes: libproj-devel < %{version}
|
|
|
|
%description devel
|
|
This package contains libproj and the appropriate header files and man pages.
|
|
|
|
%prep
|
|
%setup -q
|
|
cd data
|
|
unzip -o %{SOURCE1}
|
|
|
|
%build
|
|
%configure \
|
|
%if 0%{?suse_version} > 1500
|
|
--with-external-gtest \
|
|
%endif
|
|
--disable-static \
|
|
--enable-lto
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%check
|
|
# Tests dont work on i586 and noone cares
|
|
%ifnarch %{ix86}
|
|
%make_build check
|
|
%endif
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%doc NEWS AUTHORS README ChangeLog
|
|
%defattr(0755,root,root)
|
|
%{_bindir}/cs2cs
|
|
%{_bindir}/cct
|
|
%{_bindir}/gie
|
|
%{_bindir}/geod
|
|
%{_bindir}/invgeod
|
|
%{_bindir}/invproj
|
|
%{_bindir}/proj
|
|
%{_bindir}/projsync
|
|
%{_bindir}/projinfo
|
|
%defattr(0644,root,root)
|
|
%{_mandir}/man1/cs2cs.1%{?ext_man}
|
|
%{_mandir}/man1/geod.1%{?ext_man}
|
|
%{_mandir}/man1/proj.1%{?ext_man}
|
|
%{_mandir}/man1/cct.1%{?ext_man}
|
|
%{_mandir}/man1/gie.1%{?ext_man}
|
|
%{_mandir}/man1/projinfo.1%{?ext_man}
|
|
%{_mandir}/man1/projsync.1%{?ext_man}
|
|
%{_datadir}/proj/
|
|
|
|
%files -n %{libname}
|
|
%license COPYING
|
|
%{_libdir}/libproj.so.%{sover}*
|
|
|
|
%files devel
|
|
%{_includedir}/*.h
|
|
%{_includedir}/proj
|
|
%{_libdir}/libproj.so
|
|
%{_libdir}/pkgconfig/proj.pc
|
|
|
|
%changelog
|