]> git.pld-linux.org Git - packages/gdal.git/blame - gdal.spec
- rebuild with expat 2.1.0
[packages/gdal.git] / gdal.spec
CommitLineData
954ec354 1# TODO:
8b360036 2# - be reasonable about devel dependencies - you do not need all of them to
cfcb08ee 3# use gdal (probably a gdal module or driver shall not imply devel
4# dependency)
9b4989ae 5# - rasdaman (--with-rasdaman; http://rasdaman.eecs.jacobs-university.de/trac/rasdaman/wiki/Download)
f3ccaa46 6# - openjpeg (unreleased post-1.5 or 2? needs opj_decode_tile_data symbol, not available in 1.3-1.5)
d3d190a4 7# - libjpeg12 (needs patching to use system one, --with-jpeg12 is not sufficient as of 1.9.2)
9b4989ae 8# - libkml (1.3.0 needed, not released yet)
954ec354 9# - wait for newer pcidsk, switch to external again
d3d190a4 10# - csharp, java
9b4989ae
JB
11# - additional, proprietary(?) formats support:
12# - FMEObjects (http://www.safe.com/support/support-resources/fme-downloads/)
13# - ESRI FileGDBAPI (http://resources.arcgis.com/content/geodatabases/10.0/file-gdb-api)
14# - ECW (http://www.erdas.com/products/ecw/ERDASECWJPEG2000SDK/Details.aspx)
15# - Kakadu/JPEG2000 (http://www.kakadusoftware.com/)
16# - MrSID (http://www.lizardtech.com/developer/)
17# - MSG/EUMETSAT (http://www.eumetsat.int/Home/Main/DataAccess/SupportSoftwareTools/index.htm)
18# - Oracle/OCI >= 10.0.1 (for georaster); Oracle/OCI >= 8.1.7 (as DB)
19# - Ingres (--with-ingres=/path)
20# - Informix DB
21# - DWGdirect (members only? http://www.opendwg.org/)
22# - ESRI SDE (http://www.esri.com/software/arcgis/arcsde/index.html)
655672e5 23#
24# Conditional build:
d3d190a4 25%bcond_without armadillo # Armadillo support for faster TPS transform
4537079d
JB
26%bcond_without epsilon # EPSILON wavelet compression support
27%bcond_without gta # GTA format support
d3d190a4
JB
28%bcond_without mysql # MySQL DB support
29%bcond_without odbc # ODBC DB support
30%bcond_without opencl # OpenCL (GPU) support
4537079d
JB
31%bcond_with podofo # PDF support via podofo instead of poppler
32%bcond_without poppler # PDF support via poppler
33%bcond_without spatialite # SpatiaLite support
d3d190a4
JB
34%bcond_without xerces # Xerces support
35%bcond_without java # Java and MDB support
36%bcond_without php # PHP binding
37%bcond_without ruby # ruby binding
655672e5 38#
fac7da6f
JB
39%if %{with podofo}
40%undefine with_poppler
41%endif
faf5649c 42Summary: Geospatial Data Abstraction Library
a28c1bee 43Summary(pl.UTF-8): Biblioteka abstrakcji danych dotyczących powierzchni Ziemi
faf5649c 44Name: gdal
f1b5abea 45Version: 1.9.2
02f52ba5 46Release: 2
faf5649c
JB
47License: BSD-like
48Group: Libraries
c82ea5ef 49Source0: ftp://ftp.remotesensing.org/gdal/%{name}-%{version}.tar.gz
f1b5abea 50# Source0-md5: 3f39db89f4710269b3a8bf94178e07aa
f5a12c65 51Patch0: %{name}-perl.patch
9b4989ae 52Patch1: %{name}-python_install.patch
f1b5abea
JB
53Patch2: %{name}-php.patch
54Patch3: %{name}-fpic.patch
9b5c0fd4 55URL: http://www.gdal.org/
d3d190a4
JB
56%{?with_opencl:BuildRequires: OpenCL-devel >= 1.0}
57%{?with_armadillo:BuildRequires: armadillo-devel}
69051332
JB
58BuildRequires: autoconf >= 2.52
59BuildRequires: automake
6b59fa88 60BuildRequires: cfitsio-devel
9b4989ae 61BuildRequires: curl-devel
9d161bc4 62BuildRequires: doxygen >= 1.4.2
209aac6b 63%{?with_epsilon:BuildRequires: epsilon-compressor-devel}
69051332 64BuildRequires: expat-devel >= 1.95.0
4537079d 65BuildRequires: freexl-devel >= 1.0
9b4989ae 66BuildRequires: geos-devel >= 2.2.0
b459f4d7 67BuildRequires: giflib-devel >= 4.0
6b59fa88 68BuildRequires: hdf-devel >= 4.0
69051332 69BuildRequires: hdf5-devel
6b59fa88 70BuildRequires: jasper-devel
9b4989ae
JB
71%{?with_java:BuildRequires: jdk}
72%{?with_java:BuildRequires: jpackage-utils}
d4d7a2c6 73BuildRequires: libcsf-devel
4058fbc3 74BuildRequires: libdap-devel >= 3.10
b3cbf6a3 75BuildRequires: libgeotiff-devel >= 1.2.1
b88bb9ef 76%{?with_gta:BuildRequires: libgta-devel}
6b59fa88 77BuildRequires: libjpeg-devel >= 6b
9b4989ae 78#BuildRequires: libkml-devel >= 1.3.0
e354fe40 79BuildRequires: libpng-devel >= 2:1.2.8
4537079d 80%{?with_spatialite:BuildRequires: libspatialite-devel}
b3cbf6a3 81BuildRequires: libstdc++-devel
954ec354 82BuildRequires: libtiff-devel >= 4.0
69051332 83BuildRequires: libtool
e2b089e1 84BuildRequires: libuuid-devel
9b4989ae 85BuildRequires: libwebp-devel
e2b089e1 86BuildRequires: libxml2-devel
d3d190a4 87%{?with_mysql:BuildRequires: mysql-devel}
80114ba8 88BuildRequires: netcdf-devel >= 4.1
6b59fa88 89BuildRequires: ogdi-devel >= 3.1
954ec354 90#BuildRequires: pcidsk-devel > 0.3
a0ffd9c4 91BuildRequires: perl-devel
9b4989ae 92%{?with_php:BuildRequires: php-devel}
fac7da6f
JB
93%{?with_podofo:BuildRequires: podofo-devel}
94%{?with_poppler:BuildRequires: poppler-devel}
9b4989ae
JB
95# ensure it's compiled with PQescapeStringConn support
96BuildRequires: postgresql-backend-devel >= 8.1.4
97BuildRequires: postgresql-devel >= 8.1.4
98BuildRequires: proj-devel >= 4
9a2dbbce 99BuildRequires: python-devel >= 1:2.5
017b03bb 100BuildRequires: python-numpy-devel >= 1:1.0.0
9b4989ae 101BuildRequires: python-setuptools
479cb83c 102BuildRequires: rpm-pythonprov
9b4989ae 103BuildRequires: rpmbuild(macros) >= 1.344
4aafe7c0 104%{?with_ruby:BuildRequires: ruby-devel}
b88bb9ef 105BuildRequires: sed >= 4.0
9b4989ae 106BuildRequires: sqlite3-devel >= 3.0.0
479cb83c 107BuildRequires: swig-perl
9a2dbbce 108BuildRequires: swig-python >= 1.3
017b03bb 109%{?with_ruby:BuildRequires: swig-ruby}
479cb83c 110BuildRequires: texlive-dvips
111BuildRequires: texlive-latex
9831286f 112%{?with_odbc:BuildRequires: unixODBC-devel >= 2.2.15}
9b4989ae
JB
113%{?with_xerces:BuildRequires: xerces-c-devel >= 2.7.0}
114BuildRequires: xz-devel
faf5649c 115BuildRequires: zlib-devel >= 1.1.4
4537079d 116Requires: freexl >= 1.0
9b4989ae 117Requires: geos >= 2.2.0
b3cbf6a3 118Requires: libgeotiff >= 1.2.1
e354fe40 119Requires: libpng >= 2:1.2.8
954ec354 120Requires: libtiff >= 4.0
faf5649c
JB
121BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
122
123%description
124GDAL is a translator library for raster geospatial data formats that
125is released under an Open Source license. As a library, it presents a
126single abstract data model to the calling application for all
127supported formats. The related OGR library (which lives within the
128GDAL source tree) provides a similar capability for simple features
129vector data.
f05c79e8 130
d34f2ec8
JR
131%description -l pl.UTF-8
132GDAL to biblioteka konwertująca między formatami rastrowych danych
133dotyczących powierzchni Ziemi, udostępniona na licencji Open Source.
134Jako biblioteka udostępnia aplikacjom jeden abstrakcyjny model danych
135do wszystkich obsługiwanych formatów. Powiązana z nią biblioteka OGR
136(której źródła są dołączone do drzewa źródeł GDAL) daje podobne
137możliwości dla danych wektorowych.
faf5649c 138
6b59fa88
JB
139%package devel
140Summary: GDAL library header files
a28c1bee 141Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GDAL
6b59fa88 142Group: Development/Libraries
1673a634 143Requires: %{name} = %{version}-%{release}
d3d190a4
JB
144%{?with_opencl:Requires: OpenCL-devel >= 1.0}
145%{?with_armadillo:Requires: armadillo-devel}
b3cbf6a3 146Requires: cfitsio-devel
209aac6b
JB
147Requires: curl-devel
148%{?with_epsilon:Requires: epsilon-compressor-devel}
69051332 149Requires: expat-devel >= 1.95.0
4537079d 150Requires: freexl-devel >= 1.0
9b4989ae 151Requires: geos-devel >= 2.2.0
209aac6b 152Requires: giflib-devel >= 4.0
b3cbf6a3 153Requires: hdf-devel >= 4.0
69051332 154Requires: hdf5-devel
b3cbf6a3 155Requires: jasper-devel
d4d7a2c6 156Requires: libcsf-devel
4058fbc3 157Requires: libdap-devel >= 3.10
b3cbf6a3 158Requires: libgeotiff-devel >= 1.2.1
209aac6b
JB
159%{?with_gta:Requires: libgta-devel}
160Requires: libjpeg-devel >= 6b
e354fe40 161Requires: libpng-devel >= 2:1.2.8
4537079d 162%{?with_spatialite:Requires: libspatialite-devel}
b3cbf6a3 163Requires: libstdc++-devel
954ec354 164Requires: libtiff-devel >= 4.0
209aac6b
JB
165Requires: libuuid-devel
166Requires: libwebp-devel
167Requires: libxml2-devel
d3d190a4 168%{?with_mysql:Requires: mysql-devel}
9b4989ae 169Requires: netcdf-devel >= 4
b3cbf6a3 170Requires: ogdi-devel >= 3.1
954ec354 171#Requires: pcidsk-devel > 0.3
209aac6b
JB
172%{?with_podofo:Requires: podofo-devel}
173%{?with_poppler:Requires: poppler-devel}
b3cbf6a3 174Requires: postgresql-devel
209aac6b 175Requires: proj-devel >= 4
9b4989ae 176Requires: sqlite3-devel >= 3.0.0
655672e5 177%{?with_odbc:Requires: unixODBC-devel}
69051332 178%{?with_xerces:Requires: xerces-c-devel >= 2.7.0}
209aac6b
JB
179Requires: xz-devel
180Requires: zlib-devel >= 1.1.4
6b59fa88
JB
181
182%description devel
183GDAL library header files.
184
d34f2ec8
JR
185%description devel -l pl.UTF-8
186Pliki nagłówkowe biblioteki GDAL.
6b59fa88
JB
187
188%package static
189Summary: GDAL static libraries
a28c1bee 190Summary(pl.UTF-8): Statyczne biblioteki GDAL
6b59fa88 191Group: Development/Libraries
1673a634 192Requires: %{name}-devel = %{version}-%{release}
6b59fa88
JB
193
194%description static
195GDAL static libraries.
196
d34f2ec8 197%description static -l pl.UTF-8
6b59fa88
JB
198Statyczne biblioteki GDAL.
199
a0ffd9c4
JB
200%package -n perl-gdal
201Summary: Perl bindings for GDAL
202Summary(pl.UTF-8): Wiązania Perla do pakietu GDAL
203Group: Development/Languages/Perl
204Requires: %{name} = %{version}-%{release}
205
206%description -n perl-gdal
207Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules.
208
209%description -n perl-gdal -l pl.UTF-8
017b03bb 210Wiązania Perla do pakietu GDAL - moduły Geo::GDAL, Geo::OGR, Geo::OSR.
a0ffd9c4 211
9b4989ae
JB
212%package -n php-gdal
213Summary: PHP bindings for GDAL library
214Summary(pl.UTF-8): Wiązania PHP do biblioteki GDAL
215Group: Development/Languages/PHP
216Requires: %{name} = %{version}-%{release}
217%{?requires_php_extension}
218
219%description -n php-gdal
220PHP bindings for GDAL library
221
222%description -n php-gdal -l pl.UTF-8
223Wiązania PHP do biblioteki GDAL.
224
6b59fa88
JB
225%package -n python-gdal
226Summary: GDAL Python module
a28c1bee 227Summary(pl.UTF-8): Moduł Pythona GDAL
6b59fa88 228Group: Libraries/Python
1673a634 229Requires: %{name} = %{version}-%{release}
faf2b39a 230%pyrequires_eq python-libs
6b59fa88
JB
231
232%description -n python-gdal
233GDAL Python module.
234
d34f2ec8
JR
235%description -n python-gdal -l pl.UTF-8
236Moduł Pythona GDAL.
6b59fa88 237
a0ffd9c4
JB
238%package -n ruby-gdal
239Summary: Ruby bindings for GDAL
240Summary(pl.UTF-8): Wiązania języka Ruby do pakietu GDAL
241Group: Development/Languages
242Requires: %{name} = %{version}-%{release}
243%{?ruby_mod_ver_requires_eq}
244
245%description -n ruby-gdal
246Ruby bindings for GDAL - gdal, gdalconst, ogr and osr modules.
247
248%description -n ruby-gdal -l pl.UTF-8
017b03bb
ER
249Wiązania języka Ruby do pakietu GDAL - moduły gdal, gdalconst, ogr i
250osr.
a0ffd9c4 251
faf5649c
JB
252%prep
253%setup -q
254%patch0 -p1
255%patch1 -p1
f1b5abea
JB
256%patch2 -p1
257%patch3 -p1
69051332
JB
258
259# need to regenerate (old ones don't support perl 5.10)
4058fbc3 260%{__rm} swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}
f5a12c65 261
4058fbc3 262%{__rm} -r man
4ed54fac 263
b88bb9ef
JB
264%{__sed} -i -e 's,DODS_INC="-I.*,DODS_INC="$(pkg-config --cflags libdap)",' configure.in
265
faf5649c 266%build
69051332 267%{__libtoolize}
69051332 268%{__aclocal} -I m4
faf5649c 269%{__autoconf}
69051332 270# disable grass/libgrass here, it can be built from separate gdal-grass package
6b59fa88 271%configure \
5014b82a 272 --datadir=%{_datadir}/gdal \
d4d7a2c6 273 --with-dods-root=/usr \
d3d190a4 274 %{?with_armadillo:--with-armadillo} \
209aac6b 275 %{?with_epsilon:--with-epsilon} \
b88bb9ef 276 %{!?with_gta:--without-gta} \
69051332 277 --with-hide-internal-symbols \
9b4989ae
JB
278 %{?with_java:--with-java=%{java_home}} \
279 --with-liblzma \
209aac6b 280 %{?with_java:--with-mdb --with-jvm-lib-add-rpath} \
d3d190a4
JB
281 %{?with_mysql:--with-mysql} \
282 %{?with_opencl:--with-opencl} \
a0ffd9c4 283 --with-perl \
9b4989ae 284 %{?with_php:--with-php} \
fac7da6f
JB
285 %{?with_podofo:--with-podofo} \
286 %{?with_poppler:--with-poppler} \
69051332 287 --with-python \
4aafe7c0 288 %{?with_ruby:--with-ruby} \
4537079d 289 %{?with_spatialite:--with-spatialite} \
69051332 290 --with-sqlite3 \
9b4989ae 291 --with-webp \
655672e5 292 %{?with_xerces:--with-xerces} \
6b59fa88 293 --with-xerces-inc=/usr/include/xercesc \
80faacbe 294 --with-xerces-lib="-lxerces-c" \
a3027d62 295 --without-grass \
69051332 296 --without-libgrass
d3d190a4 297# --with-rasdaman
954ec354 298# --with-pcidsk=/usr (needs > 0.3)
69051332 299# csharp builds, but has no configure option
faf5649c 300
69051332 301# regenerate where needed
825dc3dc 302%{__make} -j1 -C swig/perl generate
961f0000 303%{?with_ruby:%{__make} -j1 -C swig/ruby generate}
69051332 304
825dc3dc 305%{__make} -j1
a0ffd9c4 306
825dc3dc 307%{__make} -j1 docs
3a591acf 308
f5a12c65
JK
309%{__make} -j1 man
310
faf5649c
JB
311%install
312rm -rf $RPM_BUILD_ROOT
faf5649c 313
825dc3dc 314%{__make} -j1 install install-man \
3a591acf
JB
315 DESTDIR=$RPM_BUILD_ROOT
316
388b39cb
ER
317rm -rf _html
318cp -a html _html
319cp -a ogr/html _html/ogr
faf5649c 320
9b4989ae
JB
321%if %{with php}
322# missing in make install
323install -D swig/php/php_gdal.so $RPM_BUILD_ROOT%{php_extensiondir}/gdal.so
324install -D swig/php/php_gdalconst.so $RPM_BUILD_ROOT%{php_extensiondir}/gdalconst.so
325install -D swig/php/php_ogr.so $RPM_BUILD_ROOT%{php_extensiondir}/ogr.so
326install -D swig/php/php_osr.so $RPM_BUILD_ROOT%{php_extensiondir}/osr.so
327install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
328cat <<'EOF' >$RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/gdal.ini
329; Enable gdal extension module
330extension=gdal.so
331extension=gdalconst.so
332extension=ogr.so
333extension=osr.so
334EOF
335%endif
336
374370d5
JB
337%py_comp $RPM_BUILD_ROOT%{py_sitedir}
338%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
339%py_postclean
5014b82a 340
017b03bb
ER
341%{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
342%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/GDAL/.packlist
343%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist
344%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/OGR/.packlist
345%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/OSR/.packlist
346
347# some doxygen trash
954ec354 348%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/{GDAL.dox,GDAL/Const.dox,OGR.dox,OSR.dox}
9b4989ae 349%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/check_dox.pl
954ec354 350%{__rm} $RPM_BUILD_ROOT%{_bindir}/gdal_{fillnodata,sieve}.dox
017b03bb 351
faf5649c
JB
352%clean
353rm -rf $RPM_BUILD_ROOT
354
6b59fa88
JB
355%post -p /sbin/ldconfig
356%postun -p /sbin/ldconfig
357
faf5649c
JB
358%files
359%defattr(644,root,root,755)
c0a384ef 360%doc NEWS PROVENANCE.TXT
4058fbc3
JB
361%attr(755,root,root) %{_bindir}/epsg_tr.py
362%attr(755,root,root) %{_bindir}/esri2wkt.py
363%attr(755,root,root) %{_bindir}/gcps2vec.py
364%attr(755,root,root) %{_bindir}/gcps2wld.py
365%attr(755,root,root) %{_bindir}/gdal2tiles.py
366%attr(755,root,root) %{_bindir}/gdal2xyz.py
367%attr(755,root,root) %{_bindir}/gdal_contour
954ec354 368%attr(755,root,root) %{_bindir}/gdal_calc.py
4058fbc3
JB
369%attr(755,root,root) %{_bindir}/gdal_fillnodata.py
370%attr(755,root,root) %{_bindir}/gdal_grid
371%attr(755,root,root) %{_bindir}/gdal_merge.py
372%attr(755,root,root) %{_bindir}/gdal_polygonize.py
373%attr(755,root,root) %{_bindir}/gdal_proximity.py
374%attr(755,root,root) %{_bindir}/gdal_rasterize
375%attr(755,root,root) %{_bindir}/gdal_retile.py
376%attr(755,root,root) %{_bindir}/gdal_sieve.py
377%attr(755,root,root) %{_bindir}/gdal_translate
378%attr(755,root,root) %{_bindir}/gdaladdo
379%attr(755,root,root) %{_bindir}/gdalbuildvrt
380%attr(755,root,root) %{_bindir}/gdalchksum.py
381%attr(755,root,root) %{_bindir}/gdaldem
382%attr(755,root,root) %{_bindir}/gdalenhance
383%attr(755,root,root) %{_bindir}/gdalident.py
384%attr(755,root,root) %{_bindir}/gdalimport.py
385%attr(755,root,root) %{_bindir}/gdalinfo
954ec354 386%attr(755,root,root) %{_bindir}/gdallocationinfo
4058fbc3 387%attr(755,root,root) %{_bindir}/gdalmanage
9b4989ae 388%attr(755,root,root) %{_bindir}/gdalsrsinfo
4058fbc3
JB
389%attr(755,root,root) %{_bindir}/gdaltindex
390%attr(755,root,root) %{_bindir}/gdaltransform
391%attr(755,root,root) %{_bindir}/gdalwarp
392%attr(755,root,root) %{_bindir}/mkgraticule.py
393%attr(755,root,root) %{_bindir}/nearblack
394%attr(755,root,root) %{_bindir}/ogr2ogr
395%attr(755,root,root) %{_bindir}/ogrinfo
396%attr(755,root,root) %{_bindir}/ogrtindex
397%attr(755,root,root) %{_bindir}/pct2rgb.py
398%attr(755,root,root) %{_bindir}/rgb2pct.py
399%attr(755,root,root) %{_bindir}/testepsg
5014b82a 400%attr(755,root,root) %{_libdir}/libgdal.so.*.*.*
017b03bb 401%attr(755,root,root) %ghost %{_libdir}/libgdal.so.1
6b59fa88 402%{_datadir}/gdal
4058fbc3
JB
403%{_mandir}/man1/gdal2tiles.1*
404%{_mandir}/man1/gdal_contour.1*
405%{_mandir}/man1/gdal_fillnodata.1*
406%{_mandir}/man1/gdal_grid.1*
407%{_mandir}/man1/gdal_merge.1*
408%{_mandir}/man1/gdal_rasterize.1*
409%{_mandir}/man1/gdal_retile.1*
410%{_mandir}/man1/gdal_sieve.1*
411%{_mandir}/man1/gdal_translate.1*
412%{_mandir}/man1/gdal_utilities.1*
413%{_mandir}/man1/gdaladdo.1*
414%{_mandir}/man1/gdalbuildvrt.1*
415%{_mandir}/man1/gdaldem.1*
416%{_mandir}/man1/gdalinfo.1*
954ec354 417%{_mandir}/man1/gdallocationinfo.1*
9b4989ae 418%{_mandir}/man1/gdalsrsinfo.1*
4058fbc3
JB
419%{_mandir}/man1/gdaltindex.1*
420%{_mandir}/man1/gdaltransform.1*
421%{_mandir}/man1/gdalwarp.1*
422%{_mandir}/man1/nearblack.1*
423%{_mandir}/man1/ogr2ogr.1*
424%{_mandir}/man1/ogr_utilities.1*
425%{_mandir}/man1/ogrinfo.1*
426%{_mandir}/man1/ogrtindex.1*
427%{_mandir}/man1/pct2rgb.1*
428%{_mandir}/man1/rgb2pct.1*
6b59fa88
JB
429
430%files devel
431%defattr(644,root,root,755)
388b39cb 432%doc _html/*
5014b82a 433%attr(755,root,root) %{_bindir}/gdal-config
6b59fa88 434%attr(755,root,root) %{_libdir}/libgdal.so
5014b82a 435%{_libdir}/libgdal.la
4058fbc3
JB
436%{_includedir}/cpl_*.h
437%{_includedir}/cplkeywordparser.h
438%{_includedir}/gdal*.h
439%{_includedir}/gvgcpfit.h
440%{_includedir}/memdataset.h
441%{_includedir}/ogr_*.h
442%{_includedir}/ogrsf_frmts.h
443%{_includedir}/rawdataset.h
444%{_includedir}/thinplatespline.h
445%{_includedir}/vrtdataset.h
5014b82a 446%{_mandir}/man1/gdal-config.1*
6b59fa88
JB
447
448%files static
449%defattr(644,root,root,755)
9b5c0fd4 450%{_libdir}/libgdal.a
6b59fa88 451
a0ffd9c4
JB
452%files -n perl-gdal
453%defattr(644,root,root,755)
454%dir %{perl_vendorarch}/Geo
455%{perl_vendorarch}/Geo/GDAL.pm
456%dir %{perl_vendorarch}/Geo/GDAL
457%{perl_vendorarch}/Geo/GDAL/Const.pm
458%{perl_vendorarch}/Geo/OGR.pm
459%{perl_vendorarch}/Geo/OSR.pm
460%dir %{perl_vendorarch}/auto/Geo
461%dir %{perl_vendorarch}/auto/Geo/GDAL
462%{perl_vendorarch}/auto/Geo/GDAL/GDAL.bs
463%attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/GDAL.so
464%dir %{perl_vendorarch}/auto/Geo/GDAL/Const
465%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.bs
466%attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
467%dir %{perl_vendorarch}/auto/Geo/OGR
468%{perl_vendorarch}/auto/Geo/OGR/OGR.bs
469%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OGR/OGR.so
470%dir %{perl_vendorarch}/auto/Geo/OSR
471%{perl_vendorarch}/auto/Geo/OSR/OSR.bs
472%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so
473
9b4989ae
JB
474%if %{with php}
475%files -n php-gdal
476%defattr(644,root,root,755)
477%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/gdal.ini
478%attr(755,root,root) %{php_extensiondir}/gdal.so
479%attr(755,root,root) %{php_extensiondir}/gdalconst.so
480%attr(755,root,root) %{php_extensiondir}/ogr.so
481%attr(755,root,root) %{php_extensiondir}/osr.so
482%endif
483
6b59fa88
JB
484%files -n python-gdal
485%defattr(644,root,root,755)
9a2dbbce
JB
486%{py_sitedir}/gdal.py[co]
487%{py_sitedir}/gdalconst.py[co]
488%{py_sitedir}/gdalnumeric.py[co]
9a2dbbce
JB
489%{py_sitedir}/ogr.py[co]
490%{py_sitedir}/osr.py[co]
69051332
JB
491%{py_sitedir}/GDAL-*.egg-info
492%dir %{py_sitedir}/osgeo
493%attr(755,root,root) %{py_sitedir}/osgeo/_gdal.so
494%attr(755,root,root) %{py_sitedir}/osgeo/_gdal_array.so
495%attr(755,root,root) %{py_sitedir}/osgeo/_gdalconst.so
496%attr(755,root,root) %{py_sitedir}/osgeo/_ogr.so
497%attr(755,root,root) %{py_sitedir}/osgeo/_osr.so
498%{py_sitedir}/osgeo/*.py[co]
a0ffd9c4 499
4aafe7c0 500%if %{with ruby}
a0ffd9c4
JB
501%files -n ruby-gdal
502%defattr(644,root,root,755)
503%dir %{ruby_sitearchdir}/gdal
504%attr(755,root,root) %{ruby_sitearchdir}/gdal/gdal.so
505%attr(755,root,root) %{ruby_sitearchdir}/gdal/gdalconst.so
506%attr(755,root,root) %{ruby_sitearchdir}/gdal/ogr.so
507%attr(755,root,root) %{ruby_sitearchdir}/gdal/osr.so
4aafe7c0 508%endif
This page took 0.143369 seconds and 4 git commands to generate.