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