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