- Update to version 5.1.0 and datumgrid 1.7

* See provided NEWS for list of all changes

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=27
This commit is contained in:
Martin Pluskal 2018-07-12 09:00:00 +00:00 committed by Git OBS Bridge
parent 1c3d005bf4
commit 4e672cbba4
6 changed files with 50 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6984542fea333488de5c82eea58d699e4aff4b359200a9971537cd7e047185f7
size 921448

3
proj-5.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b1379a53317d9b5b8c723c1dc7bf2e3a8eb22ceb46b8807a1ce48ef65685bb3
size 1006324

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:054e7b63b474926c79f25fbe5cd8760351e8d93e5a167b5473e993c01bb08866
size 2766762

3
proj-datumgrid-1.7.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffcad4453fac3b4a13ca678ef343e688496e18019f35709ef03c5f200e9fb85a
size 6601627

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 12 08:45:57 UTC 2018 - mpluskal@suse.com
- Update to version 5.1.0 and datumgrid 1.7
* See provided NEWS for list of all changes
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 2 09:00:00 UTC 2016 - tzotsos@opensuse.org Sun Oct 2 09:00:00 UTC 2016 - tzotsos@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package proj # spec file for package proj
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,45 +16,48 @@
# #
%define libname lib%{name}12 %define gridver 1.7
%define sover 13
%define libname lib%{name}%{sover}
Name: proj Name: proj
Version: 4.9.3 Version: 5.1.0
Release: 0 Release: 0
Summary: Cartographic projection software Summary: Cartographic projection software
License: MIT License: MIT
Group: Productivity/Scientific/Other Group: Productivity/Scientific/Other
Url: https://trac.osgeo.org/proj/ URL: https://trac.osgeo.org/proj/
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
Source1: http://download.osgeo.org/proj/%{name}-datumgrid-1.6.zip Source1: http://download.osgeo.org/proj/%{name}-datumgrid-%{gridver}.zip
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: unzip BuildRequires: unzip
Provides: libproj = %{version} Provides: libproj = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n %{libname}
Summary: Cartographic projection software
Group: Development/Libraries/C and C++
%package -n libproj-devel
Summary: Development files for PROJ
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%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.
%description %description
This package offers the commandline tools for performing respective This package offers the commandline tools for performing respective
forward and inverse transformation of cartographic data to or from cartesian forward and inverse transformation of cartographic data to or from cartesian
data with a wide range of selectable projection functions. data with a wide range of selectable projection functions.
%description -n libproj-devel %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. This package contains libproj and the appropriate header files and man pages.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
cd nad cd nad
unzip -o %{SOURCE1} unzip -o %{SOURCE1}
@ -72,31 +75,33 @@ install -D -p -m 0644 src/projects.h %{buildroot}/%{_includedir}/projects.h
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %doc NEWS AUTHORS README ChangeLog
%doc NEWS AUTHORS COPYING README ChangeLog
%defattr(0755,root,root) %defattr(0755,root,root)
%{_bindir}/cs2cs %{_bindir}/cs2cs
%{_bindir}/cct
%{_bindir}/gie
%{_bindir}/geod %{_bindir}/geod
%{_bindir}/invgeod %{_bindir}/invgeod
%{_bindir}/invproj %{_bindir}/invproj
%{_bindir}/nad2bin %{_bindir}/nad2bin
%{_bindir}/proj %{_bindir}/proj
%defattr(0644,root,root) %defattr(0644,root,root)
%{_mandir}/man1/cs2cs.1%{ext_man} %{_mandir}/man1/cs2cs.1%{?ext_man}
%{_mandir}/man1/geod.1%{ext_man} %{_mandir}/man1/geod.1%{?ext_man}
%{_mandir}/man1/proj.1%{ext_man} %{_mandir}/man1/proj.1%{?ext_man}
%{_mandir}/man1/cct.1%{?ext_man}
%{_mandir}/man1/gie.1%{?ext_man}
%{_datadir}/proj/ %{_datadir}/proj/
%files -n %{libname} %files -n %{libname}
%defattr(0644,root,root) %license COPYING
%{_libdir}/libproj.so.12* %{_libdir}/libproj.so.%{sover}*
%files -n libproj-devel %files devel
%defattr(0644,root,root)
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/libproj.so %{_libdir}/libproj.so
%{_libdir}/pkgconfig/proj.pc %{_libdir}/pkgconfig/proj.pc
%{_mandir}/man3/geodesic.3%{ext_man} %{_mandir}/man3/geodesic.3%{?ext_man}
%{_mandir}/man3/pj_init.3%{ext_man} %{_mandir}/man3/pj_init.3%{?ext_man}
%changelog %changelog