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