Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37742703
en ru br
ALT Linux repositórios
S:3.6.2-alt1.1
5.0: 1.5.3-alt1
4.1: 1.5.3-alt0.M41.1
4.0: 1.4.0-alt1.M40.1

Group :: Ciências/Geociências
RPM: gdal

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_with geotiff

Summary: The Geospatial Data Abstraction Library (GDAL)
Name: gdal
Version: 1.4.0
Release: alt1.M40.1
Group: Sciences/Geosciences
License: MIT
Source: ftp://ftp.remotesensing.org/pub/gdal/%name-%version.tar.gz
Url: http://www.remotesensing.org/gdal/

# Automatically added by buildreq on Sun Mar 25 2007

BuildRequires: gcc-c++ libcurl-devel libgeos-devel libjpeg-devel libpng-devel libtiff-devel libungif-devel postgresql-devel

%define libname lib%name

%description
The Geospatial Data Abstraction Library (GDAL) is a unifying
C/C++ API for accessing raster geospatial data, and currently
includes formats like GeoTIFF, Erdas Imagine, Arc/Info
Binary, CEOS, DTED, GXF, and SDTS. It is intended to provide
efficient access, suitable for use in viewer applications,
and also attempts to preserve coordinate systems and metadata.
Python, C, and C++ interfaces are available.

%package -n %libname
Summary: Libraries required for the GDAL library
Group: Sciences/Geosciences

%description -n %libname
Libraries required for the GDAL library

%package -n %libname-devel
Summary: Development files for using the GDAL library
Group: Development/C
Requires: %libname = %version-%release

%description -n lib%name-devel
Development files for using the GDAL library

%prep
%setup -q

%build
%undefine __libtoolize
%configure \
--datadir="%_datadir/%name" \
--with-libz \
--with-png \
%if_with geotiff
--with-libtiff \
--with-geotiff \
%else
--with-libtiff=internal \
--with-geotiff=internal \
%endif
--with-gif \
--with-jpeg \
--with-ogr \
--with-grass \
--without-perl \
--without-php \
--without-ruby \
--without-ngpython \
--without-python \
#
%make

%install
%make DESTDIR=%buildroot install

%post -n %libname -p %post_ldconfig
%postun -n %libname -p %postun_ldconfig

%files
%doc NEWS VERSION
%_datadir/%name
%_bindir/ogr*
%_bindir/gdal*
%exclude %_bindir/gdal-config
%_man1dir/*

%files -n %libname-devel
%_bindir/gdal-config
%_libdir/*.so
%_includedir/*

%files -n %libname
%_libdir/*.so.*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009