Skip to content

Commit e73c02e

Browse files
Upgrade: libgeotiff version to 1.7.3 (#13696)
1 parent 55f61fc commit e73c02e

4 files changed

Lines changed: 81 additions & 46 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"Signatures": {
3-
"libgeotiff-1.7.1.tar.gz": "05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6"
3+
"libgeotiff-1.7.3.tar.gz": "ba23a3a35980ed3de916e125c739251f8e3266be07540200125a307d7cf5a704"
44
}
55
}
6+

SPECS-EXTENDED/libgeotiff/libgeotiff.spec

Lines changed: 60 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1-
Summary: GeoTIFF format library
2-
Name: libgeotiff
3-
Version: 1.7.1
4-
Release: 5%{?dist}
5-
License: MIT
61
Vendor: Microsoft Corporation
72
Distribution: Azure Linux
8-
URL: https://trac.osgeo.org/geotiff/
9-
Source: https://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz
3+
4+
Name: libgeotiff
5+
Version: 1.7.3
6+
Release: 4%{?dist}
7+
8+
Summary: GeoTIFF format library
9+
License: MIT
10+
URL: https://trac.osgeo.org/geotiff/
11+
Source: https://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz
1012
# Honour LIB_SUFFIX
1113
# Honour GEOTIFF_INCLUDE_SUBDIR
1214
# Add version suffix to mingw library
1315
# Fix cmake module install dir
1416
# Don't install docs
15-
Patch0: libgeotiff_cmake.patch
16-
BuildRequires: cmake
17-
BuildRequires: gcc-c++
18-
BuildRequires: libjpeg-devel
19-
BuildRequires: libtiff-devel
20-
BuildRequires: proj-devel
21-
BuildRequires: zlib-devel
17+
Patch0: libgeotiff_cmake.patch
18+
19+
BuildRequires: cmake
20+
BuildRequires: gcc-c++
21+
BuildRequires: libtiff-devel
22+
BuildRequires: libjpeg-devel
23+
BuildRequires: proj-devel
24+
BuildRequires: zlib-devel
2225

2326
%description
2427
GeoTIFF represents an effort by over 160 different remote sensing,
@@ -27,28 +30,25 @@ to establish a TIFF based interchange format for georeferenced
2730
raster imagery.
2831

2932
%package devel
30-
Summary: Development library and header for the GeoTIFF file format library
31-
Requires: %{name}%{?_isa} = %{version}-%{release}
32-
Requires: libtiff-devel
33-
Requires: pkgconfig
33+
Summary: Development library and header for the GeoTIFF file format library
34+
Requires: pkgconfig libtiff-devel
35+
Requires: %{name}%{?_isa} = %{version}-%{release}
3436

3537
%description devel
3638
The GeoTIFF library provides support for development of geotiff image format.
3739

3840
%prep
3941
%autosetup -p1 -n %{name}-%{version}
4042

41-
4243
%build
4344
# Native build
44-
%cmake -DGEOTIFF_BIN_SUBDIR=bin -DGEOTIFF_INCLUDE_SUBDIR=include/%{name} -DGEOTIFF_LIB_SUBDIR=%{_lib}
45+
%cmake -DGEOTIFF_BIN_SUBDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/%{name}
4546
%cmake_build
4647

4748

4849
%install
4950
%cmake_install
5051

51-
5252
# install pkgconfig file
5353
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
5454
cat > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc <<EOF
@@ -59,15 +59,14 @@ includedir=%{_includedir}/%{name}
5959

6060
Name: %{name}
6161
Description: GeoTIFF file format library
62-
Version: %{version}
62+
Version: 1.7.3
6363
Libs: -L\${libdir} -lgeotiff
6464
Cflags: -I\${includedir}
6565
EOF
6666

6767
%check
6868
%ctest
6969

70-
7170
%files
7271
%license LICENSE
7372
%doc ChangeLog
@@ -85,10 +84,45 @@ EOF
8584
%{_libdir}/cmake/GeoTIFF/
8685

8786
%changelog
88-
* Wed Aug 09 2023 Archana Choudhary <archana1@microsoft.com> - 1.7.1-5
89-
- Initial CBL-Mariner import from Fedora 37 (license: MIT)
87+
* Wed May 07 2025 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 1.7.3-4
88+
- Initial Azure Linux import from Fedora 41 (license: MIT)
9089
- License verified
91-
- Remove mingw build conditional execution statements
90+
91+
* Thu Apr 17 2025 Sandro Mani <manisandro@gmail.com> - 1.7.3-3
92+
- Rebuild against correct crt
93+
94+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
95+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
96+
97+
* Sat May 25 2024 Sandro Mani <manisandro@gmail.com> - 1.7.3-1
98+
- Update to 1.7.3
99+
100+
* Tue Mar 05 2024 Sandro Mani <manisandro@gmail.com> - 1.7.1-13
101+
- Rebuild (proj)
102+
103+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-12
104+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
105+
106+
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-11
107+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
108+
109+
* Sun Sep 03 2023 Sandro Mani <manisandro@gmail.com> - 1.7.1-10
110+
- Rebuild (proj)
111+
112+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-9
113+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
114+
115+
* Thu May 18 2023 Orion Poplawski <orion@nwra.com> - 1.7.1-8
116+
- Change BR to mingw*-gcc-c++
117+
118+
* Sat Mar 04 2023 Sandro Mani <manisandro@gmail.com> - 1.7.1-7
119+
- Rebuild (proj)
120+
121+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-6
122+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
123+
124+
* Sun Sep 04 2022 Sandro Mani <manisandro@gmail.com> - 1.7.1-5
125+
- Rebuild (proj)
92126

93127
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-4
94128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
diff -rupN --no-dereference libgeotiff-1.7.1/cmake/CMakeLists.txt libgeotiff-1.7.1-new/cmake/CMakeLists.txt
2-
--- libgeotiff-1.7.1/cmake/CMakeLists.txt 2022-02-18 16:07:34.000000000 +0100
3-
+++ libgeotiff-1.7.1-new/cmake/CMakeLists.txt 2022-03-14 23:38:20.294077484 +0100
1+
diff -rupN libgeotiff-1.7.3/cmake/CMakeLists.txt libgeotiff-1.7.3-new/cmake/CMakeLists.txt
2+
--- libgeotiff-1.7.3/cmake/CMakeLists.txt 2022-02-18 16:07:34.000000000 +0100
3+
+++ libgeotiff-1.7.3-new/cmake/CMakeLists.txt 2024-05-25 11:33:17.823041296 +0200
44
@@ -6,13 +6,8 @@
55
# ${INSTALL_CMAKE_DIR} and @PROJECT_ROOT_DIR@ is the relative
66
# path to the root from there. (Note that the whole install tree can
@@ -17,29 +17,29 @@ diff -rupN --no-dereference libgeotiff-1.7.1/cmake/CMakeLists.txt libgeotiff-1.7
1717

1818
configure_file (project-config.cmake.in project-config.cmake @ONLY)
1919
configure_file (project-config-version.cmake.in
20-
diff -rupN --no-dereference libgeotiff-1.7.1/CMakeLists.txt libgeotiff-1.7.1-new/CMakeLists.txt
21-
--- libgeotiff-1.7.1/CMakeLists.txt 2022-03-10 09:32:14.000000000 +0100
22-
+++ libgeotiff-1.7.1-new/CMakeLists.txt 2022-03-14 23:38:20.295077481 +0100
23-
@@ -261,9 +261,9 @@ SET(GEOTIFF_LIB_DIR ${GEOTIFF_LIB_SUBDIR
24-
SET(GEOTIFF_INCLUDE_DIR ${GEOTIFF_INCLUDE_SUBDIR})
20+
diff -rupN libgeotiff-1.7.3/CMakeLists.txt libgeotiff-1.7.3-new/CMakeLists.txt
21+
--- libgeotiff-1.7.3/CMakeLists.txt 2024-05-24 15:38:59.000000000 +0200
22+
+++ libgeotiff-1.7.3-new/CMakeLists.txt 2024-05-25 11:35:20.294177785 +0200
23+
@@ -244,9 +244,9 @@ SET(GEOTIFF_MAN_PAGES
24+
# ${PROJECT_BINARY_DIR}/geotiff_version.h
2525

2626
# Install doc files
2727
-INSTALL(FILES
28-
- AUTHORS ChangeLog COPYING INSTALL LICENSE README README_BIN README.WIN
29-
- DESTINATION doc)
30-
+#INSTALL(FILES
31-
+ #AUTHORS ChangeLog COPYING INSTALL LICENSE README README_BIN README.WIN
32-
+ #DESTINATION doc)
28+
- AUTHORS ChangeLog COPYING LICENSE README README_BIN README.WIN
29+
- DESTINATION ${CMAKE_INSTALL_DOCDIR})
30+
+# INSTALL(FILES
31+
+ # AUTHORS ChangeLog COPYING LICENSE README README_BIN README.WIN
32+
+ # DESTINATION ${CMAKE_INSTALL_DOCDIR})
3333

3434
# Install man pages
35-
INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION share/man/man1)
36-
@@ -329,6 +329,9 @@ endif()
35+
INSTALL(FILES ${GEOTIFF_MAN_PAGES} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
36+
@@ -312,6 +312,9 @@ endif()
3737

3838
SET_TARGET_PROPERTIES(${GEOTIFF_LIBRARY_TARGET} PROPERTIES
3939
OUTPUT_NAME ${GEOTIFF_LIB_NAME})
4040
+IF(MINGW)
4141
+ SET_TARGET_PROPERTIES(${GEOTIFF_LIBRARY_TARGET} PROPERTIES SUFFIX "-${LINK_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}")
4242
+ENDIF(MINGW)
4343

44-
set(CONFIG_DEPENDENCIES "")
45-
if(TARGET TIFF::TIFF)
44+
set(CONFIG_PUBLIC_DEPENDENCIES "")
45+
set(CONFIG_PRIVATE_DEPENDENCIES "")

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9581,8 +9581,8 @@
95819581
"type": "other",
95829582
"other": {
95839583
"name": "libgeotiff",
9584-
"version": "1.7.1",
9585-
"downloadUrl": "https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.7.1.tar.gz"
9584+
"version": "1.7.3",
9585+
"downloadUrl": "https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.7.3.tar.gz"
95869586
}
95879587
}
95889588
},

0 commit comments

Comments
 (0)