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