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