Upgrade libgeotiff to 1.7.0
(cherry picked from commit a74a1aa1afbbc2ecf9250c0de8c0c9a1a4d5d9da)
This commit is contained in:
parent
d7a7403ab2
commit
d764065244
Binary file not shown.
BIN
libgeotiff-1.7.0.tar.gz
Normal file
BIN
libgeotiff-1.7.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
Name: libgeotiff
|
||||
Version: 1.4.0
|
||||
Release: 16
|
||||
Version: 1.7.0
|
||||
Release: 1
|
||||
Summary: Open source library of GeoTIFF
|
||||
License: MIT
|
||||
URL: http://trac.osgeo.org/geotiff/
|
||||
Source: http://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++ libtiff-devel libjpeg-devel proj-devel zlib-devel
|
||||
BuildRequires: gcc-c++ libtiff-devel libjpeg-devel proj-devel >= 6.2.0 zlib-devel
|
||||
|
||||
Patch0001: fix-geotifcp-usage-command-mismatch.patch
|
||||
|
||||
@ -54,33 +54,33 @@ Libs: -L\${libdir} -lgeotiff
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
|
||||
install -D -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
||||
%{__mkdir} -p %{buildroot}%{_libdir}/pkgconfig/
|
||||
%{__install} -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
#clean up junks
|
||||
%{__rm} -fv %{buildroot}%{_libdir}/lib*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%dir %{_datadir}/epsg_csv
|
||||
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
||||
%license LICENSE
|
||||
%{_bindir}/*
|
||||
%{_libdir}/%{name}.so.2*
|
||||
%exclude %{_libdir}/lib*.la
|
||||
%{_libdir}/%{name}.so.5*
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/%{name}
|
||||
%attr(0644,root,root) %{_includedir}/%{name}/*.{h,inc}
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files help
|
||||
%doc ChangeLog README
|
||||
%{_mandir}/man1/listgeo.1.gz
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 18 2022 yaoxin <yaoxin30@huawei.com> - 1.7.0-1
|
||||
- Upgrade libgeotiff to 1.7.0
|
||||
|
||||
* Mon Sep 13 2021 lingsheng <lingsheng@huawei.com> - 1.4.0-16
|
||||
- fix geotifcp usage command mismatch
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user