Compare commits

...
Sign in to create a new pull request.

14 commits

Author SHA1 Message Date
Sandro Mani
96a397216f Rebuild (armadillo) 2024-01-01 18:59:01 +01:00
Sandro Mani
7cd68a7648 Rebuild (armadillo) 2022-06-01 12:18:44 +02:00
Sandro Mani
b871d71276 Bump release 2021-10-04 16:19:04 +02:00
Guillaume Foreau
067343c0a2 Restore java package generation 2021-10-04 13:19:09 +00:00
Sandro Mani
394d408510 Rebuild (ldap) 2021-09-23 13:34:33 +02:00
Orion Poplawski
13a0f88384 Rebuild for poppler 20.11 (EL 8.4) (bz#1962667) 2021-06-04 14:25:30 -06:00
Sandro Mani
204ddbd7ba Rebuild 2021-05-19 00:22:15 +02:00
Troy Dawson
46989b2a97 remove package.cfg per new epel-playground policy 2020-09-24 17:32:49 +00:00
Markus
8dc10ed287 Sync EPEL8 with Fedora 33/32 to GDAL 3.0.4 2020-05-19 09:40:17 +02:00
Devrim Gündüz
677558f0ba gdal: More 3.0.2 update 2019-11-06 00:08:08 +00:00
Devrim Gündüz
3987881e82 Disable patch9 for testing 2019-11-05 17:31:39 +00:00
Devrim Gündüz
639c8ddaad Fix patch levels 2019-11-05 16:02:02 +00:00
Devrim Gündüz
67a6a4c1c1 gdal: Initial attempt for EPEL 8 2019-11-04 22:11:39 +00:00
Gwyn Ciesla
28178e3c0c "Adding package.cfg file" 2019-10-20 18:18:24 -05:00
4 changed files with 57 additions and 24 deletions

10
gdal-3.0.2-java.patch Normal file
View file

@ -0,0 +1,10 @@
--- gdal/swig/java/java.opt.old 2019-10-29 13:03:54.400836584 +0000
+++ gdal/swig/java/java.opt 2019-10-29 13:04:17.170046904 +0000
@@ -7,6 +7,6 @@
JAVAC=$(JAVA_HOME)/bin/javac
JAVA=$(JAVA_HOME)/bin/java
JAR=$(JAVA_HOME)/bin/jar
-JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
+JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux

View file

@ -0,0 +1,9 @@
--- gdal/swig/perl/GNUmakefile.old 2019-10-29 13:08:12.754223012 +0000
+++ gdal/swig/perl/GNUmakefile 2019-10-29 13:08:34.518424050 +0000
@@ -64,3 +64,6 @@
.FORCE:
perl parse-for-doxygen.pl > all.pm; doxygen; rm -f all.pm
+
+.PHONY: generate
+

11
gdal-3.0.2-zlib.patch Normal file
View file

@ -0,0 +1,11 @@
--- gdal/frmts/mrf/mrf_band.cpp.old 2019-10-29 13:05:35.413769644 +0000
+++ gdal/frmts/mrf/mrf_band.cpp 2019-10-29 13:05:48.962894799 +0000
@@ -49,7 +49,7 @@
#include <vector>
#include <assert.h>
-#include "zlib.h"
+#include "../zlib/zlib.h"
CPL_CVSID("$Id$")

View file

@ -46,7 +46,7 @@
Name: gdal
Version: 3.0.4
Release: 5%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap}
Release: 12%{?dist}%{?bootstrap:.%{bootstrap}.bootstrap}
Summary: GIS file format library
License: MIT
URL: http://www.gdal.org
@ -75,6 +75,7 @@ Patch5: gdal_installapps.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: ant
@ -97,17 +98,15 @@ BuildRequires: ghostscript
BuildRequires: hdf-devel
BuildRequires: hdf-static
BuildRequires: hdf5-devel
# No complete java yet in EL8
%if 0%{?rhel} < 8
BuildRequires: java-devel >= 1:1.6.0
%else
BuildRequires: java-1.8.0-openjdk-devel
%endif
BuildRequires: jasper-devel
BuildRequires: jpackage-utils
# No complete java yet in EL8
%if 0%{?rhel} < 8
# For 'mvn_artifact' and 'mvn_install'
# For 'mvn_artifact'
BuildRequires: javapackages-local
%endif
BuildRequires: json-c-devel
BuildRequires: libgeotiff-devel
# No libgta in EL5
@ -210,8 +209,6 @@ Provides: bundled(degrib) = 2.14
This package contains the GDAL file format library.
# No complete java yet in EL8
%if 0%{?rhel} < 8
%package java
Summary: Java modules for the GDAL file format library
Requires: jpackage-utils
@ -228,7 +225,6 @@ BuildArch: noarch
%description javadoc
This package contains the API documentation for %{name}.
%endif
%package perl
@ -351,9 +347,7 @@ autoreconf -ifv
--with-hdf4 \
--with-hdf5 \
--with-jasper \
%if 0%{?rhel} < 8
--with-java \
%endif
--with-jpeg \
--with-libjson-c \
--without-jpeg12 \
@ -388,15 +382,12 @@ make docs
make -C ogr/ogrsf_frmts/s57 all
make -C frmts/iso8211 all
# No complete java yet in EL8
%if 0%{?rhel} < 8
# Make Java module and documentation
pushd swig/java
make
ant maven
popd
%mvn_artifact swig/java/build/maven/gdal-%version.pom swig/java/build/maven/gdal-%version.jar
%endif
# Make Python modules
pushd swig/python
@ -461,8 +452,6 @@ rm %buildroot%_mandir/man1/{pct2rgb,rgb2pct}.1
find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \;
find %{buildroot}%{perl_vendorarch} -name "*.pm" -exec chmod 644 '{}' \;
# No complete java yet in EL8
%if 0%{?rhel} < 8
# install Java plugin
%mvn_install -J swig/java/java
@ -477,7 +466,6 @@ chrpath --delete %{buildroot}%{_jnidir}/%{name}/*jni.so*
# Install Java API documentation in the designated place
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -pr swig/java/java/org %{buildroot}%{_javadocdir}/%{name}
%endif
# Install refmans
for docdir in %{docdirs}; do
@ -553,8 +541,6 @@ done
rm %{buildroot}%{_datadir}/%{name}/LICENSE.TXT
# No complete java yet in EL8
%if 0%{?rhel} < 8
%check
%if %{run_tests}
for i in -I/usr/lib/jvm/java/include{,/linux}; do
@ -564,7 +550,7 @@ done
pushd %{name}autotest-%{testversion}
# Export test enviroment
export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python_sitearch}
export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python3_sitearch}
#TODO: Nötig?
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc
@ -584,7 +570,6 @@ pushd %{name}autotest-%{testversion}
# Run tests but force normal exit in the end
./run_all.py || true
popd
%endif
#%%{run_tests}
@ -645,15 +630,12 @@ popd
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
# No complete java yet in EL8
%if 0%{?rhel} < 8
# Can I even have a separate Java package anymore?
%files java -f .mfiles
%doc swig/java/apps
%{_jnidir}/%{name}/libgdalalljni.so*
%files javadoc -f .mfiles-javadoc
%endif
%files perl
%doc swig/perl/README
@ -709,6 +691,27 @@ popd
#Or as before, using ldconfig
%changelog
* Mon Jan 01 2024 Sandro Mani <manisandro@gmail.com> - 3.0.4-12
- Rebuild (armadillo)
* Wed Jun 01 2022 Sandro Mani <manisandro@gmail.com> - 3.0.4-11
- Rebuild (armadillo)
* Mon Oct 04 2021 Sandro Mani <manisandro@gmail.com> - 3.0.4-10
- Restore java subpackage
* Thu Sep 23 2021 Sandro Mani <manisandro@gmail.com> - 3.0.4-9
- Rebuild (ldap)
* Fri Jun 04 2021 Orion Poplawski <orion@nwra.com> - 3.0.4-8
- Rebuild for poppler 20.11 (EL 8.4) (bz#1962667)
* Tue May 18 2021 Sandro Mani <manisandro@gmail.com> - 3.0.4-7
- Rebuild
* Tue May 18 2021 Sandro Mani <manisandro@gmail.com>
- Rebuild
* Sat May 09 2020 Markus Neteler <neteler@mundialis.de> - 3.0.4-5
* disabled JAVA and LaTeX support for EPEL8, due to (yet) missing dependencies