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