Upgrade to 9.3.0
This commit is contained in:
parent
8386bd5b44
commit
f26300b2f0
Binary file not shown.
BIN
proj-9.3.0.tar.gz
Normal file
BIN
proj-9.3.0.tar.gz
Normal file
Binary file not shown.
40
proj.spec
40
proj.spec
@ -1,6 +1,6 @@
|
|||||||
Name: proj
|
Name: proj
|
||||||
Version: 8.2.1
|
Version: 9.3.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A generic coordinate transformation software
|
Summary: A generic coordinate transformation software
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://proj4.org
|
URL: https://proj4.org
|
||||||
@ -8,6 +8,7 @@ Source0: http://download.osgeo.org/proj/proj-%{version}.tar.gz
|
|||||||
Source1: http://download.osgeo.org/proj/proj-datumgrid-1.7.tar.gz
|
Source1: http://download.osgeo.org/proj/proj-datumgrid-1.7.tar.gz
|
||||||
BuildRequires: libtool make
|
BuildRequires: libtool make
|
||||||
BuildRequires: gcc-c++ sqlite-devel libtiff-devel curl-devel
|
BuildRequires: gcc-c++ sqlite-devel libtiff-devel curl-devel
|
||||||
|
BuildRequires: cmake gtest-devel >= 1.8.0 gmock-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PROJ is a generic coordinate transformation software that transforms
|
PROJ is a generic coordinate transformation software that transforms
|
||||||
@ -43,19 +44,17 @@ This package contains additional US and Canadian datum shift grids.
|
|||||||
%autosetup -n proj-%{version} -p1
|
%autosetup -n proj-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e 's|5\:4\:5|6\:4\:6|' src/Makefile*
|
%cmake -DUSE_EXTERNAL_GTEST=ON
|
||||||
%configure
|
%make_build
|
||||||
%make_build OPTIMIZE="$RPM_OPT_FLAGS"
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
tar -C %{buildroot}%{_datadir}/%{name} -xf %{SOURCE1}
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
# It would be good to find out where these extra files# come from:
|
tar -xf %{SOURCE1} --directory %{buildroot}%{_datadir}/%{name}
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/${name}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./test$i %{buildroot}%{_bindir}/proj ||:
|
ctest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -63,9 +62,17 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING NEWS
|
||||||
%{_bindir}/*
|
%{_bindir}/cct
|
||||||
%{_libdir}/libproj.so.22*
|
%{_bindir}/cs2cs
|
||||||
|
%{_bindir}/geod
|
||||||
|
%{_bindir}/gie
|
||||||
|
%{_bindir}/invgeod
|
||||||
|
%{_bindir}/invproj
|
||||||
|
%{_bindir}/proj
|
||||||
|
%{_bindir}/projinfo
|
||||||
|
%{_bindir}/projsync
|
||||||
|
%{_libdir}/libproj.so.25*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc NEWS README ChangeLog
|
%doc NEWS README ChangeLog
|
||||||
@ -75,6 +82,8 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
|||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_includedir}/proj
|
%{_includedir}/proj
|
||||||
%{_libdir}/{libproj.so,libproj.a,libproj.la}
|
%{_libdir}/{libproj.so,libproj.a,libproj.la}
|
||||||
|
%{_libdir}/cmake/proj/*.cmake
|
||||||
|
%{_libdir}/cmake/proj4/*.cmake
|
||||||
%attr(0755,root,root) %{_libdir}/pkgconfig/proj.pc
|
%attr(0755,root,root) %{_libdir}/pkgconfig/proj.pc
|
||||||
|
|
||||||
%files nad
|
%files nad
|
||||||
@ -82,6 +91,9 @@ rm -rf %{buildroot}%{_datadir}/doc/${name}
|
|||||||
%{_datadir}/proj
|
%{_datadir}/proj
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 19 2023 yaoxin <yao_xin001@hoperun.com> - 9.3.0-1
|
||||||
|
- Upgrade to 9.3.0
|
||||||
|
|
||||||
* Wed Dec 14 2022 caodongxia <caodongxia@h-partners.com> - 8.2.1-2
|
* Wed Dec 14 2022 caodongxia <caodongxia@h-partners.com> - 8.2.1-2
|
||||||
- Add the compilation dependency make
|
- Add the compilation dependency make
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user