2011-08-15 10:48:55 +02:00
|
|
|
#
|
2011-08-16 14:31:40 +02:00
|
|
|
# spec file for package proj
|
|
|
|
#
|
2020-03-10 10:12:48 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2011-08-16 14:31:40 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-09-19 13:14:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-08-15 10:48:55 +02:00
|
|
|
#
|
|
|
|
|
2012-03-14 10:04:29 +01:00
|
|
|
|
2019-03-11 14:53:40 +01:00
|
|
|
%define gridver 1.8
|
2020-03-31 11:35:11 +02:00
|
|
|
%define sover 19
|
2018-07-12 11:00:00 +02:00
|
|
|
%define libname lib%{name}%{sover}
|
2011-08-15 10:48:55 +02:00
|
|
|
Name: proj
|
Accepting request 834722 from home:LPechacek:proj-update
- 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
2020-09-15 20:00:12 +02:00
|
|
|
Version: 7.1.1
|
2012-04-20 19:15:56 +02:00
|
|
|
Release: 0
|
2011-08-15 10:48:55 +02:00
|
|
|
Summary: Cartographic projection software
|
2012-04-20 19:15:56 +02:00
|
|
|
License: MIT
|
2011-08-16 14:31:40 +02:00
|
|
|
Group: Productivity/Scientific/Other
|
2019-06-12 16:05:56 +02:00
|
|
|
URL: https://proj.org/
|
2016-10-02 13:21:01 +02:00
|
|
|
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
|
2018-07-12 11:00:00 +02:00
|
|
|
Source1: http://download.osgeo.org/proj/%{name}-datumgrid-%{gridver}.zip
|
2018-09-19 13:14:21 +02:00
|
|
|
BuildRequires: gcc-c++
|
2019-03-25 10:00:13 +01:00
|
|
|
BuildRequires: pkgconfig >= 0.9.0
|
2019-03-11 14:53:40 +01:00
|
|
|
BuildRequires: sqlite3
|
2015-03-08 21:27:30 +01:00
|
|
|
BuildRequires: unzip
|
2020-03-31 11:35:11 +02:00
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
2020-03-10 10:12:48 +01:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.11
|
|
|
|
Provides: libproj = %{version}
|
2019-10-29 23:16:10 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2019-09-27 15:44:35 +02:00
|
|
|
BuildRequires: pkgconfig(gtest)
|
2019-10-29 23:16:10 +01:00
|
|
|
%endif
|
2018-07-12 11:00:00 +02:00
|
|
|
|
|
|
|
%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.
|
2011-08-16 14:31:40 +02:00
|
|
|
|
2015-03-08 21:27:30 +01:00
|
|
|
%package -n %{libname}
|
2011-08-16 14:31:40 +02:00
|
|
|
Summary: Cartographic projection software
|
2016-07-04 16:09:30 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-08-15 10:48:55 +02:00
|
|
|
|
2015-03-08 21:27:30 +01:00
|
|
|
%description -n %{libname}
|
2011-08-15 10:48:55 +02:00
|
|
|
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.
|
|
|
|
|
2018-07-12 11:00:00 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for PROJ
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
Provides: libproj-devel = %{version}
|
|
|
|
Obsoletes: libproj-devel < %{version}
|
2011-08-15 10:48:55 +02:00
|
|
|
|
2018-07-12 11:00:00 +02:00
|
|
|
%description devel
|
2011-08-15 10:48:55 +02:00
|
|
|
This package contains libproj and the appropriate header files and man pages.
|
|
|
|
|
|
|
|
%prep
|
2018-07-12 11:00:00 +02:00
|
|
|
%setup -q
|
2019-04-03 19:44:23 +02:00
|
|
|
cd data
|
2011-08-15 10:48:55 +02:00
|
|
|
unzip -o %{SOURCE1}
|
|
|
|
|
|
|
|
%build
|
2015-03-08 21:27:30 +01:00
|
|
|
%configure \
|
2019-10-29 23:16:10 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2019-03-25 10:27:21 +01:00
|
|
|
--with-external-gtest \
|
2019-10-29 23:16:10 +01:00
|
|
|
%endif
|
2020-03-31 11:35:11 +02:00
|
|
|
--disable-static \
|
|
|
|
--enable-lto
|
2019-09-27 15:44:35 +02:00
|
|
|
%make_build
|
2011-08-15 10:48:55 +02:00
|
|
|
|
|
|
|
%install
|
2016-07-04 16:09:30 +02:00
|
|
|
%make_install
|
2015-03-08 21:27:30 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2011-08-15 10:48:55 +02:00
|
|
|
|
2019-03-25 10:00:13 +01:00
|
|
|
%check
|
2019-03-25 10:27:21 +01:00
|
|
|
# Tests dont work on i586 and noone cares
|
|
|
|
%ifnarch %{ix86}
|
2020-03-31 11:35:11 +02:00
|
|
|
%make_build check
|
2019-03-25 10:27:21 +01:00
|
|
|
%endif
|
2019-03-25 10:00:13 +01:00
|
|
|
|
2015-03-08 21:27:30 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2011-08-15 10:48:55 +02:00
|
|
|
|
|
|
|
%files
|
2018-07-12 11:00:00 +02:00
|
|
|
%doc NEWS AUTHORS README ChangeLog
|
2011-08-15 10:48:55 +02:00
|
|
|
%defattr(0755,root,root)
|
2016-07-04 16:09:30 +02:00
|
|
|
%{_bindir}/cs2cs
|
2018-07-12 11:00:00 +02:00
|
|
|
%{_bindir}/cct
|
|
|
|
%{_bindir}/gie
|
2016-07-04 16:09:30 +02:00
|
|
|
%{_bindir}/geod
|
|
|
|
%{_bindir}/invgeod
|
|
|
|
%{_bindir}/invproj
|
|
|
|
%{_bindir}/proj
|
2020-03-31 11:35:11 +02:00
|
|
|
%{_bindir}/projsync
|
2019-03-11 14:53:40 +01:00
|
|
|
%{_bindir}/projinfo
|
2016-07-04 16:09:30 +02:00
|
|
|
%defattr(0644,root,root)
|
2018-07-12 11:00:00 +02:00
|
|
|
%{_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}
|
2019-03-11 14:53:40 +01:00
|
|
|
%{_mandir}/man1/projinfo.1%{?ext_man}
|
2020-03-31 11:35:11 +02:00
|
|
|
%{_mandir}/man1/projsync.1%{?ext_man}
|
2016-07-04 16:09:30 +02:00
|
|
|
%{_datadir}/proj/
|
|
|
|
|
|
|
|
%files -n %{libname}
|
2018-07-12 11:00:00 +02:00
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libproj.so.%{sover}*
|
2011-08-15 10:48:55 +02:00
|
|
|
|
2018-07-12 11:00:00 +02:00
|
|
|
%files devel
|
2011-08-15 10:48:55 +02:00
|
|
|
%{_includedir}/*.h
|
2019-03-11 14:53:40 +01:00
|
|
|
%{_includedir}/proj
|
2016-07-04 16:09:30 +02:00
|
|
|
%{_libdir}/libproj.so
|
2012-03-14 10:16:15 +01:00
|
|
|
%{_libdir}/pkgconfig/proj.pc
|
2011-08-15 10:48:55 +02:00
|
|
|
|
|
|
|
%changelog
|