Update to 1.10.0
- Enable PCRE support - Drop man patch applied upstream - Drop dods patch fixed upstream - Add more tex BRs to handle changes in texlive packaging - Fix man page install location
This commit is contained in:
parent
3a465fdf60
commit
cec008e961
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ gdalautotest-1.7.0.tar.gz
|
|||||||
/gdalautotest-1.9.0.tar.gz
|
/gdalautotest-1.9.0.tar.gz
|
||||||
/gdal-1.9.1-fedora.tar.gz
|
/gdal-1.9.1-fedora.tar.gz
|
||||||
/gdal-1.9.2-fedora.tar.gz
|
/gdal-1.9.2-fedora.tar.gz
|
||||||
|
/gdal-1.10.0-fedora.tar.gz
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
diff -Nur gdal-1.9.0-fedora/GNUmakefile gdal-1.9.0-fedora-man/GNUmakefile
|
|
||||||
--- gdal-1.9.0-fedora/GNUmakefile 2012-01-04 08:03:42.000000000 +0100
|
|
||||||
+++ gdal-1.9.0-fedora-man/GNUmakefile 2012-02-22 17:29:07.565112215 +0100
|
|
||||||
@@ -129,6 +129,7 @@
|
|
||||||
cp frmts/wms/frmt_wms_*.xml html
|
|
||||||
cp frmts/wms/frmt_twms_*.xml html
|
|
||||||
|
|
||||||
+.PHONY: man
|
|
||||||
man:
|
|
||||||
# Generate man pages
|
|
||||||
(cat Doxyfile ; echo "ENABLED_SECTIONS=man"; echo "INPUT=apps swig/python/scripts"; echo "FILE_PATTERNS=*.cpp *.dox"; echo "GENERATE_HTML=NO"; echo "GENERATE_MAN=YES") | doxygen -
|
|
@ -1,14 +0,0 @@
|
|||||||
diff -Nur gdal-1.9.1-fedora/configure gdal-1.9.1-fedora-dods3.11.3/configure
|
|
||||||
--- gdal-1.9.1-fedora/configure 2012-05-17 05:30:56.000000000 +0200
|
|
||||||
+++ gdal-1.9.1-fedora-dods3.11.3/configure 2012-05-20 10:47:10.032831845 +0200
|
|
||||||
@@ -24320,8 +24320,8 @@
|
|
||||||
as_fn_error $? "--with-dods-root requires path to dods root as argument" "$LINENO" 5
|
|
||||||
else
|
|
||||||
DODS_LIB=$with_dods_root/lib
|
|
||||||
- DODS_INC="-I$with_dods_root/include -I$with_dods_root/include/libdap -I$with_dods_root/include/dap"
|
|
||||||
DODS_BIN=$with_dods_root/bin
|
|
||||||
+ DODS_INC="-I$with_dods_root/include -I$with_dods_root/include/libdap -I$with_dods_root/include/dap `$DODS_BIN/xml2-config --cflags`"
|
|
||||||
|
|
||||||
rm -f islibdappost310.*
|
|
||||||
echo '#include "Connect.h"' > islibdappost310.cpp
|
|
||||||
Binary files gdal-1.9.1-fedora/.configure.swp and gdal-1.9.1-fedora-dods3.11.3/.configure.swp differ
|
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Volker Fröhlich
|
# Volker Fröhlich
|
||||||
VERSION="1.9.2"
|
VERSION="1.10.0"
|
||||||
|
|
||||||
tar xvfz gdal-"${VERSION}".tar.gz
|
tar xvfz gdal-"${VERSION}".tar.gz
|
||||||
|
|
||||||
|
41
gdal.spec
41
gdal.spec
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gdal
|
Name: gdal
|
||||||
Version: 1.9.2
|
Version: 1.10.0
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: GIS file format library
|
Summary: GIS file format library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -55,15 +55,9 @@ Patch1: %{name}-g2clib.patch
|
|||||||
# Patch for Fedora JNI library location
|
# Patch for Fedora JNI library location
|
||||||
Patch2: %{name}-jni.patch
|
Patch2: %{name}-jni.patch
|
||||||
|
|
||||||
Patch4: %{name}-1.9.1-dods-3.11.3.patch
|
|
||||||
|
|
||||||
# Fedora uses Alternatives for Java
|
# Fedora uses Alternatives for Java
|
||||||
Patch8: %{name}-1.9.0-java.patch
|
Patch8: %{name}-1.9.0-java.patch
|
||||||
|
|
||||||
# Make man a phony buildtarget; the directory otherwise blocks it
|
|
||||||
# Should be solved in 2.0
|
|
||||||
Patch9: %{name}-1.9.0-man.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -109,6 +103,7 @@ BuildRequires: libdap-devel
|
|||||||
BuildRequires: librx-devel
|
BuildRequires: librx-devel
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
BuildRequires: numpy
|
BuildRequires: numpy
|
||||||
|
BuildRequires: pcre-devel
|
||||||
#BuildRequires: ogdi-devel
|
#BuildRequires: ogdi-devel
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -120,7 +115,18 @@ BuildRequires: ruby
|
|||||||
BuildRequires: ruby-devel
|
BuildRequires: ruby-devel
|
||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRequires: tetex-latex
|
BuildRequires: texlive-latex
|
||||||
|
%if 0%{?fedora} >= 20
|
||||||
|
BuildRequires: texlive-collection-fontsrecommended
|
||||||
|
BuildRequires: texlive-collection-langcyrillic
|
||||||
|
BuildRequires: texlive-collection-langportuguese
|
||||||
|
BuildRequires: texlive-collection-latex
|
||||||
|
BuildRequires: texlive-epstopdf
|
||||||
|
BuildRequires: tex(multirow.sty)
|
||||||
|
BuildRequires: tex(sectsty.sty)
|
||||||
|
BuildRequires: tex(tocloft.sty)
|
||||||
|
BuildRequires: tex(xtab.sty)
|
||||||
|
%endif
|
||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
BuildRequires: xerces-c-devel
|
BuildRequires: xerces-c-devel
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
@ -277,9 +283,7 @@ rm -r frmts/grib/degrib18/g2clib-1.0.4
|
|||||||
|
|
||||||
%patch1 -p1 -b .g2clib~
|
%patch1 -p1 -b .g2clib~
|
||||||
%patch2 -p1 -b .jni~
|
%patch2 -p1 -b .jni~
|
||||||
%patch4 -p1 -b .dods~
|
|
||||||
%patch8 -p1 -b .java~
|
%patch8 -p1 -b .java~
|
||||||
%patch9 -p1 -b .man~
|
|
||||||
|
|
||||||
# Copy in PROVENANCE.TXT-fedora
|
# Copy in PROVENANCE.TXT-fedora
|
||||||
cp %SOURCE4 .
|
cp %SOURCE4 .
|
||||||
@ -363,6 +367,9 @@ sed -i 's|test \"$ARCH\" = \"x86_64\"|test \"$libdir\" = \"/usr/lib64\"|g' confi
|
|||||||
sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure
|
sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Fix mandir
|
||||||
|
sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
|
||||||
|
|
||||||
# Activate support for JPEGLS
|
# Activate support for JPEGLS
|
||||||
sed -i 's|^#HAVE_CHARLS|HAVE_CHARLS|' GDALmake.opt.in
|
sed -i 's|^#HAVE_CHARLS|HAVE_CHARLS|' GDALmake.opt.in
|
||||||
sed -i 's|#CHARLS_INC = -I/path/to/charls_include|CHARLS_INC = -I%{_includedir}/CharLS|' GDALmake.opt.in
|
sed -i 's|#CHARLS_INC = -I/path/to/charls_include|CHARLS_INC = -I%{_includedir}/CharLS|' GDALmake.opt.in
|
||||||
@ -642,8 +649,7 @@ touch -r NEWS %{buildroot}%{_bindir}/%{name}-config
|
|||||||
chmod 755 %{buildroot}%{_bindir}/%{name}-config
|
chmod 755 %{buildroot}%{_bindir}/%{name}-config
|
||||||
|
|
||||||
# Clean up junk
|
# Clean up junk
|
||||||
rm -f %{buildroot}%{_bindir}/gdal_sieve.dox
|
rm -f %{buildroot}%{_bindir}/*.dox
|
||||||
rm -f %{buildroot}%{_bindir}/gdal_fillnodata.dox
|
|
||||||
|
|
||||||
#jni-libs and libgdal are also built static (*.a)
|
#jni-libs and libgdal are also built static (*.a)
|
||||||
#.exists and .packlist stem from Perl
|
#.exists and .packlist stem from Perl
|
||||||
@ -709,6 +715,7 @@ popd
|
|||||||
%{_bindir}/gdal_grid
|
%{_bindir}/gdal_grid
|
||||||
%{_bindir}/gdalenhance
|
%{_bindir}/gdalenhance
|
||||||
%{_bindir}/gdalmanage
|
%{_bindir}/gdalmanage
|
||||||
|
%{_bindir}/gdalserver
|
||||||
%{_bindir}/gdalsrsinfo
|
%{_bindir}/gdalsrsinfo
|
||||||
%{_bindir}/gdaltransform
|
%{_bindir}/gdaltransform
|
||||||
%{_bindir}/nearblack
|
%{_bindir}/nearblack
|
||||||
@ -789,6 +796,14 @@ popd
|
|||||||
#Or as before, using ldconfig
|
#Or as before, using ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 23 2013 Orion Poplawski <orion@cora.nwra.com> - 1.10.0-1
|
||||||
|
- Update to 1.10.0
|
||||||
|
- Enable PCRE support
|
||||||
|
- Drop man patch applied upstream
|
||||||
|
- Drop dods patch fixed upstream
|
||||||
|
- Add more tex BRs to handle changes in texlive packaging
|
||||||
|
- Fix man page install location
|
||||||
|
|
||||||
* Mon Aug 19 2013 Marek Kasik <mkasik@redhat.com> - 1.9.2-12
|
* Mon Aug 19 2013 Marek Kasik <mkasik@redhat.com> - 1.9.2-12
|
||||||
- Rebuild (poppler-0.24.0)
|
- Rebuild (poppler-0.24.0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user