2007-03-13 09:15:39 +00:00
|
|
|
Name: gdal
|
2008-03-26 03:02:25 +00:00
|
|
|
Version: 1.5.1
|
2008-03-28 15:54:18 +00:00
|
|
|
Release: 5%{?dist}
|
2007-03-13 09:15:39 +00:00
|
|
|
Summary: GIS file format library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
|
|
|
URL: http://gdal.maptools.org
|
2007-07-25 11:20:08 +00:00
|
|
|
Source0: %{name}-%{version}-fedora.tar.gz
|
2008-01-09 23:04:31 +00:00
|
|
|
Source1: http://download.osgeo.org/gdal/gdalautotest-1.5.0.tar.gz
|
2008-02-14 14:15:35 +00:00
|
|
|
Patch0: %{name}-gcc43.patch
|
2008-03-26 03:02:25 +00:00
|
|
|
Patch1: %{name}-perl510.patch
|
2007-03-13 09:15:39 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-03-15 14:55:43 +00:00
|
|
|
BuildRequires: libtool swig pkgconfig
|
2007-03-13 09:15:39 +00:00
|
|
|
BuildRequires: doxygen tetex-latex ghostscript
|
|
|
|
BuildRequires: libpng-devel libungif-devel libjpeg-devel libtiff-devel
|
|
|
|
BuildRequires: jasper-devel cfitsio-devel hdf-devel libdap-devel librx-devel
|
2007-03-20 23:05:23 +00:00
|
|
|
BuildRequires: unixODBC-devel mysql-devel sqlite-devel postgresql-devel zlib-devel
|
2007-07-25 11:20:08 +00:00
|
|
|
BuildRequires: proj-devel geos-devel netcdf-devel hdf5-devel ogdi-devel libgeotiff-devel
|
2007-03-14 17:09:52 +00:00
|
|
|
BuildRequires: python-devel >= 2.4 xerces-c-devel
|
2007-03-15 14:30:56 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2007-03-14 17:09:52 +00:00
|
|
|
|
2008-01-09 23:04:31 +00:00
|
|
|
# enable/disable grass support, for bootstrapping
|
2008-03-28 15:54:18 +00:00
|
|
|
%define grass_support 1
|
2008-01-09 23:04:31 +00:00
|
|
|
# enable/disable refman generation
|
2008-03-27 22:05:15 +00:00
|
|
|
%define build_refman 1
|
2007-07-25 11:20:08 +00:00
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
2007-07-25 11:20:08 +00:00
|
|
|
|
|
|
|
%if %{grass_support}
|
|
|
|
BuildRequires: grass-devel
|
|
|
|
%endif
|
2007-03-13 09:15:39 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The GDAL library provides support to handle multiple GIS file formats.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development Libraries for the GDAL file format library
|
|
|
|
Group: Development/Libraries
|
2007-03-15 14:55:43 +00:00
|
|
|
Requires: pkgconfig
|
2007-07-25 11:20:08 +00:00
|
|
|
Requires: libgeotiff-devel
|
2007-03-13 09:15:39 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The GDAL library provides support to handle multiple GIS file formats.
|
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python modules for the GDAL file format library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description python
|
|
|
|
The GDAL python modules provides support to handle multiple GIS file formats.
|
|
|
|
|
|
|
|
%package perl
|
|
|
|
Summary: Perl modules for the GDAL file format library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description perl
|
|
|
|
The GDAL perl modules provides support to handle multiple GIS file formats.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}-fedora
|
2008-02-14 14:15:35 +00:00
|
|
|
%patch0 -p0 -b .gcc43
|
2008-03-26 03:02:25 +00:00
|
|
|
%patch1 -p0 -b .perl510
|
2007-07-25 11:20:08 +00:00
|
|
|
|
|
|
|
# unpack test cases olso.
|
|
|
|
tar -xzf %{SOURCE1} .
|
2007-03-13 09:15:39 +00:00
|
|
|
|
|
|
|
# fix wrongly encoded files from tarball
|
|
|
|
set +x
|
|
|
|
for f in `find . -type f` ; do
|
|
|
|
if file $f | grep -q ISO-8859 ; then
|
|
|
|
set -x
|
|
|
|
iconv -f ISO-8859-1 -t UTF-8 $f > ${f}.tmp && \
|
|
|
|
mv -f ${f}.tmp $f
|
|
|
|
set +x
|
|
|
|
fi
|
|
|
|
if file $f | grep -q CRLF ; then
|
|
|
|
set -x
|
|
|
|
sed -i -e 's|\r||g' $f
|
|
|
|
set +x
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
set -x
|
|
|
|
|
|
|
|
# remove junks
|
|
|
|
find . -name ".cvsignore" -exec rm -rf '{}' \;
|
|
|
|
|
|
|
|
# fix some exec bits
|
|
|
|
chmod -x alg/gdal_tps.cpp
|
2008-01-09 23:04:31 +00:00
|
|
|
chmod -x apps/nearblack.cpp
|
2007-03-13 09:15:39 +00:00
|
|
|
chmod -x frmts/jpeg/gdalexif.h
|
|
|
|
chmod -x ogr/ogrsf_frmts/ogdi/ogrogdi.h
|
|
|
|
chmod -x ogr/ogrsf_frmts/ogdi/ogrogdilayer.cpp
|
|
|
|
chmod -x ogr/ogrsf_frmts/ogdi/ogrogdidatasource.cpp
|
|
|
|
chmod -x ogr/ogrsf_frmts/ogdi/ogrogdidriver.cpp
|
|
|
|
|
2008-01-04 00:03:41 +00:00
|
|
|
# bug 189337 c8
|
|
|
|
# HAVE_NETCDF is not present anymore in hdf
|
|
|
|
pushd frmts/hdf4
|
2008-02-14 14:15:35 +00:00
|
|
|
for file in `find . -type f -name "*.*"`
|
2008-01-09 23:04:31 +00:00
|
|
|
do
|
|
|
|
sed -i \
|
|
|
|
-e 's|MAX_NC_NAME|H4_MAX_NC_NAME|' \
|
|
|
|
-e 's|MAX_VAR_DIMS|H4_MAX_VAR_DIMS|' \
|
|
|
|
-e 's|MAX_NC_DIMS|H4_MAX_NC_DIMS|g' \
|
2008-02-14 14:15:35 +00:00
|
|
|
-e 's|UNKNOWN|H4_UNKNOWN|g' \
|
2008-01-09 23:04:31 +00:00
|
|
|
$file
|
2008-01-04 00:03:41 +00:00
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
%build
|
|
|
|
|
2008-01-09 23:04:31 +00:00
|
|
|
# fix hardcoded issues
|
|
|
|
sed -i 's|@LIBTOOL@|%{_bindir}/libtool|g' GDALmake.opt.in
|
2007-03-20 23:05:23 +00:00
|
|
|
sed -i 's|-L\$with_cfitsio -L\$with_cfitsio\/lib -lcfitsio|-lcfitsio|g' configure
|
2007-03-13 09:15:39 +00:00
|
|
|
sed -i 's|-I\$with_cfitsio|-I\$with_cfitsio\/include\/cfitsio|g' configure
|
2007-04-02 11:06:47 +00:00
|
|
|
sed -i 's|-L\$with_netcdf -L\$with_netcdf\/lib -lnetcdf|-lnetcdf|g' configure
|
|
|
|
sed -i 's|-L\$DODS_LIB -ldap++|-ldap++|g' configure
|
2007-03-20 23:05:23 +00:00
|
|
|
sed -i 's|-L\$with_ogdi -L\$with_ogdi\/lib -logdi|-logdi|g' configure
|
|
|
|
sed -i 's|-L\$with_jpeg -L\$with_jpeg\/lib -ljpeg|-ljpeg|g' configure
|
|
|
|
sed -i 's|-L\$with_libtiff\/lib -ltiff|-ltiff|g' configure
|
|
|
|
sed -i 's|-L\$with_grass\/lib||g' configure
|
2007-07-25 11:20:08 +00:00
|
|
|
sed -i 's|-lgeotiff -L$with_geotiff $LIBS|-lgeotiff $LIBS|g' configure
|
2008-01-09 23:04:31 +00:00
|
|
|
sed -i 's|-L\$with_geotiff\/lib -lgeotiff $LIBS|-lgeotiff $LIBS|g' configure
|
|
|
|
sed -i 's|-lmfhdf -ldf $LIBS|-L$libdir/hdf -lmfhdf -ldf $LIBS|g' configure
|
2007-03-13 09:15:39 +00:00
|
|
|
sed -i 's|-logdi31|-logdi|g' configure
|
|
|
|
|
2007-05-11 21:37:35 +00:00
|
|
|
# fix python path for ppc64
|
|
|
|
sed -i 's|test \"$ARCH\" = \"x86_64\"|test \"$libdir\" = \"\/usr\/lib64\"|g' configure
|
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
# append some path for few libs
|
|
|
|
export CPPFLAGS="`pkg-config ogdi --cflags`"
|
2007-03-20 23:05:23 +00:00
|
|
|
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/netcdf-3"
|
2007-03-13 09:15:39 +00:00
|
|
|
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/hdf"
|
2007-07-25 11:20:08 +00:00
|
|
|
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/libgeotiff"
|
2007-03-13 09:15:39 +00:00
|
|
|
export CPPFLAGS="$CPPFLAGS `dap-config --cflags`"
|
2008-02-29 22:51:15 +00:00
|
|
|
export CPPFLAGS="$CPPFLAGS -DH5_USE_16_API"
|
2007-03-13 09:15:39 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
2008-02-14 14:15:35 +00:00
|
|
|
# we have multilib ogdi-config
|
|
|
|
%if "%{_lib}" == "lib"
|
|
|
|
%define cpuarch 32
|
|
|
|
%else
|
|
|
|
%define cpuarch 64
|
|
|
|
%endif
|
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
%configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--includedir=%{_includedir}/%{name}/ \
|
2008-01-09 23:04:31 +00:00
|
|
|
--datadir=%{_datadir}/%{name}/ \
|
2007-03-13 09:15:39 +00:00
|
|
|
--with-threads \
|
|
|
|
--with-dods-root=%{_libdir} \
|
2008-02-14 14:15:35 +00:00
|
|
|
--with-ogdi=`ogdi-config-%{cpuarch} --libdir` \
|
2007-03-13 09:15:39 +00:00
|
|
|
--with-cfitsio=%{_prefix} \
|
2007-07-25 11:20:08 +00:00
|
|
|
--with-geotiff=external \
|
2007-03-13 09:15:39 +00:00
|
|
|
--with-tiff=external \
|
|
|
|
--with-libtiff=external \
|
|
|
|
--with-libz \
|
|
|
|
--with-netcdf \
|
|
|
|
--with-hdf4 \
|
|
|
|
--with-hdf5 \
|
|
|
|
--with-geos \
|
|
|
|
--with-jasper \
|
|
|
|
--with-png \
|
|
|
|
--with-gif \
|
|
|
|
--with-jpeg \
|
|
|
|
--with-odbc \
|
|
|
|
--with-sqlite \
|
|
|
|
--with-mysql \
|
|
|
|
--with-curl \
|
|
|
|
--with-python \
|
|
|
|
--with-perl \
|
|
|
|
--with-xerces \
|
2008-01-09 23:04:31 +00:00
|
|
|
--with-xerces-lib='-lxerces-c' \
|
2007-03-13 09:15:39 +00:00
|
|
|
--with-xerces-inc=%{_includedir} \
|
|
|
|
--without-pcraster \
|
|
|
|
--enable-shared \
|
2007-07-25 11:20:08 +00:00
|
|
|
%if %{grass_support}
|
|
|
|
--with-libgrass \
|
|
|
|
--with-grass=%{_prefix} \
|
2007-03-13 09:15:39 +00:00
|
|
|
--disable-static
|
2007-07-25 11:20:08 +00:00
|
|
|
%endif
|
2007-03-13 09:15:39 +00:00
|
|
|
|
|
|
|
# fixup hardcoded wrong compile flags.
|
|
|
|
cp GDALmake.opt GDALmake.opt.orig
|
|
|
|
sed -e "s/^CFLAGS.*$/CFLAGS=$CFLAGS/" \
|
|
|
|
-e "s/^CXXFLAGS.*$/CXXFLAGS=$CXXFLAGS/" \
|
|
|
|
-e "s/^FFLAGS.*$/FFLAGS=$FFLAGS/" \
|
|
|
|
-e "s/ cfitsio / /" \
|
2007-03-20 23:05:23 +00:00
|
|
|
-e "s/-ldap++/-ldap -ldapclient -ldapserver/" \
|
2007-03-21 17:38:40 +00:00
|
|
|
-e "s/-L\$(INST_LIB) -lgdal/-lgdal/" \
|
2007-03-13 09:15:39 +00:00
|
|
|
GDALmake.opt.orig > GDALmake.opt
|
|
|
|
rm GDALmake.opt.orig
|
|
|
|
|
|
|
|
# fixup non-existent lookup dir
|
|
|
|
mkdir -p external/include
|
|
|
|
|
|
|
|
# WARNING !!!
|
|
|
|
# dont use {?_smp_mflags} it break compile
|
2008-01-09 23:04:31 +00:00
|
|
|
make
|
2007-03-13 09:15:39 +00:00
|
|
|
make docs
|
|
|
|
|
|
|
|
# make perl modules, disable makefile generate
|
|
|
|
pushd swig/perl;
|
|
|
|
perl Makefile.PL; make;
|
|
|
|
echo > Makefile.PL;
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# fix some perl instalation issue
|
|
|
|
sed -i 's|>> $(DESTINSTALLARCHLIB)\/perllocal.pod|> \/dev\/null|g' swig/perl/Makefile_*
|
2008-01-09 23:04:31 +00:00
|
|
|
# fix include header instalation issue
|
|
|
|
cat GNUmakefile | grep -v "\$(INSTALL_DIR) \$(DESTDIR)\$(INST_INCLUDE)" | \
|
|
|
|
grep -v "\$(INSTALL_DIR) \$(DESTDIR)\$(INST_DATA)" \
|
|
|
|
> GNUmakefile.tmp; mv -f GNUmakefile.tmp GNUmakefile
|
2007-03-13 09:15:39 +00:00
|
|
|
|
2008-01-09 23:04:31 +00:00
|
|
|
make DESTDIR=%{buildroot} \
|
2007-03-13 09:15:39 +00:00
|
|
|
install
|
2008-01-09 23:04:31 +00:00
|
|
|
|
|
|
|
make DESTDIR=%{buildroot} \
|
|
|
|
INST_MAN=%{_mandir} \
|
|
|
|
install-man
|
2007-03-13 09:15:39 +00:00
|
|
|
|
|
|
|
# move perl modules in the right path
|
|
|
|
mkdir -p %{buildroot}%{perl_vendorarch}
|
2008-01-09 23:04:31 +00:00
|
|
|
mv %{buildroot}%{perl_sitearch}/* %{buildroot}%{perl_vendorarch}/
|
2008-03-26 03:02:25 +00:00
|
|
|
find %{buildroot}%{perl_vendorarch} -name "*.dox" -exec rm -rf '{}' \;
|
2007-03-13 09:15:39 +00:00
|
|
|
|
2007-03-15 14:30:56 +00:00
|
|
|
# install pkgconfig file
|
2007-03-15 14:55:43 +00:00
|
|
|
cat > %{name}.pc <<EOF
|
|
|
|
prefix=%{_prefix}
|
|
|
|
exec_prefix=%{_prefix}
|
|
|
|
libdir=%{_libdir}
|
|
|
|
includedir=%{_includedir}
|
|
|
|
|
|
|
|
Name: GDAL
|
|
|
|
Description: GIS file format library
|
|
|
|
Version: %{version}
|
2007-03-16 15:40:07 +00:00
|
|
|
Libs: -L\${libdir} -lgdal
|
2007-03-15 14:55:43 +00:00
|
|
|
Cflags: -I\${includedir}/%{name}
|
|
|
|
EOF
|
|
|
|
|
2007-03-15 14:30:56 +00:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
|
2007-03-15 14:55:43 +00:00
|
|
|
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
2007-03-15 14:30:56 +00:00
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
# fix some exec bits
|
|
|
|
find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \;
|
|
|
|
|
|
|
|
# build and include more docs
|
|
|
|
mkdir -p doc/frmts; find frmts -name "*.html" -exec install -m 644 '{}' doc/frmts/ \;
|
|
|
|
mkdir -p doc/ogrsf_frmts; find ogr/ogrsf_frmts -name "*.html" -exec install -m 644 '{}' doc/ogrsf_frmts \;
|
2007-04-20 13:30:54 +00:00
|
|
|
|
|
|
|
# some commented out are broken for now
|
2007-07-25 11:20:08 +00:00
|
|
|
pushd doc; doxygen *.dox; popd
|
2008-01-09 23:04:31 +00:00
|
|
|
pushd ogr/ogrsf_frmts; doxygen *.dox; popd
|
|
|
|
%if %{build_refman}
|
|
|
|
pushd ogr/ogrsf_frmts/latex; make refman.pdf; popd
|
2008-01-04 00:03:41 +00:00
|
|
|
%endif
|
2007-03-13 09:15:39 +00:00
|
|
|
pushd swig/perl; doxygen; popd
|
2008-01-09 23:04:31 +00:00
|
|
|
%if %{build_refman}
|
2007-03-13 09:15:39 +00:00
|
|
|
pushd swig/perl/latex; make refman.pdf; popd
|
2008-01-04 00:03:41 +00:00
|
|
|
%endif
|
2007-03-13 09:15:39 +00:00
|
|
|
|
2008-02-14 14:15:35 +00:00
|
|
|
# install cpl_config.h bz#430894
|
|
|
|
install -p -m 644 port/cpl_config.h %{buildroot}%{_includedir}/%{name}/
|
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
# cleanup junks
|
2008-01-09 23:04:31 +00:00
|
|
|
rm -rf %{buildroot}%{_includedir}/%{name}/%{name}
|
2007-03-13 09:15:39 +00:00
|
|
|
for junk in {*.a,*.la,*.bs,.exists,.packlist,.cvsignore} ; do
|
2007-07-25 11:20:08 +00:00
|
|
|
find %{buildroot} -name "$junk" -exec rm -rf '{}' \;
|
2007-03-13 09:15:39 +00:00
|
|
|
done
|
|
|
|
|
2007-07-25 11:20:08 +00:00
|
|
|
%check
|
|
|
|
|
2008-01-09 23:04:31 +00:00
|
|
|
pushd gdalautotest-1.5.0
|
2007-07-25 11:20:08 +00:00
|
|
|
|
|
|
|
# export test enviroment
|
|
|
|
export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python_sitearch}
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH%{buildroot}%{_libdir}
|
|
|
|
export GDAL_DATA=%{buildroot}%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
# remove some testcases for now due to build failure
|
2008-01-09 23:04:31 +00:00
|
|
|
rm -rf ogr/ogr_pg.py # no pgsql during test (disabled)
|
|
|
|
rm -rf ogr/ogr_dods.py # no DODS during test (disabled)
|
|
|
|
rm -rf gdrivers/dods.py # no DODS during test (disabled)
|
|
|
|
rm -rf osr/osr_esri.py # ESRI datum absent (disabled)
|
|
|
|
rm -rf ogr/ogr_sql_test.py # crash ugly (mustfix)
|
|
|
|
rm -rf gdrivers/dted.py # crash ugly (mustfix)
|
2007-07-25 11:20:08 +00:00
|
|
|
|
|
|
|
# run tests but force than normal exit
|
|
|
|
./run_all.py || exit 0
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc NEWS PROVENANCE.TXT-mainstream PROVENANCE.TXT-fedora COMMITERS
|
2007-04-20 14:03:18 +00:00
|
|
|
%doc doc/frmts
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_bindir}/gdal_contour
|
|
|
|
%{_bindir}/gdal_rasterize
|
|
|
|
%{_bindir}/gdal_translate
|
|
|
|
%{_bindir}/gdaladdo
|
|
|
|
%{_bindir}/gdalinfo
|
|
|
|
%{_bindir}/gdaltindex
|
|
|
|
%{_bindir}/gdalwarp
|
2008-01-09 23:04:31 +00:00
|
|
|
%{_bindir}/gdal_grid
|
|
|
|
%{_bindir}/gdalenhance
|
|
|
|
%{_bindir}/gdalmanage
|
|
|
|
%{_bindir}/gdaltransform
|
|
|
|
%{_bindir}/nearblack
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_bindir}/ogr*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_mandir}/man1/gdaladdo.1.gz
|
|
|
|
%{_mandir}/man1/gdalinfo.1.gz
|
|
|
|
%{_mandir}/man1/gdaltindex.1.gz
|
|
|
|
%{_mandir}/man1/gdalwarp.1.gz
|
2008-01-09 23:04:31 +00:00
|
|
|
%{_mandir}/man1/gdaltransform.1.gz
|
|
|
|
%{_mandir}/man1/gdal2tiles.1.gz
|
|
|
|
%{_mandir}/man1/nearblack.1.gz
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_mandir}/man1/gdal_contour.1.gz
|
|
|
|
%{_mandir}/man1/gdal_rasterize.1.gz
|
|
|
|
%{_mandir}/man1/gdal_translate.1.gz
|
|
|
|
%{_mandir}/man1/gdal_utilities.1.gz
|
2008-01-09 23:04:31 +00:00
|
|
|
%{_mandir}/man1/gdal_grid.1.gz
|
|
|
|
%{_mandir}/man1/gdal_retile.1.gz
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_mandir}/man1/ogr*.1.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2008-01-09 23:04:31 +00:00
|
|
|
%doc html ogr/html
|
2007-04-20 14:03:18 +00:00
|
|
|
%doc ogr/wcts/html
|
2008-01-09 23:04:31 +00:00
|
|
|
%doc ogr/ogrsf_frmts/html
|
|
|
|
%if %{build_refman}
|
|
|
|
%doc ogr/ogrsf_frmts/latex/refman.pdf
|
|
|
|
%endif
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_bindir}/%{name}-config
|
2007-04-02 11:06:47 +00:00
|
|
|
%dir %{_includedir}/%{name}
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
|
%{_libdir}/*.so
|
2007-03-15 14:30:56 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2007-03-13 09:15:39 +00:00
|
|
|
%{_mandir}/man1/%{name}-config*
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%exclude %{_bindir}/*.py?
|
|
|
|
%attr(0755,root,root) %{_bindir}/*.py
|
|
|
|
%{python_sitearch}/*
|
|
|
|
%{_mandir}/man1/pct2rgb.1.gz
|
|
|
|
%{_mandir}/man1/rgb2pct.1.gz
|
|
|
|
%{_mandir}/man1/gdal_merge.1.gz
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%defattr(-,root,root,-)
|
2008-01-04 00:03:41 +00:00
|
|
|
%doc swig/perl/html
|
2008-01-09 23:04:31 +00:00
|
|
|
%if %{build_refman}
|
2008-01-04 00:03:41 +00:00
|
|
|
%doc swig/perl/latex/refman.pdf
|
|
|
|
%endif
|
|
|
|
%doc swig/perl/README
|
2007-03-13 09:15:39 +00:00
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
|
|
|
%changelog
|
2008-03-28 15:54:18 +00:00
|
|
|
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.1-5
|
|
|
|
- really eanble against grass63
|
|
|
|
|
2008-03-28 12:35:06 +00:00
|
|
|
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.1-4
|
|
|
|
- disable grass to bootstrap once again
|
|
|
|
|
2008-03-28 11:37:12 +00:00
|
|
|
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.1-3
|
|
|
|
- rebuild to really pick up grass63 in koji
|
|
|
|
|
2008-03-27 22:05:15 +00:00
|
|
|
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.1-2
|
|
|
|
- enable build against newer grass
|
|
|
|
- enable build of reference manuals
|
|
|
|
|
2008-03-26 03:02:25 +00:00
|
|
|
* Tue Mar 25 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.1-1
|
|
|
|
- new bugfix release from upstream
|
|
|
|
- drop large parts from gcc43 patch, some are upstream now
|
|
|
|
- fix building with perl-5.10 swig binding issue
|
|
|
|
|
2008-02-29 22:51:15 +00:00
|
|
|
* Wed Feb 29 2008 Orion Poplawski <orion@cora.nwra.com> - 1.5.0-4
|
|
|
|
- Rebuild for hdf5-1.8.0, use compatability API define
|
|
|
|
|
2008-02-14 14:15:35 +00:00
|
|
|
* Tue Feb 12 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.0-3
|
|
|
|
- install cpl_config.h manually for bz#430894
|
|
|
|
- fix gcc4.3 build
|
|
|
|
|
2008-01-14 07:59:59 +00:00
|
|
|
* Mon Jan 14 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.0-2
|
|
|
|
- fix perl dependency issue.
|
|
|
|
|
2008-01-09 23:04:31 +00:00
|
|
|
* Mon Jan 07 2008 Balint Cristian <rezso@rdsor.ro> - 1.5.0-1
|
|
|
|
- update to new 1.5.0 upstream stable
|
|
|
|
- dropped build patch since HFA/ILI/DGN mandatories are now present
|
|
|
|
- dropped swig patch, its upstream now
|
|
|
|
- enable HFA it holds Intergraph (TM) explicit public license
|
|
|
|
- enable DGN it holds Avenza Systems (TM) explicit public license
|
|
|
|
- enable ILI headers since now contain proper public license message
|
|
|
|
- keep and polish up rest of doubted license
|
|
|
|
- further fixed hdf not supporting netcdf for for bz#189337
|
|
|
|
- kill the annoying -Lexternal/lib for -lgeotiff
|
|
|
|
- fix configure to not export LDFLAGS anyomre, upstream
|
|
|
|
should really switch to real GNU automagic stuff
|
|
|
|
- pymod samples and rfc docs now gone
|
|
|
|
- hardcode external libtool to be used, LIBTOOL env not propagating anymore
|
|
|
|
- use DESTDIR instead
|
|
|
|
|
2008-01-04 02:46:17 +00:00
|
|
|
* Thu Jan 03 2008 Alex Lancaster <alexlan[AT]fedoraproject.org> - 1.4.2-7
|
|
|
|
- Re-enable grass support now that gdal has been bootstrapped
|
|
|
|
|
2008-01-04 00:03:41 +00:00
|
|
|
* Wed Jan 02 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.4.2-6
|
|
|
|
- Bootstrap 1st: disabling grass support
|
|
|
|
- Workaround for hdf not supporting netcdf (bug 189337 c8)
|
|
|
|
- Disabling documents creation for now.
|
|
|
|
|
2007-12-09 14:08:49 +00:00
|
|
|
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.4.2-5
|
2007-12-06 16:34:57 +00:00
|
|
|
- Rebuild for deps
|
|
|
|
- Disable grass to avoid circular deps
|
|
|
|
|
2007-08-28 21:50:28 +00:00
|
|
|
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.4.2-3
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-25 11:58:10 +00:00
|
|
|
* Wed Jul 24 2007 Balint Cristian <cbalint@redhat.com> 1.4.2-2
|
|
|
|
- disable one more HFA test, HFA is unaviable due to license
|
|
|
|
|
2007-07-25 11:20:08 +00:00
|
|
|
* Wed Jul 24 2007 Balint Cristian <cbalint@redhat.com> 1.4.2-1
|
|
|
|
- new upstream one
|
|
|
|
- catch some more docs
|
|
|
|
- fix ogr python module runtime
|
|
|
|
- include testcases and run tests
|
|
|
|
- enable geotiff external library we have new libgeotiff now
|
|
|
|
- EPSG geodetic database is licensed OK since v6.13 so re-enable
|
|
|
|
- enable it against grass by default, implement optional switches
|
|
|
|
|
2007-06-05 10:49:32 +00:00
|
|
|
* Tue Jun 05 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-4
|
|
|
|
- re-build.
|
|
|
|
|
2007-05-12 16:12:53 +00:00
|
|
|
* Sat May 12 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-3
|
|
|
|
- re-build against grass.
|
|
|
|
|
2007-05-11 21:37:35 +00:00
|
|
|
* Fri May 11 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-2
|
|
|
|
- fix python lookup paths for ppc64.
|
|
|
|
|
2007-05-09 17:58:46 +00:00
|
|
|
* Wed May 09 2007 Balint Cristian <cbalint@redhat.com> 1.4.1-1
|
|
|
|
- new upstream release.
|
|
|
|
- disable temporary grass-devel requirement untill find a
|
|
|
|
resonable solution for gdal-grass egg-chicken dep problem.
|
|
|
|
|
2007-04-20 14:03:18 +00:00
|
|
|
* Fri Apr 20 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-22
|
|
|
|
- and olso dont attempt pack missing docs.
|
|
|
|
|
2007-04-20 13:30:54 +00:00
|
|
|
* Fri Apr 20 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-21
|
|
|
|
- exclude some docs, doxygen segfault with those now upstream.
|
|
|
|
|
2007-04-20 11:03:36 +00:00
|
|
|
* Fri Apr 20 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-20
|
|
|
|
- rebuild against latest fedora upstream tree.
|
|
|
|
|
2007-04-02 11:06:47 +00:00
|
|
|
* Mon Apr 02 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-19
|
|
|
|
- own gdal includedir
|
|
|
|
- fix one more spurious lib path
|
|
|
|
|
2007-03-21 17:38:40 +00:00
|
|
|
* Wed Mar 21 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-18
|
|
|
|
- remove system lib path from gdal-config --libs, its implicit
|
|
|
|
|
2007-03-20 23:05:23 +00:00
|
|
|
* Tue Mar 20 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-17
|
|
|
|
- enable build against grass
|
|
|
|
- fix incorrect use of 32/64 library paths lookups
|
|
|
|
|
2007-03-16 15:40:07 +00:00
|
|
|
* Fri Mar 16 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-16
|
|
|
|
- fix gdal flag from pkgconfig file
|
|
|
|
|
2007-03-15 14:55:43 +00:00
|
|
|
* Thu Mar 15 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-15
|
|
|
|
- require pkgconfig
|
|
|
|
- generate pkgconfig from spec instead
|
|
|
|
|
2007-03-15 14:30:56 +00:00
|
|
|
* Thu Mar 15 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-14
|
|
|
|
- require perl(ExtUtils::MakeMaker) instead ?dist checking
|
|
|
|
- add pkgconfig file
|
|
|
|
|
2007-03-14 17:25:19 +00:00
|
|
|
* Wed Mar 14 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-13
|
|
|
|
- fix typo in specfile
|
|
|
|
|
2007-03-14 17:18:37 +00:00
|
|
|
* Wed Mar 14 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-12
|
|
|
|
- add missing dot from dist string in specfile
|
|
|
|
|
2007-03-14 17:09:52 +00:00
|
|
|
* Wed Mar 14 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-11
|
2007-03-14 17:18:37 +00:00
|
|
|
- fix fc6 fc5 builds
|
2007-03-14 17:09:52 +00:00
|
|
|
|
2007-03-13 09:15:39 +00:00
|
|
|
* Thu Mar 1 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-10
|
|
|
|
- fix mock build
|
|
|
|
- require perl-devel
|
|
|
|
|
|
|
|
* Tue Feb 27 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-9
|
|
|
|
- repack tarball for fedora, explain changes in PROVENANCE-fedora,
|
|
|
|
license should be clean now according to PROVENANCE-* files
|
|
|
|
- require ogdi since is aviable now
|
|
|
|
- drop nogeotiff patch, in -fedora tarball geotiff is removed
|
|
|
|
- man page triage over subpackages
|
|
|
|
- exclude python byte compiled objects
|
|
|
|
- fix some source C file exec bits
|
|
|
|
|
|
|
|
* Sat Feb 24 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-8
|
|
|
|
- fix more things in spec
|
|
|
|
- include more docs
|
|
|
|
|
|
|
|
* Wed Feb 21 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-7
|
|
|
|
- libtool in requirement list for build
|
|
|
|
|
|
|
|
* Wed Feb 21 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-6
|
|
|
|
- use external libtool to avoid rpath usage
|
|
|
|
- include more docs
|
|
|
|
|
|
|
|
* Mon Feb 12 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-5
|
|
|
|
- use rm -rf for removal of dirs.
|
|
|
|
- fix require lists
|
|
|
|
|
|
|
|
* Mon Feb 12 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-4
|
|
|
|
- fix doxygen buildreq
|
|
|
|
- make sure r-path is fine.
|
|
|
|
|
|
|
|
* Sat Feb 10 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-3
|
|
|
|
- disable now ogdi (pending ogdi submission).
|
|
|
|
|
|
|
|
* Sat Feb 10 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-2
|
|
|
|
- more fixups for lib paths
|
|
|
|
|
|
|
|
* Fri Feb 09 2007 Balint Cristian <cbalint@redhat.com> 1.4.0-1
|
|
|
|
- first pack for fedora extras
|
|
|
|
- disable geotiff (untill license sorted out)
|
|
|
|
- enable all options aviable from extras
|
|
|
|
- pack perl and python modules
|
|
|
|
- kill r-path from libs
|
|
|
|
- pack all docs posible
|