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