Compare commits

..

49 commits

Author SHA1 Message Date
Sandro Mani
4015c908dd Skip tests also on ppc64le for now 2025-12-19 17:45:54 +01:00
Sandro Mani
fc760216de Update to 3.12.1 2025-12-18 23:18:10 +01:00
Sandro Mani
dcd61ee050 Rebuild (libtiff) 2025-12-08 13:06:20 +01:00
Sandro Mani
c006213de0 Update to 3.12.0 2025-11-23 10:32:41 +01:00
Sandro Mani
2665a7f24c Update to 3.11.5 2025-11-07 14:02:28 +01:00
Stephen Gallagher
b7e01d9917
Rebuild for libarrow 22
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2025-10-29 09:24:26 -04:00
Yaakov Selkowitz
4fc48a16c4 Rebuilt for java-25-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
2025-10-09 03:23:09 -04:00
Yaakov Selkowitz
f810f3bd7c Fix manpage file listings
Neither the compression of manpages nor the format thereof should be
assumed.  This fixed the Fedora 43 flatpak build.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages
2025-10-09 02:21:08 -04:00
Python Maint
38126bb718 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:17:44 +02:00
Yaakov Selkowitz
d85d81a7bf Package manpages and shell completions together with the respective commands
gdal_footprint and sozip are in the main package. gdal-config is in the
gdal-devel subpackage, but all other gdal-* manpages document subcommands
of the gdal command in the main package.  This also fixes the build without
python3 (e.g. RHEL/ELN).
2025-09-17 23:15:43 -04:00
Sandro Mani
b1f662fa46 BR: muparser-devel 2025-09-17 15:45:07 +02:00
Sandro Mani
d354dcf08c Fix unpackaged files 2025-09-14 17:40:05 +02:00
Sandro Mani
d0879d3353 Fix %files 2025-09-14 17:19:19 +02:00
Sandro Mani
53a4cd4851 Update to 3.11.4 2025-09-14 16:49:57 +02:00
Orion Poplawski
e145220ec5 Rebuild for netcdf 4.9.3 soname bump 2025-08-22 08:38:38 -06:00
Orion Poplawski
136d07b83f Rebuild for netcdf 4.9.3 soname bump 2025-08-22 07:50:13 -06:00
Orion Poplawski
377f8594e7 Add %define _find_debuginfo_opts --no-ar-files 2025-08-21 20:48:25 -06:00
Orion Poplawski
bf3daf0173 Undefine _preserve_static_debuginfo to prevent huge build times 2025-08-21 17:59:50 -06:00
Python Maint
bc3cea3402 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-18 13:57:32 +02:00
Orion Poplawski
66ce787be2 Rebuild for libarrow 21 2025-08-13 10:55:33 -06:00
Sandro Mani
0086087c35 Rebuild (mingw-poppler) 2025-07-31 15:49:53 +02:00
Sandro Mani
a06f118545 Abort on gdal-cleaner errors 2025-07-29 07:35:48 +02:00
Sandro Mani
196ae48f05 Fix unpackaged file 2025-07-28 23:37:00 +02:00
Sandro Mani
c4cc55a181 Fix %%files 2025-07-28 10:41:06 +02:00
Sandro Mani
698a044082 Drop BR: ogdi-devel (#2345558) 2025-07-27 20:53:16 +02:00
Sandro Mani
e95684c34e Fix malformed patch 2025-07-27 19:23:59 +02:00
Sandro Mani
1bfaf55274 Update to 3.11.3 2025-07-27 19:11:29 +02:00
Fedora Release Engineering
20fd14c6be Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 21:10:49 +00:00
Sandro Mani
1eca685c25 Backport patch to fix build against poppler 2025.05.0 2025-07-18 18:49:26 +02:00
Sandro Mani
e70fc9f76d Rebuild (poppler) 2025-07-18 17:21:27 +02:00
Stephen Gallagher
8df52d19a3 Rebuilt for libarrow 20 2025-07-10 19:20:36 -04:00
Python Maint
424b52eaac Rebuilt for Python 3.14 2025-06-04 00:50:30 +02:00
Yaakov Selkowitz
1a3603cd22 Remove completions and manpages for unpackaged scripts
When building for RHEL, the python bindings and scripts are now disabled,
but the completions and manpages are not controlled by the option which
disables the scripts.
2025-05-22 18:26:07 -04:00
Sandro Mani
7e82750251 Fix *.py scripts packaging 2025-05-18 21:39:52 +02:00
Sandro Mani
529be833d4 Cleanup conditionals and fix %%files 2025-04-18 00:30:12 +02:00
Ales Nezbeda
770433fc76 Prepare spec file to be compatible with RHEL
Changes applicable to non-fedora distros:
Remove as much dependencies as possible. None of the dependencies
removed are present in RHEL currently, so they have to go.
Basically we are creating minimal build which would be compatible with
RHEL without new dependencies that would need adding to RHEL repos.
2025-04-08 13:05:48 +02:00
Sandro Mani
899461ad98 Update to 3.10.3 2025-04-07 13:47:17 +02:00
Laurențiu Nicola
db98046d34 Enable blosc 2025-02-27 16:35:50 +02:00
Sandro Mani
00acea5160 Rebuild (poppler) 2025-02-26 12:52:39 +01:00
Marek Kasik
2f7e4bef1f Add definitions of missing int16_t and int32_t 2025-02-20 15:09:21 +01:00
Marek Kasik
8c749deb75 Rebuild for libarrow 19 in poppler's sidetag 2025-02-20 11:17:48 +01:00
Sandro Mani
c666a69311 Update to 3.10.2 2025-02-15 07:18:26 +01:00
Benjamin A. Beasley
bf35e9cb08 Rebuilt for libarrow 19 2025-02-13 21:35:45 -05:00
Sandro Mani
b75d0ec0d4 Backport patch to fix build against poppler 25.02.00 2025-02-11 12:06:03 +01:00
Sandro Mani
93adb52b9f Rebuild (poppler) 2025-02-11 11:48:58 +01:00
Fedora Release Engineering
565ce6e053 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 19:35:45 +00:00
Sandro Mani
2bc527eb6a Fix sources 2025-01-15 10:24:22 +01:00
Sandro Mani
637386cf97 Update to 3.10.1 2025-01-15 08:55:47 +01:00
Richard W.M. Jones
ad3453eb76 Rebuild for libarrow 18 2024-11-27 14:30:32 +00:00
9 changed files with 2336 additions and 1 deletions

143
.gitignore vendored Normal file
View file

@ -0,0 +1,143 @@
gdal-1.7.2-fedora.tar.gz
gdalautotest-1.7.0.tar.gz
/gdal-1.7.3-fedora.tar.gz
/gdalautotest-1.7.3.tar.gz
/gdal-1.9.0-fedora.tar.gz
/gdalautotest-1.9.0.tar.gz
/gdal-1.9.1-fedora.tar.gz
/gdal-1.9.2-fedora.tar.gz
/gdal-1.10.0-fedora.tar.gz
/gdal-1.10.1-fedora.tar.xz
/gdalautotest-1.10.1.tar.gz
/gdal-1.11.0-fedora.tar.xz
/gdalautotest-1.11.0.tar.gz
/gdal-1.11.1-fedora.tar.xz
/gdalautotest-1.11.1.tar.gz
/gdalautotest-1.11.2.tar.gz
/gdal-1.11.2-fedora.tar.xz
/gdal-2.0.0-fedora.tar.xz
/gdalautotest-2.0.0.tar.gz
/gdalautotest-2.0.1.tar.gz
/gdal-2.0.1-fedora.tar.xz
/gdalautotest-2.0.2.tar.gz
/gdalautotest-1.11.3.tar.gz
/gdal-2.0.2-fedora.tar.xz
/gdalautotest-2.1.0.tar.gz
/gdal-2.1.0-fedora.tar.xz
/gdalautotest-2.1.1.tar.gz
/gdal-2.1.1-fedora.tar.xz
/gdal-2.1.2-fedora.tar.xz
/gdalautotest-2.1.3.tar.gz
/gdal-2.1.3-fedora.tar.xz
/gdal-2.1.4-fedora.tar.xz
/gdalautotest-2.1.4.tar.gz
/gdal-2.2.2-fedora.tar.xz
/gdalautotest-2.2.2.tar.gz
/gdalautotest-2.2.3.tar.gz
/gdal-2.2.3-fedora.tar.xz
/gdalautotest-2.2.4.tar.gz
/gdal-2.2.4-fedora.tar.xz
/gdalautotest-2.3.1.tar.gz
/gdal-2.3.1-fedora.tar.xz
/gdalautotest-2.3.2.tar.gz
/gdal-2.3.2-fedora.tar.xz
/gdalautotest-3.0.1.zip
/gdal-3.0.1-fedora.tar.xz
/gdal-3.1.0-fedora.tar.xz
/gdalautotest-3.1.0.tar.gz
/gdal-3.1.1-fedora.tar.xz
/gdalautotest-3.1.1.tar.gz
/gdal-3.1.2-fedora.tar.xz
/gdalautotest-3.1.2.tar.gz
/gdal-3.1.3-fedora.tar.xz
/gdalautotest-3.1.3.tar.gz
/gdal-3.1.4-fedora.tar.xz
/gdalautotest-3.1.4.tar.gz
/gdalautotest-3.2.0.tar.gz
/gdal-3.2.0-fedora.tar.xz
/gdal-3.2.1-fedora.tar.xz
/gdalautotest-3.2.1.tar.gz
/gdalautotest-3.2.2.tar.gz
/gdal-3.2.2-fedora.tar.xz
/gdalautotest-3.3.0.tar.gz
/gdal-3.3.0-fedora.tar.xz
/gdal-3.3.1-fedora.tar.xz
/gdalautotest-3.3.1.tar.gz
/gdal-3.3.2-fedora.tar.xz
/gdalautotest-3.3.2.tar.gz
/gdal-3.3.3-fedora.tar.xz
/gdalautotest-3.3.3.tar.gz
/gdal-3.4.0-fedora.tar.xz
/gdalautotest-3.4.0.tar.gz
/gdal-3.4.1-fedora.tar.xz
/gdalautotest-3.4.1.tar.gz
/gdal-3.4.2-fedora.tar.xz
/gdalautotest-3.4.2.tar.gz
/gdal-3.4.3-fedora.tar.xz
/gdalautotest-3.4.3.tar.gz
/gdalautotest-3.5.0.tar.gz
/gdal-3.5.0-fedora.tar.xz
/gdalautotest-3.5.1.tar.gz
/gdal-3.5.1-fedora.tar.xz
/gdal-3.5.2-fedora.tar.xz
/gdalautotest-3.5.2.tar.gz
/gdal-3.5.3-fedora.tar.xz
/gdalautotest-3.5.3.tar.gz
/gdal-3.6.0-fedora.tar.xz
/gdalautotest-3.6.0.tar.gz
/gdalautotest-3.6.1.tar.gz
/gdal-3.6.1.tar.xz
/gdal-3.6.1-fedora.tar.xz
/gdal-3.6.2-fedora.tar.xz
/gdalautotest-3.6.2.tar.gz
/gdal-3.6.3-fedora.tar.xz
/gdalautotest-3.6.3.tar.gz
/gdal-3.6.4-fedora.tar.xz
/gdalautotest-3.6.4.tar.gz
/gdal-3.7.0-fedora.tar.xz
/gdalautotest-3.7.0.tar.gz
/gdal-3.7.1-fedora.tar.xz
/gdalautotest-3.7.1.tar.gz
/gdal-3.7.2-fedora.tar.xz
/gdalautotest-3.7.2.tar.gz
/gdal-3.7.3-fedora.tar.xz
/gdalautotest-3.7.3.tar.gz
/gdal-3.8.0-fedora.tar.xz
/gdalautotest-3.8.0.tar.gz
/gdal-3.8.1-fedora.tar.xz
/gdalautotest-3.8.1.tar.gz
/gdal-3.8.2-fedora.tar.xz
/gdalautotest-3.8.2.tar.gz
/gdal-3.8.3-fedora.tar.xz
/gdalautotest-3.8.3.tar.gz
/gdal-3.8.4-fedora.tar.xz
/gdalautotest-3.8.4.tar.gz
/gdal-3.8.5-fedora.tar.xz
/gdalautotest-3.8.5.tar.gz
/gdal-3.9.0-fedora.tar.xz
/gdalautotest-3.9.0.tar.gz
/gdal-3.9.1-fedora.tar.xz
/gdalautotest-3.9.1.tar.gz
/gdal-3.9.2-fedora.tar.xz
/gdalautotest-3.9.2.tar.gz
/gdalautotest-3.9.3.tar.gz
/gdal-3.9.3-fedora.tar.xz
/gdal-3.10.0-fedora.tar.xz
/gdalautotest-3.10.0.tar.gz
/gdal-3.10.1-fedora.tar.xz
/gdalautotest-3.10.1.tar.gz
/gdal-3.10.2-fedora.tar.xz
/gdalautotest-3.10.2.tar.gz
/gdal-3.10.3-fedora.tar.xz
/gdalautotest-3.10.3.tar.gz
/gdal-3.11.3-fedora.tar.xz
/gdalautotest-3.11.3.tar.gz
/gdal-3.11.4-fedora.tar.xz
/gdalautotest-3.11.4.tar.gz
/gdal-3.11.5-fedora.tar.xz
/gdalautotest-3.11.5.tar.gz
/gdal-3.12.0-fedora.tar.xz
/gdal-3.12.0.tar.xz
/gdalautotest-3.12.0.zip
/gdal-3.12.1-fedora.tar.xz
/gdalautotest-3.12.1.zip

38
PROVENANCE.TXT-fedora Normal file
View file

@ -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

11
cpl-config.h Normal file
View file

@ -0,0 +1,11 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "gdal/cpl_config-32.h"
#else
#if __WORDSIZE == 64
#include "gdal/cpl_config-64.h"
#else
#error "Unknown word size"
#endif
#endif

View file

@ -1 +0,0 @@
Added to RHEL 10.1 rhbz#2376350

38
gdal-cleaner.sh Executable file
View file

@ -0,0 +1,38 @@
#!/bin/bash
set -e
if [ $# -lt 1 ]; then
echo "Usage: $0 version pre"
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}${PRE}"{,-fedora} && pushd gdal-"${VERSION}${PRE}"-fedora
rm ogr/data/cubewerx_extra.wkt
rm ogr/data/esri_StatePlane_extra.wkt
rm ogr/data/ecw_cs.wkt
sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/cubewerx_extra.wkt||' ogr/CMakeLists.txt
sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/esri_StatePlane_extra.wkt||' ogr/CMakeLists.txt
sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/data/ecw_cs.wkt||' ogr/CMakeLists.txt
popd
#TODO: Insert Provenance file
tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}${PRE}"-fedora

11
gdal-config Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
ARCH=$(uname -m)
case $ARCH in
x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 | riscv64 )
gdal-config-64 ${*}
;;
*)
gdal-config-32 ${*}
;;
esac

2056
gdal.spec Normal file

File diff suppressed because it is too large Load diff

37
gdal_utils.patch Normal file
View file

@ -0,0 +1,37 @@
diff -rupN --no-dereference gdal-3.12.1-fedora/frmts/iso8211/CMakeLists.txt gdal-3.12.1-fedora-new/frmts/iso8211/CMakeLists.txt
--- gdal-3.12.1-fedora/frmts/iso8211/CMakeLists.txt 2025-12-18 15:15:18.000000000 +0100
+++ gdal-3.12.1-fedora-new/frmts/iso8211/CMakeLists.txt 2025-12-18 16:35:42.369730740 +0100
@@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P
gdal_standard_includes(gdal_iso8211)
# Because linking an OBJECT library
-add_executable(8211dump EXCLUDE_FROM_ALL 8211dump.cpp)
+add_executable(8211dump 8211dump.cpp)
target_include_directories(8211dump PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211dump PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-add_executable(8211view EXCLUDE_FROM_ALL 8211view.cpp)
+add_executable(8211view 8211view.cpp)
target_include_directories(8211view PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211view PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-add_executable(8211createfromxml EXCLUDE_FROM_ALL 8211createfromxml.cpp)
+add_executable(8211createfromxml 8211createfromxml.cpp)
target_include_directories(8211createfromxml PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211createfromxml PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff -rupN --no-dereference gdal-3.12.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.12.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt
--- gdal-3.12.1-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-12-18 15:15:18.000000000 +0100
+++ gdal-3.12.1-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2025-12-18 16:35:42.369966573 +0100
@@ -38,7 +38,8 @@ if (USE_ONLY_EMBEDDED_RESOURCE_FILES)
target_compile_definitions(ogr_S57 PRIVATE USE_ONLY_EMBEDDED_RESOURCE_FILES)
endif()
-add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp)
+add_executable(s57dump s57dump.cpp)
gdal_standard_includes(s57dump)
target_include_directories(s57dump PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(s57dump PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> ogr_S57 gdal_iso8211)
+install(TARGETS s57dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

2
sources Normal file
View file

@ -0,0 +1,2 @@
SHA512 (gdal-3.12.1-fedora.tar.xz) = 311005e3f577b09360b2a0bb9f6e3b97668f320a5833fe27753690f9067620460b1317ba615c7e59c01047782507ed7ebadf696ed951b477e4f53d0a4a402fc5
SHA512 (gdalautotest-3.12.1.zip) = fb54eddf8b34d4bd9d308ec0e7b3b9947e07b4a0615f688daf933668b0faf4fd44c2bc716cce8045433ca894ff5dde60e75acd42d5a4aa5e2999b9fd5cd4d6a5