GDAL 3.12: Initial 3.12.0 packaging per changes described at https://github.com/OSGeo...
authorDevrim Gunduz <devrim@gunduz.org>
Sat, 8 Nov 2025 13:08:56 +0000 (16:08 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Sat, 8 Nov 2025 13:08:56 +0000 (16:08 +0300)
49 files changed:
rpm/redhat/main/common/gdal312/EL-10/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/EL-10/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/EL-10/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/EL-10/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/EL-10/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/EL-10/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/EL-10/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/EL-9/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/EL-9/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/EL-9/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/EL-9/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/EL-9/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/EL-9/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/EL-9/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/F-42/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/F-42/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/F-42/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/F-42/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/F-42/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/F-42/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/F-42/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/F-43/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/F-43/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/F-43/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/F-43/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/F-43/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/F-43/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/F-43/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/SLES-15/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/SLES-15/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/SLES-16/PROVENANCE.TXT-fedora [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/gdal-3.12.0-fedora.tar.xz [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/gdal-cleaner.sh [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/gdal312-cleanup.patch [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/gdal312-pgdg-libs.conf [new symlink]
rpm/redhat/main/common/gdal312/SLES-16/gdal312.spec [new symlink]
rpm/redhat/main/common/gdal312/main/Makefile [new file with mode: 0644]
rpm/redhat/main/common/gdal312/main/PROVENANCE.TXT-fedora [new file with mode: 0644]
rpm/redhat/main/common/gdal312/main/gdal-3.12.0-fedora.tar.xz [new file with mode: 0644]
rpm/redhat/main/common/gdal312/main/gdal-cleaner.sh [new file with mode: 0755]
rpm/redhat/main/common/gdal312/main/gdal312-cleanup.patch [new file with mode: 0644]
rpm/redhat/main/common/gdal312/main/gdal312-pgdg-libs.conf [new file with mode: 0644]
rpm/redhat/main/common/gdal312/main/gdal312.spec [new file with mode: 0644]

diff --git a/rpm/redhat/main/common/gdal312/EL-10/Makefile b/rpm/redhat/main/common/gdal312/EL-10/Makefile
new file mode 100644 (file)
index 0000000..47f64e1
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.rhel10
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/EL-10/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/EL-10/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-10/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/EL-10/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-10/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/EL-10/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-10/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/EL-10/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-10/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/EL-10/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-10/gdal312.spec b/rpm/redhat/main/common/gdal312/EL-10/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/Makefile b/rpm/redhat/main/common/gdal312/EL-9/Makefile
new file mode 100644 (file)
index 0000000..4413f5a
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.rhel9
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/EL-9/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/EL-9/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/EL-9/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/EL-9/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/EL-9/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/EL-9/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/EL-9/gdal312.spec b/rpm/redhat/main/common/gdal312/EL-9/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/Makefile b/rpm/redhat/main/common/gdal312/F-42/Makefile
new file mode 100644 (file)
index 0000000..a549f7c
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f42
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/F-42/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/F-42/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/F-42/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/F-42/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/F-42/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/F-42/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-42/gdal312.spec b/rpm/redhat/main/common/gdal312/F-42/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/Makefile b/rpm/redhat/main/common/gdal312/F-43/Makefile
new file mode 100644 (file)
index 0000000..8f4541d
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f43
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/F-43/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/F-43/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/F-43/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/F-43/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/F-43/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/F-43/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/F-43/gdal312.spec b/rpm/redhat/main/common/gdal312/F-43/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/Makefile b/rpm/redhat/main/common/gdal312/SLES-15/Makefile
new file mode 100644 (file)
index 0000000..69dad56
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=".sles15"
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/SLES-15/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/SLES-15/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/SLES-15/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/SLES-15/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/SLES-15/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-15/gdal312.spec b/rpm/redhat/main/common/gdal312/SLES-15/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/Makefile b/rpm/redhat/main/common/gdal312/SLES-16/Makefile
new file mode 100644 (file)
index 0000000..8c7b420
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=".sles16"
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/SLES-16/PROVENANCE.TXT-fedora
new file mode 120000 (symlink)
index 0000000..5ff4181
--- /dev/null
@@ -0,0 +1 @@
+../main/PROVENANCE.TXT-fedora
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/SLES-16/gdal-3.12.0-fedora.tar.xz
new file mode 120000 (symlink)
index 0000000..716bc50
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-3.12.0-fedora.tar.xz
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/SLES-16/gdal-cleaner.sh
new file mode 120000 (symlink)
index 0000000..65153ab
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal-cleaner.sh
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/SLES-16/gdal312-cleanup.patch
new file mode 120000 (symlink)
index 0000000..105a49b
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-cleanup.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/SLES-16/gdal312-pgdg-libs.conf
new file mode 120000 (symlink)
index 0000000..89e7ca3
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312-pgdg-libs.conf
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/SLES-16/gdal312.spec b/rpm/redhat/main/common/gdal312/SLES-16/gdal312.spec
new file mode 120000 (symlink)
index 0000000..cfd2861
--- /dev/null
@@ -0,0 +1 @@
+../main/gdal312.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/common/gdal312/main/Makefile b/rpm/redhat/main/common/gdal312/main/Makefile
new file mode 100644 (file)
index 0000000..c8edebf
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f99
+SPECFILE="gdal312.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/common/gdal312/main/PROVENANCE.TXT-fedora b/rpm/redhat/main/common/gdal312/main/PROVENANCE.TXT-fedora
new file mode 100644 (file)
index 0000000..09700d5
--- /dev/null
@@ -0,0 +1,38 @@
+gdal-1.9.1.tar.gz re-pack for Fedora
+
+All files with pending legal questions are stripped from the original tarball,
+to form this tarball. Legal information is mainly from PROVENANCE.TXT
+
+
+No files are manipulated. 
+
+Please see the cleaning script clean-gdal.sh!
+
+This leaves GDAL short of a few formats, coordinate systems and the PHP bindings.
+
+                           Volker Fröhlich <volker27@gmx.at>
+
+ * updated to 1.9.1 by Volker Fröhlich <volker27@gmx.at>
+ * updated to 1.9.0 by Volker Fröhlich <volker27@gmx.at>
+ * updated to 1.7.3 by Viji V Nair <viji@fedoraproject.org>
+ * updated to 1.7.2 by Sven Lankes <sven@lank.es>
+ * updated to 1.7.1 by Balint Crisitan <cristian.balint@gmail.com>
+ * updated to 1.6.1 by Dan Horak <dan@danny.cz>
+
+
+Removed files:
+========================================
+# due to uncertain license issues
+and derivative copy from ESRI (TM) and CubeWerx (TM):
+
+data/cubewerx_extra.wkt
+data/esri_extra.wkt
+data/ecw_cs.wkt
+
+Removed folders plus its contents:
+========================================
+# due to uncertain license issues these formats
+are removed and not suported in fedora pack:
+
+frmts/bsb <-- http://www.osgeo.org/pipermail/gdal-dev/2003-September/001097.html
+swig/php <-- PHP license, incompatible mixture
diff --git a/rpm/redhat/main/common/gdal312/main/gdal-3.12.0-fedora.tar.xz b/rpm/redhat/main/common/gdal312/main/gdal-3.12.0-fedora.tar.xz
new file mode 100644 (file)
index 0000000..2e47a7d
Binary files /dev/null and b/rpm/redhat/main/common/gdal312/main/gdal-3.12.0-fedora.tar.xz differ
diff --git a/rpm/redhat/main/common/gdal312/main/gdal-cleaner.sh b/rpm/redhat/main/common/gdal312/main/gdal-cleaner.sh
new file mode 100755 (executable)
index 0000000..3d528c6
--- /dev/null
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+if [ $# -lt 1 ]; then
+       echo "Usage: $0 version"
+       exit 1
+fi
+
+VERSION="$1"
+PRE="$2"
+
+if [ ! -f "gdal-"${VERSION}${PRE}".tar.xz" ]; then
+    wget https://download.osgeo.org/gdal/${VERSION}/gdal-${VERSION}${PRE}.tar.xz
+fi
+
+if [ -d gdal-"${VERSION}" ] || [ -d gdal-"${VERSION}"-fedora ]; then
+    echo "gdal-${VERSION} or gdal-${VERSION}-fedora in the way, please remove and rerun this script"
+    exit 1
+fi
+
+tar xvf gdal-"${VERSION}${PRE}".tar.xz
+mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora
+
+rm -v ogr/data/cubewerx_extra.wkt
+rm -v ogr/data/esri_StatePlane_extra.wkt
+rm -v ogr/data/ecw_cs.wkt
+
+sed -i 's|data/cubewerx_extra.wkt||' gdal.cmake
+sed -i 's|data/esri_StatePlane_extra.wkt||' gdal.cmake
+sed -i 's|data/ecw_cs.wkt||' gdal.cmake
+
+popd
+
+
+#TODO: Insert Provenance file
+
+tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}"-fedora
diff --git a/rpm/redhat/main/common/gdal312/main/gdal312-cleanup.patch b/rpm/redhat/main/common/gdal312/main/gdal312-cleanup.patch
new file mode 100644 (file)
index 0000000..a024586
--- /dev/null
@@ -0,0 +1,13 @@
+--- ogr/CMakeLists.txt.old     2025-09-11 22:06:20.275284282 +0100
++++ ogr/CMakeLists.txt 2025-09-11 22:06:52.838287189 +0100
+@@ -76,10 +76,7 @@
+ set(GDAL_DATA_FILES
+     LICENSE.TXT
+-    ${CMAKE_CURRENT_SOURCE_DIR}/data/cubewerx_extra.wkt
+-    ${CMAKE_CURRENT_SOURCE_DIR}/data/ecw_cs.wkt
+     ${CMAKE_CURRENT_SOURCE_DIR}/data/epsg.wkt
+-    ${CMAKE_CURRENT_SOURCE_DIR}/data/esri_StatePlane_extra.wkt
+     ${CMAKE_CURRENT_SOURCE_DIR}/data/ozi_datum.csv
+     ${CMAKE_CURRENT_SOURCE_DIR}/data/ozi_ellips.csv
+     ${CMAKE_CURRENT_SOURCE_DIR}/data/pci_datum.txt
diff --git a/rpm/redhat/main/common/gdal312/main/gdal312-pgdg-libs.conf b/rpm/redhat/main/common/gdal312/main/gdal312-pgdg-libs.conf
new file mode 100644 (file)
index 0000000..28c3bfa
--- /dev/null
@@ -0,0 +1 @@
+/usr/gdal312/lib/
diff --git a/rpm/redhat/main/common/gdal312/main/gdal312.spec b/rpm/redhat/main/common/gdal312/main/gdal312.spec
new file mode 100644 (file)
index 0000000..a4b869f
--- /dev/null
@@ -0,0 +1,492 @@
+%global sname gdal
+
+%{!?gdaljava:%global gdaljava 1}
+
+%pgdg_set_gis_variables
+
+%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 || 0%{?suse_version} == 1600
+%{expand: %%global pyver %(echo `%{__python3} -c "import sys; sys.stdout.write(sys.version[:4])"`)}
+%else
+%{expand: %%global pyver %(echo `%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])"`)}
+%endif
+
+%global bashcompletiondir %(pkg-config --variable=compatdir bash-completion)
+
+%global geosfullversion %geos314fullversion
+%global geosmajorversion %geos314majorversion
+%global geosinstdir %geos314instdir
+
+%global gdalinstdir /usr/%{name}
+%global gdalsomajorversion     38
+%global libspatialitemajorversion      50
+
+%if 0%{?rhel} && 0%{?rhel} == 8
+%global projmajorversion %proj96majorversion
+%global projfullversion %proj96fullversion
+%global projinstdir %proj96instdir
+%else
+%global projmajorversion %proj97majorversion
+%global projfullversion %proj97fullversion
+%global projinstdir %proj97instdir
+%endif
+
+%if 0%{?suse_version} <= 1600
+%global        g2clib_enabled 0
+%else
+%global        g2clib_enabled 1
+%endif
+
+# Enable/disable generating refmans
+# texlive currently broken deps and FTBFS in rawhide
+%global build_refman 0
+# https://bugzilla.redhat.com/show_bug.cgi?id=1490492
+
+Name:          %{sname}312
+Version:       3.12.0
+Release:       1PGDG%{?dist}
+Summary:       GIS file format library
+License:       MIT
+URL:           https://www.gdal.org
+# Source0: https://download.osgeo.org/gdal/%%{version}/gdal-%%{version}.tar.xz
+# See PROVENANCE.TXT-fedora and the cleaner script for details!
+
+Source0:       %{sname}-%{version}-fedora.tar.xz
+Source4:       PROVENANCE.TXT-fedora
+
+# Cleaner script for the tarball
+Source5:       %{sname}-cleaner.sh
+
+Source6:       %{name}-pgdg-libs.conf
+
+Patch0:                %{name}-cleanup.patch
+
+# lz4 and bash-completion dependencies
+%if 0%{?suse_version} >= 1500
+BuildRequires: liblz4-devel bash-completion-devel
+Requires:      liblz4-1
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: lz4-devel bash-completion
+Requires:      lz4
+%endif
+
+BuildRequires: ant cmake gcc-c++ bison pgdg-srpm-macros >= 1.0.50
+
+BuildRequires: armadillo-devel
+BuildRequires: cfitsio-devel
+BuildRequires: chrpath
+BuildRequires: doxygen
+BuildRequires: fontconfig-devel
+BuildRequires: freexl-devel
+%if 0%{?g2clib_enabled}
+BuildRequires: g2clib-devel
+BuildRequires: g2clib-static
+%endif
+BuildRequires: geos%{geosmajorversion}-devel >= 3.13.3
+BuildRequires: ghostscript
+BuildRequires: jpackage-utils
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 9 || 0%{?suse_version} >= 1499
+BuildRequires: libarchive-devel >= 3.5.0
+%endif
+%ifnarch %{ppc64le}
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libarrow-devel
+%endif
+BuildRequires: libdeflate-devel
+%endif
+# For 'mvn_artifact' and 'mvn_install'
+BuildRequires: libgeotiff%{libgeotiffmajorversion}-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel >= 1.6.0
+%if 0%{?fedora}
+BuildRequires: libkml-devel
+%endif
+BuildRequires: libspatialite%{libspatialitemajorversion}-devel
+
+BuildRequires: libtiff-devel >= 4.1
+BuildRequires: libwebp-devel
+BuildRequires: libtool
+BuildRequires: giflib-devel
+BuildRequires: netcdf-devel >= 4.7
+%if 0%{?rhel}
+BuildRequires: mariadb-devel
+%endif
+%if 0%{?fedora}
+BuildRequires: mariadb-connector-c-devel
+%endif
+
+# Enable muparser library for VRT expressions
+%if 0%{?fedora} >= 42
+BuildRequires: muParser-devel
+Requires:      muParser
+%endif
+%if 0%{?suse_version} == 1500
+BuildRequires: muparser-devel
+Requires:      libmuparser2_3_3
+%endif
+%if 0%{?suse_version} == 1500
+BuildRequires: muparser-devel
+Requires:      libmuparser2_3_4
+%endif
+
+BuildRequires: libpq5-devel
+BuildRequires: pcre2-devel
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: %{_bindir}/pkg-config
+%if 0%{?suse_version} >= 1500
+BuildRequires: libpoppler-devel >= 0.86
+%else
+BuildRequires: poppler-devel >= 0.86
+%endif
+BuildRequires: proj%{projmajorversion}-devel >= 9.4.1
+
+BuildRequires: sqlite-devel >= 3.31
+BuildRequires: swig
+%if %{build_refman}
+BuildRequires: texlive-collection-fontsrecommended
+%if 0%{?fedora}
+BuildRequires: texlive-collection-langcyrillic
+BuildRequires: texlive-collection-langportuguese
+BuildRequires: texlive-newunicodechar
+%endif
+BuildRequires: texlive-epstopdf
+BuildRequires: tex(multirow.sty)
+BuildRequires: tex(sectsty.sty)
+BuildRequires: tex(tocloft.sty)
+BuildRequires: tex(xtab.sty)
+%endif
+BuildRequires: unixODBC-devel
+
+%if 0%{?suse_version} == 1500
+BuildRequires: hdf hdf-devel hdf-devel-static
+BuildRequires: hdf5 hdf5-devel hdf5-devel-static
+BuildRequires: libexpat-devel libjson-c-devel
+BuildRequires: libjasper-devel
+BuildRequires: libxerces-c-devel
+BuildRequires: python3-numpy-devel
+BuildRequires: python311-devel
+BuildRequires: libshp-devel libcurl-devel >= 7.68
+BuildRequires: java-11-openjdk-devel
+%endif
+%if 0%{?suse_version} == 1600
+BuildRequires: hdf5 hdf5-devel
+BuildRequires: libexpat-devel libjson-c-devel
+BuildRequires: libjasper-devel
+BuildRequires: libxerces-c-devel
+BuildRequires: python3-numpy-devel
+BuildRequires: python3-devel
+BuildRequires: java-21-openjdk-devel
+%endif
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 8
+BuildRequires: libdap-devel
+BuildRequires: expat-devel
+BuildRequires: hdf-devel hdf-static hdf5-devel >= 1.10
+BuildRequires: jasper-devel
+BuildRequires: java-devel >= 1:1.6.0
+BuildRequires: json-c-devel
+BuildRequires: libdap-devel libgta-devel
+BuildRequires: perl-devel
+BuildRequires: perl-generators
+BuildRequires: xerces-c-devel
+%endif
+BuildRequires: xz-devel
+BuildRequires: zlib-devel
+BuildRequires: libtirpc-devel
+
+BuildRequires: python3-numpy
+BuildRequires: python3-setuptools
+
+BuildRequires: qhull-devel
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 9
+BuildRequires: SFCGAL-devel >= 2.0.0
+%else
+BuildRequires: SFCGAL-devel
+%endif
+%if 0%{?suse_version} == 1500
+%endif
+
+BuildRequires: shapelib-devel curl-devel >= 7.68
+BuildRequires: python3-devel >= 3.8
+BuildRequires: openjpeg2-devel >= 2.3.1
+
+# Run time dependencies
+Requires:      gpsbabel
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 9
+Requires:      libarchive >= 3.5.0
+%endif
+%if 0%{?suse_version} >= 1499
+Requires: libarchive13 >= 3.5.0
+%endif
+Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
+
+
+%description
+Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform
+C++ translator library for raster and vector geospatial data formats.
+As a library, it presents a single abstract data model to the calling
+application for all supported formats. It also comes with a variety of
+useful commandline utilities for data translation and processing.
+
+It provides the primary data access engine for many applications.
+GDAL/OGR is the most widely used geospatial data access library.
+
+
+%package devel
+Summary:       Development files for the GDAL file format library
+Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+This package contains development files for GDAL.
+
+
+%package libs
+Summary:       GDAL file format library
+# See frmts/grib/degrib/README.TXT
+Provides:      bundled(g2lib) = 1.6.0
+Provides:      bundled(degrib) = 2.14
+Requires:      netcdf >= 4.7 gpsbabel
+Requires:      libgeotiff%{libgeotiffmajorversion}
+Requires:      libspatialite%{libspatialitemajorversion}
+
+%if 0%{?suse_version}
+%if 0%{?suse_version} <= 1499
+Requires:      libarmadillo10
+%endif
+%endif
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 9
+Requires:      armadillo
+%endif
+
+%description libs
+This package contains the GDAL file format library.
+
+%if %gdaljava
+%package java
+Summary:       Java modules for the GDAL file format library
+Requires:      jpackage-utils
+Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description java
+The GDAL Java modules provide support to handle multiple GIS file formats.
+
+
+%package javadoc
+Summary:       Javadocs for %{name}
+Requires:      jpackage-utils
+BuildArch:     noarch
+
+%description javadoc
+This package contains the API documentation for %{name}.
+%endif
+
+%package python3
+%{?py_provide:%py_provide python3-gdal}
+Summary:       Python modules for the GDAL file format library
+Requires:      python3-numpy
+Requires:      %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description python3
+The GDAL Python 3 modules provide support to handle multiple GIS file formats.
+
+
+%package python-tools
+Summary:       Python tools for the GDAL file format library
+Requires:      python3-gdal
+
+%description python-tools
+The GDAL Python package provides number of tools for programming and
+manipulating GDAL file format library
+
+# We don't want to provide private Python extension libs
+%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\.so$
+%global __provides_exclude_from ^%{python3_sitearch}/.*\.so$
+
+%prep
+%setup -q -n %{sname}-%{version}-fedora
+
+%patch -P 0 -p0
+
+# Delete bundled libraries
+rm -rf frmts/png/libpng
+rm -rf frmts/gif/giflib
+rm -rf frmts/jpeg/libjpeg
+rm -rf frmts/jpeg/libjpeg12
+rm -rf mrf/LERCV1
+
+# Copy in PROVENANCE.TXT-fedora
+cp -a %{SOURCE4} .
+
+%build
+# Use a newer GCC on SLES 15 to build this version of GDAL:
+%if 0%{?suse_version} == 1500
+export CC=/usr/bin/gcc-13
+export CXX=/usr/bin/g++-13
+%endif
+%ifarch sparcv9 sparc64 s390 s390x
+export CFLAGS="$RPM_OPT_FLAGS -fPIC"
+%else
+export CFLAGS="$RPM_OPT_FLAGS -fpic"
+%endif
+export CXXFLAGS="$CFLAGS -I%{projinstdir}/include -I%{libgeotiffinstdir}/include -I%{geosinstdir}/include -I%{libspatialiteinstdir}/include"
+export CPPFLAGS="$CPPFLAGS -I%{projinstdir}/include -I%{libgeotiffinstdir}/include -I%{geosinstdir}/include -I%{libspatialiteinstdir}/include"
+# SLES 15 has -Itirpc on /usr/include, so use the following only on Fedora and RHEL:
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 9
+export CXXFLAGS="$CFLAGS -I%{_includedir}/tirpc"
+export CPPFLAGS="$CPPFLAGS -I%{_includedir}/tirpc"
+%endif
+LDFLAGS="$LDFLAGS -L%{projinstdir}/lib64 -L%{libgeotiffinstdir}/lib -L%{geosinstdir}/lib64 -L%{libspatialiteinstdir}/lib -L%{_libdir}"; export LDFLAGS
+SHLIB_LINK="$SHLIB_LINK -Wl,-rpath,%{projinstdir}/lib64,%{libgeotiffinstdir}/lib,%{geosinstdir}/lib64,%{libspatialiteinstdir}/lib" ; export SHLIB_LINK
+
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1500
+ %{__install} -d build
+ pushd build
+ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=%{gdalinstdir} \
+%endif
+%else
+ %cmake3 -DCMAKE_INSTALL_PREFIX:PATH=%{gdalinstdir} \
+%endif
+ -DCMAKE_INSTALL_INCLUDEDIR=include \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_PYTHON_BINDINGS=ON \
+ -DHAVE_SPATIALITE=ON \
+ -DPython_ROOT=/usr \
+ -DPython_LOOKUP_VERSION=%{pyver} \
+ -DSPATIALITE_INCLUDE_DIR=%{libspatialiteinstdir}/include \
+ -DSPATIALITE_LIBRARY=%{libspatialiteinstdir}/lib/libspatialite.so \
+ -DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \
+ -DCMAKE_PREFIX_PATH="%{geosinstdir};%{libgeotiffinstdir}" \
+ -DGDAL_USE_JPEG12_INTERNAL=OFF \
+ -DGDAL_USE_SHAPELIB=OFF \
+%if %gdaljava
+ -DBUILD_JAVA_BINDINGS=ON \
+%else
+ -DBUILD_JAVA_BINDINGS=OFF \
+%endif
+ -DSWIG_REGENERATE_PYTHON=OFF \
+ -DBUILD_CSHARP_BINDINGS=OFF
+
+%cmake_build
+
+%install
+# Use a newer GCC on SLES 15 to install this version of GDAL:
+%if 0%{?suse_version} == 1500
+export CC=/usr/bin/gcc-13
+export CXX=/usr/bin/g++-13
+%endif
+%cmake_install
+
+# List of manpages for python scripts
+for file in %{buildroot}%{gdalinstdir}/bin/*.py; do
+  if [ -f %{buildroot}%{gdalinstdir}/share/man/man1/`basename ${file/.py/.1*}` ]; then
+    echo "%{gdalinstdir}/share/man/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages.txt
+    echo "%exclude %{gdalinstdir}/share/man/man1/`basename ${file/.py/.1*}`" >> gdal_python_manpages_excludes.txt
+  fi
+done
+
+%{__mkdir} -p %{buildroot}/%{python3_sitearch}/
+%{__mv} %{buildroot}/%{gdalinstdir}/lib64/python%{pyver}/site-packages/GDAL-%{version}-py*.egg-info/ %{buildroot}/%{python3_sitearch}/GDAL-%{version}-py*.egg-info/
+%{__mv} %{buildroot}/%{gdalinstdir}/lib64/python%{pyver}/site-packages/osgeo %{buildroot}/%{python3_sitearch}/osgeo/
+%{__mv} %{buildroot}/%{gdalinstdir}/lib64/python%{pyver}/site-packages/osgeo_utils %{buildroot}/%{python3_sitearch}/osgeo_utils
+
+# Install linker config file:
+%{__mkdir} -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
+%{__install} %{SOURCE6} %{buildroot}%{_sysconfdir}/ld.so.conf.d/
+
+%files -f gdal_python_manpages_excludes.txt
+%{gdalinstdir}/bin/gdal
+%{gdalinstdir}/bin/gdal_contour
+%{gdalinstdir}/bin/gdal_create
+%{gdalinstdir}/bin/gdal_grid
+%{gdalinstdir}/bin/gdal_rasterize
+%{gdalinstdir}/bin/gdal_translate
+%{gdalinstdir}/bin/gdal_viewshed
+%{gdalinstdir}/bin/gdaladdo
+%{gdalinstdir}/bin/gdalbuildvrt
+%{gdalinstdir}/bin/gdaldem
+%{gdalinstdir}/bin/gdalenhance
+%{gdalinstdir}/bin/gdalinfo
+%{gdalinstdir}/bin/gdallocationinfo
+%{gdalinstdir}/bin/gdalmanage
+%{gdalinstdir}/bin/gdalmdiminfo
+%{gdalinstdir}/bin/gdalmdimtranslate
+%{gdalinstdir}/bin/gdalsrsinfo
+%{gdalinstdir}/bin/gdaltindex
+%{gdalinstdir}/bin/gdaltransform
+%{gdalinstdir}/bin/gdalwarp
+%{gdalinstdir}/bin/gnmanalyse
+%{gdalinstdir}/bin/gnmmanage
+%{gdalinstdir}/bin/nearblack
+%{gdalinstdir}/bin/sozip
+%{gdalinstdir}/bin/ogr_layer_algebra*
+%{gdalinstdir}/bin/ogr2ogr
+%{gdalinstdir}/bin/ogrinfo
+%{gdalinstdir}/bin/ogrlineref
+%{gdalinstdir}/bin/ogrtindex
+%{gdalinstdir}/share/bash-completion/completions/*
+%exclude %{gdalinstdir}/share/bash-completion/completions/*.py
+%{gdalinstdir}/share/man/man1/*
+%exclude %{gdalinstdir}/share/man/man1/gdal-config.1*
+# Python manpages excluded in -f gdal_python_manpages_excludes.txt
+
+%files libs
+%license LICENSE.TXT
+%doc NEWS.md PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora
+%{gdalinstdir}/lib/libgdal.so.%{gdalsomajorversion}
+%{gdalinstdir}/lib/libgdal.so.%{gdalsomajorversion}.*
+%{gdalinstdir}/share/%{sname}/
+%{gdalinstdir}/lib/gdalplugins/
+%config(noreplace) %attr (644,root,root) %{_sysconfdir}/ld.so.conf.d/%{name}-pgdg-libs.conf
+
+%files devel
+%{gdalinstdir}/bin/%{sname}-config
+%dir %{gdalinstdir}/include/
+%{gdalinstdir}/include/*.h
+%{gdalinstdir}/include/*.hpp
+%{gdalinstdir}/lib/cmake/%{sname}/GDAL*.cmake
+%{gdalinstdir}/lib/*.so
+%{gdalinstdir}/lib/pkgconfig/%{sname}.pc
+
+%files python3
+%doc swig/python/README.rst
+%{python3_sitearch}/GDAL-%{version}-py*.egg-info/
+%{python3_sitearch}/osgeo/
+%{python3_sitearch}/osgeo_utils/
+
+%files python-tools -f gdal_python_manpages.txt
+%{gdalinstdir}/bin/gdal_calc*
+%{gdalinstdir}/bin/gdal_edit*
+%{gdalinstdir}/bin/gdal_fillnodata*
+%{gdalinstdir}/bin/gdal_footprint
+%{gdalinstdir}/bin/gdal_merge*
+%{gdalinstdir}/bin/gdal_pansharpen*
+%{gdalinstdir}/bin/gdal_polygonize*
+%{gdalinstdir}/bin/gdal_proximity*
+%{gdalinstdir}/bin/gdal_retile*
+%{gdalinstdir}/bin/gdal_sieve*
+%{gdalinstdir}/bin/gdal2tiles*
+%{gdalinstdir}/bin/gdal2xyz*
+%{gdalinstdir}/bin/gdalattachpct*
+%{gdalinstdir}/bin/gdalcompare*
+%{gdalinstdir}/bin/gdalmove*
+%{gdalinstdir}/bin/ogrmerge*
+%{gdalinstdir}/bin/pct2rgb*
+%{gdalinstdir}/bin/rgb2pct*
+%{gdalinstdir}/share/bash-completion/completions/*.py
+
+%if %gdaljava
+%files java
+%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar
+%{_jnidir}/%{name}/gdal-%{version}-sources.jar
+%{_jnidir}/%{name}/gdal-%{version}.jar
+%{_jnidir}/%{name}/gdal-%{version}.pom
+%{gdalinstdir}/lib/jni/libgdalalljni.so
+
+%files javadoc
+%{_jnidir}/%{name}/gdal-%{version}-javadoc.jar
+%endif
+
+%changelog
+* Sat Nov 8 2025 Devrim Gunduz <devrim@gunduz.org> - 3.12.0-1PGDG
+- Initial 3.12.0 packaging per changes described at:
+  https://github.com/OSGeo/gdal/releases/tag/v3.12.0