3 # separate -devel, python- etc.
4 # more formats (CFITSIO, OGDI, GRASS)
5 # link dynamically where possible
6 %include /usr/lib/rpm/macros.python
7 Summary: Geospatial Data Abstraction Library
8 Summary(pl): Biblioteka abstrakcji danych dotycz±cych powierzchni Ziemi
14 Source0: ftp://ftp.remotesensing.org/pub/gdal/%{name}-%{version}.tar.gz
15 Patch0: %{name}-jpeg.patch
16 Patch1: %{name}-acfix.patch
17 Patch2: %{name}-pgsql.patch
18 Patch3: %{name}-DESTDIR.patch
19 URL: http://www.remotesensing.org/gdal/
20 BuildRequires: autoconf
21 BuildRequires: libjpeg-devel
22 BuildRequires: libpng-devel
23 #BuildRequires: libtiff-devel >= 3.6.0
24 BuildRequires: libungif-devel
25 BuildRequires: postgresql-devel
26 BuildRequires: postgresql-backend-devel
27 BuildRequires: python-devel
28 BuildRequires: rpm-pythonprov
29 BuildRequires: zlib-devel >= 1.1.4
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 GDAL is a translator library for raster geospatial data formats that
34 is released under an Open Source license. As a library, it presents a
35 single abstract data model to the calling application for all
36 supported formats. The related OGR library (which lives within the
37 GDAL source tree) provides a similar capability for simple features
41 GDAL to biblioteka konwertuj±ca miêdzy formatami rastrowych danych
42 dotycz±cych powierzchni Ziemi, udostêpniona na licencji Open Source.
43 Jako biblioteka udostêpnia aplikacjom jeden abstrakcyjny model danych
44 do wszystkich obs³ugiwanych formatów. Powi±zana z nia biblioteka OGR
45 (której ¼ród³a s± do³±czone do drzewa ¼róde³ GDAL) daje podobne
46 mo¿liwo¶ci dla danych wektorowych.
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT
65 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc NEWS html/*.{html,gif,css}
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/lib*.so
77 %attr(755,root,root) %{py_sitedir}/_gdalmodule.so