rpms/gdal/FC-6 gdal.spec,1.3,1.4
Balint Cristian (cbalint)
fedora-extras-commits at redhat.com
Tue Mar 20 23:07:26 UTC 2007
- Previous message (by thread): rpms/gdal import.log,1.13,1.14
- Next message (by thread): rpms/emelfm2/devel .cvsignore, 1.11, 1.12 emelfm2-makefile.config.patch, 1.4, 1.5 emelfm2.spec, 1.17, 1.18 sources, 1.11, 1.12 e2-0.3.2-07-02-01.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cbalint
Update of /cvs/extras/rpms/gdal/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23858/FC-6
Modified Files:
gdal.spec
Log Message:
auto-import gdal-1.4.0-17 on branch FC-6 from gdal-1.4.0-17.src.rpm
Index: gdal.spec
===================================================================
RCS file: /cvs/extras/rpms/gdal/FC-6/gdal.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gdal.spec 16 Mar 2007 15:37:01 -0000 1.3
+++ gdal.spec 20 Mar 2007 23:06:54 -0000 1.4
@@ -1,6 +1,6 @@
Name: gdal
Version: 1.4.0
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: GIS file format library
Group: System Environment/Libraries
License: MIT
@@ -11,9 +11,9 @@
BuildRequires: libtool swig pkgconfig
BuildRequires: doxygen tetex-latex ghostscript
BuildRequires: libpng-devel libungif-devel libjpeg-devel libtiff-devel
-BuildRequires: unixODBC-devel mysql-devel sqlite-devel postgresql-devel zlib-devel
-BuildRequires: proj-devel geos-devel netcdf-devel hdf5-devel ogdi-devel
BuildRequires: jasper-devel cfitsio-devel hdf-devel libdap-devel librx-devel
+BuildRequires: unixODBC-devel mysql-devel sqlite-devel postgresql-devel zlib-devel
+BuildRequires: proj-devel geos-devel netcdf-devel hdf5-devel ogdi-devel grass-devel
BuildRequires: python-devel >= 2.4 xerces-c-devel
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -82,12 +82,18 @@
%build
# fix hardcoded issues with cfitso and ogdi
+sed -i 's|-L\$with_cfitsio -L\$with_cfitsio\/lib -lcfitsio|-lcfitsio|g' configure
sed -i 's|-I\$with_cfitsio|-I\$with_cfitsio\/include\/cfitsio|g' configure
+sed -i 's|-L\$with_netcdf -L\with_netcdf\/lib -lnetcdf|-lnetcdf|g' configure
+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
sed -i 's|-logdi31|-logdi|g' configure
# append some path for few libs
export CPPFLAGS="`pkg-config ogdi --cflags`"
-export CPPFLAGS=$CPPFLAGS' -I%{_includedir}/netcdf-3'
+export CPPFLAGS="$CPPFLAGS -I%{_includedir}/netcdf-3"
export CPPFLAGS="$CPPFLAGS -I%{_includedir}/hdf"
export CPPFLAGS="$CPPFLAGS `dap-config --cflags`"
export CFLAGS="$RPM_OPT_FLAGS"
@@ -98,6 +104,8 @@
--prefix=%{_prefix} \
--includedir=%{_includedir}/%{name}/ \
--with-threads \
+ --with-grass=%{_prefix} \
+ --with-libgrass \
--with-dods-root=%{_libdir} \
--with-ogdi=`ogdi-config --libdir` \
--with-cfitsio=%{_prefix} \
@@ -120,11 +128,9 @@
--with-python \
--with-perl \
--with-xerces \
- --with-xerces-lib='-lxerces-c -L%{_libdir} -L%{_libdir}/hdf -L%{_libdir}/netcdf-3' \
+ --with-xerces-lib='-lxerces-c -L%{_libdir}/hdf -L%{_libdir}/netcdf-3' \
--with-xerces-inc=%{_includedir} \
--without-pcraster \
- --without-grass \
- --without-libgrass \
--enable-shared \
--disable-static
@@ -134,14 +140,11 @@
-e "s/^CXXFLAGS.*$/CXXFLAGS=$CXXFLAGS/" \
-e "s/^FFLAGS.*$/FFLAGS=$FFLAGS/" \
-e "s/ cfitsio / /" \
--e "s/-ldap++/-ldap -ldapclient -ldapserver \
--L\/usr\/lib\/netcdf-3 -L\/usr\/lib\/hdf \
--L\/usr\/lib64\/netcdf-3 -L\/usr\/lib64\/hdf/" \
+-e "s/-ldap++/-ldap -ldapclient -ldapserver/" \
GDALmake.opt.orig > GDALmake.opt
rm GDALmake.opt.orig
# fixup non-existent lookup dir
-mkdir -p external/lib
mkdir -p external/include
# WARNING !!!
@@ -276,6 +279,10 @@
%{perl_vendorarch}/*
%changelog
+* Tue Mar 20 2007 Balint Cristian <cbalint at redhat.com> 1.4.0-17
+- enable build against grass
+- fix incorrect use of 32/64 library paths lookups
+
* Fri Mar 16 2007 Balint Cristian <cbalint at redhat.com> 1.4.0-16
- fix gdal flag from pkgconfig file
- Previous message (by thread): rpms/gdal import.log,1.13,1.14
- Next message (by thread): rpms/emelfm2/devel .cvsignore, 1.11, 1.12 emelfm2-makefile.config.patch, 1.4, 1.5 emelfm2.spec, 1.17, 1.18 sources, 1.11, 1.12 e2-0.3.2-07-02-01.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list