]>
Commit | Line | Data |
---|---|---|
f5a12c65 | 1 | # TODO: csharp, java, mysql |
655672e5 | 2 | # |
3 | # Conditional build: | |
4 | %bcond_without odbc # disable odbc support | |
5 | %bcond_without xerces # disable xerces support | |
4aafe7c0 | 6 | %bcond_without ruby # disable ruby support |
655672e5 | 7 | # |
faf5649c | 8 | Summary: Geospatial Data Abstraction Library |
a28c1bee | 9 | Summary(pl.UTF-8): Biblioteka abstrakcji danych dotyczących powierzchni Ziemi |
faf5649c | 10 | Name: gdal |
05894287 | 11 | Version: 1.7.3 |
dfa3b84a | 12 | Release: 11 |
faf5649c JB |
13 | License: BSD-like |
14 | Group: Libraries | |
c82ea5ef | 15 | Source0: ftp://ftp.remotesensing.org/gdal/%{name}-%{version}.tar.gz |
05894287 | 16 | # Source0-md5: c4673970bd2285032de9ae9bbd82754a |
f5a12c65 JK |
17 | Patch0: %{name}-perl.patch |
18 | Patch1: %{name}-ruby.patch | |
19 | Patch2: %{name}-asneeded.patch | |
20 | Patch3: %{name}-python_install.patch | |
4058fbc3 | 21 | Patch4: %{name}-libdap.patch |
9d161bc4 | 22 | Patch5: %{name}-doxy.patch |
9b5c0fd4 | 23 | URL: http://www.gdal.org/ |
69051332 JB |
24 | BuildRequires: autoconf >= 2.52 |
25 | BuildRequires: automake | |
6b59fa88 | 26 | BuildRequires: cfitsio-devel |
9d161bc4 | 27 | BuildRequires: doxygen >= 1.4.2 |
69051332 | 28 | BuildRequires: expat-devel >= 1.95.0 |
4058fbc3 | 29 | BuildRequires: geos-devel >= 2.2 |
b459f4d7 | 30 | BuildRequires: giflib-devel >= 4.0 |
6b59fa88 | 31 | BuildRequires: hdf-devel >= 4.0 |
69051332 | 32 | BuildRequires: hdf5-devel |
6b59fa88 | 33 | BuildRequires: jasper-devel |
d4d7a2c6 | 34 | BuildRequires: libcsf-devel |
4058fbc3 | 35 | BuildRequires: libdap-devel >= 3.10 |
b3cbf6a3 | 36 | BuildRequires: libgeotiff-devel >= 1.2.1 |
6b59fa88 | 37 | BuildRequires: libjpeg-devel >= 6b |
e354fe40 | 38 | BuildRequires: libpng-devel >= 2:1.2.8 |
b3cbf6a3 | 39 | BuildRequires: libstdc++-devel |
6b59fa88 | 40 | BuildRequires: libtiff-devel >= 3.6.0 |
69051332 | 41 | BuildRequires: libtool |
e2b089e1 | 42 | BuildRequires: libuuid-devel |
43 | BuildRequires: libxml2-devel | |
b3cbf6a3 | 44 | BuildRequires: netcdf-devel |
6b59fa88 | 45 | BuildRequires: ogdi-devel >= 3.1 |
05894287 | 46 | BuildRequires: pcidsk-devel |
a0ffd9c4 | 47 | BuildRequires: perl-devel |
faf5649c | 48 | BuildRequires: postgresql-backend-devel |
017b03bb | 49 | BuildRequires: postgresql-devel |
d05dc9bc | 50 | BuildRequires: proj-devel |
9a2dbbce | 51 | BuildRequires: python-devel >= 1:2.5 |
017b03bb | 52 | BuildRequires: python-numpy-devel >= 1:1.0.0 |
479cb83c | 53 | BuildRequires: rpm-pythonprov |
4aafe7c0 | 54 | %{?with_ruby:BuildRequires: ruby-devel} |
d4d7a2c6 | 55 | BuildRequires: sqlite3-devel >= 3 |
479cb83c | 56 | BuildRequires: swig-perl |
9a2dbbce | 57 | BuildRequires: swig-python >= 1.3 |
017b03bb | 58 | %{?with_ruby:BuildRequires: swig-ruby} |
db38e4ab | 59 | %if "%{pld_release}" == "ti" |
60 | BuildRequires: tetex-format-latex | |
61 | BuildRequires: tetex-dvips | |
62 | %else | |
479cb83c | 63 | BuildRequires: texlive-dvips |
64 | BuildRequires: texlive-latex | |
db38e4ab | 65 | %endif |
9831286f | 66 | %{?with_odbc:BuildRequires: unixODBC-devel >= 2.2.15} |
655672e5 | 67 | %{?with_xerces:BuildRequires: xerces-c-devel >= 2.2.0} |
faf5649c | 68 | BuildRequires: zlib-devel >= 1.1.4 |
4058fbc3 | 69 | Requires: geos >= 2.2 |
b3cbf6a3 | 70 | Requires: libgeotiff >= 1.2.1 |
e354fe40 | 71 | Requires: libpng >= 2:1.2.8 |
b3cbf6a3 | 72 | Requires: libtiff >= 3.6.0 |
faf5649c JB |
73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
75 | %description | |
76 | GDAL is a translator library for raster geospatial data formats that | |
77 | is released under an Open Source license. As a library, it presents a | |
78 | single abstract data model to the calling application for all | |
79 | supported formats. The related OGR library (which lives within the | |
80 | GDAL source tree) provides a similar capability for simple features | |
81 | vector data. | |
f05c79e8 | 82 | |
d34f2ec8 JR |
83 | %description -l pl.UTF-8 |
84 | GDAL to biblioteka konwertująca między formatami rastrowych danych | |
85 | dotyczących powierzchni Ziemi, udostępniona na licencji Open Source. | |
86 | Jako biblioteka udostępnia aplikacjom jeden abstrakcyjny model danych | |
87 | do wszystkich obsługiwanych formatów. Powiązana z nią biblioteka OGR | |
88 | (której źródła są dołączone do drzewa źródeł GDAL) daje podobne | |
89 | możliwości dla danych wektorowych. | |
faf5649c | 90 | |
6b59fa88 JB |
91 | %package devel |
92 | Summary: GDAL library header files | |
a28c1bee | 93 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GDAL |
6b59fa88 | 94 | Group: Development/Libraries |
1673a634 | 95 | Requires: %{name} = %{version}-%{release} |
b3cbf6a3 | 96 | Requires: cfitsio-devel |
69051332 | 97 | Requires: expat-devel >= 1.95.0 |
4058fbc3 | 98 | Requires: geos-devel >= 2.2 |
b459f4d7 | 99 | Requires: giflib-devel |
b3cbf6a3 | 100 | Requires: hdf-devel >= 4.0 |
69051332 | 101 | Requires: hdf5-devel |
b3cbf6a3 | 102 | Requires: jasper-devel |
d4d7a2c6 | 103 | Requires: libcsf-devel |
4058fbc3 | 104 | Requires: libdap-devel >= 3.10 |
b3cbf6a3 JB |
105 | Requires: libgeotiff-devel >= 1.2.1 |
106 | Requires: libjpeg-devel | |
e354fe40 | 107 | Requires: libpng-devel >= 2:1.2.8 |
b3cbf6a3 JB |
108 | Requires: libstdc++-devel |
109 | Requires: libtiff-devel >= 3.6.0 | |
b3cbf6a3 JB |
110 | Requires: netcdf-devel |
111 | Requires: ogdi-devel >= 3.1 | |
05894287 | 112 | Requires: pcidsk-devel |
b3cbf6a3 | 113 | Requires: postgresql-devel |
d4d7a2c6 | 114 | Requires: sqlite3-devel >= 3 |
655672e5 | 115 | %{?with_odbc:Requires: unixODBC-devel} |
69051332 | 116 | %{?with_xerces:Requires: xerces-c-devel >= 2.7.0} |
6b59fa88 JB |
117 | |
118 | %description devel | |
119 | GDAL library header files. | |
120 | ||
d34f2ec8 JR |
121 | %description devel -l pl.UTF-8 |
122 | Pliki nagłówkowe biblioteki GDAL. | |
6b59fa88 JB |
123 | |
124 | %package static | |
125 | Summary: GDAL static libraries | |
a28c1bee | 126 | Summary(pl.UTF-8): Statyczne biblioteki GDAL |
6b59fa88 | 127 | Group: Development/Libraries |
1673a634 | 128 | Requires: %{name}-devel = %{version}-%{release} |
6b59fa88 JB |
129 | |
130 | %description static | |
131 | GDAL static libraries. | |
132 | ||
d34f2ec8 | 133 | %description static -l pl.UTF-8 |
6b59fa88 JB |
134 | Statyczne biblioteki GDAL. |
135 | ||
a0ffd9c4 JB |
136 | %package -n perl-gdal |
137 | Summary: Perl bindings for GDAL | |
138 | Summary(pl.UTF-8): Wiązania Perla do pakietu GDAL | |
139 | Group: Development/Languages/Perl | |
140 | Requires: %{name} = %{version}-%{release} | |
141 | ||
142 | %description -n perl-gdal | |
143 | Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules. | |
144 | ||
145 | %description -n perl-gdal -l pl.UTF-8 | |
017b03bb | 146 | Wiązania Perla do pakietu GDAL - moduły Geo::GDAL, Geo::OGR, Geo::OSR. |
a0ffd9c4 | 147 | |
6b59fa88 JB |
148 | %package -n python-gdal |
149 | Summary: GDAL Python module | |
a28c1bee | 150 | Summary(pl.UTF-8): Moduł Pythona GDAL |
6b59fa88 | 151 | Group: Libraries/Python |
1673a634 | 152 | Requires: %{name} = %{version}-%{release} |
faf2b39a | 153 | %pyrequires_eq python-libs |
6b59fa88 JB |
154 | |
155 | %description -n python-gdal | |
156 | GDAL Python module. | |
157 | ||
d34f2ec8 JR |
158 | %description -n python-gdal -l pl.UTF-8 |
159 | Moduł Pythona GDAL. | |
6b59fa88 | 160 | |
a0ffd9c4 JB |
161 | %package -n ruby-gdal |
162 | Summary: Ruby bindings for GDAL | |
163 | Summary(pl.UTF-8): Wiązania języka Ruby do pakietu GDAL | |
164 | Group: Development/Languages | |
165 | Requires: %{name} = %{version}-%{release} | |
166 | %{?ruby_mod_ver_requires_eq} | |
167 | ||
168 | %description -n ruby-gdal | |
169 | Ruby bindings for GDAL - gdal, gdalconst, ogr and osr modules. | |
170 | ||
171 | %description -n ruby-gdal -l pl.UTF-8 | |
017b03bb ER |
172 | Wiązania języka Ruby do pakietu GDAL - moduły gdal, gdalconst, ogr i |
173 | osr. | |
a0ffd9c4 | 174 | |
faf5649c JB |
175 | %prep |
176 | %setup -q | |
177 | %patch0 -p1 | |
178 | %patch1 -p1 | |
a0ffd9c4 | 179 | %patch2 -p1 |
69051332 | 180 | %patch3 -p1 |
4058fbc3 | 181 | %patch4 -p1 |
9d161bc4 | 182 | %patch5 -p1 |
69051332 JB |
183 | |
184 | # need to regenerate (old ones don't support perl 5.10) | |
4058fbc3 | 185 | %{__rm} swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp} |
f5a12c65 | 186 | # includes updated for Ruby 1.9 |
4058fbc3 | 187 | %{__rm} swig/ruby/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp} |
f5a12c65 | 188 | |
4058fbc3 | 189 | %{__rm} -r man |
4ed54fac | 190 | |
faf5649c | 191 | %build |
69051332 | 192 | # $PYTHON_INCLUDES is set only with --with-ogpython, but we have --with-python, |
017b03bb ER |
193 | # and $PYTHON_INCLUDES is needed to detect numpy properly |
194 | export PYTHON_INCLUDES=-I%{py_incdir} | |
195 | ||
69051332 | 196 | %{__libtoolize} |
69051332 | 197 | %{__aclocal} -I m4 |
faf5649c | 198 | %{__autoconf} |
69051332 | 199 | # disable grass/libgrass here, it can be built from separate gdal-grass package |
6b59fa88 | 200 | %configure \ |
5014b82a | 201 | --datadir=%{_datadir}/gdal \ |
d4d7a2c6 | 202 | --with-dods-root=/usr \ |
69051332 | 203 | --with-hide-internal-symbols \ |
05894287 | 204 | --with-pcidsk=/usr \ |
a0ffd9c4 | 205 | --with-perl \ |
69051332 | 206 | --with-python \ |
4aafe7c0 | 207 | %{?with_ruby:--with-ruby} \ |
69051332 | 208 | --with-sqlite3 \ |
655672e5 | 209 | %{?with_xerces:--with-xerces} \ |
6b59fa88 | 210 | --with-xerces-inc=/usr/include/xercesc \ |
80faacbe | 211 | --with-xerces-lib="-lxerces-c" \ |
a3027d62 | 212 | --without-grass \ |
69051332 | 213 | --without-libgrass |
a0ffd9c4 | 214 | # --with-php needs Zend API update |
69051332 JB |
215 | # java broken, no configure option |
216 | # csharp builds, but has no configure option | |
faf5649c | 217 | |
69051332 | 218 | # regenerate where needed |
825dc3dc | 219 | %{__make} -j1 -C swig/perl generate |
961f0000 | 220 | %{?with_ruby:%{__make} -j1 -C swig/ruby generate} |
69051332 | 221 | |
825dc3dc | 222 | %{__make} -j1 |
a0ffd9c4 | 223 | |
825dc3dc | 224 | %{__make} -j1 docs |
3a591acf | 225 | |
f5a12c65 JK |
226 | %{__make} -j1 man |
227 | ||
faf5649c JB |
228 | %install |
229 | rm -rf $RPM_BUILD_ROOT | |
faf5649c | 230 | |
825dc3dc | 231 | %{__make} -j1 install install-man \ |
3a591acf JB |
232 | DESTDIR=$RPM_BUILD_ROOT |
233 | ||
388b39cb ER |
234 | rm -rf _html |
235 | cp -a html _html | |
236 | cp -a ogr/html _html/ogr | |
faf5649c | 237 | |
374370d5 JB |
238 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
239 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
240 | %py_postclean | |
5014b82a | 241 | |
017b03bb ER |
242 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
243 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/GDAL/.packlist | |
244 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist | |
245 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/OGR/.packlist | |
246 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Geo/OSR/.packlist | |
247 | ||
248 | # some doxygen trash | |
249 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/GDAL.dox | |
250 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/GDAL/Const.dox | |
251 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/OGR.dox | |
252 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Geo/OSR.dox | |
253 | ||
ac627b1d | 254 | %if %{with ruby} |
69051332 | 255 | %{__rm} $RPM_BUILD_ROOT%{ruby_sitearchdir}/gdal/*.la |
ac627b1d | 256 | %endif |
69051332 | 257 | |
faf5649c JB |
258 | %clean |
259 | rm -rf $RPM_BUILD_ROOT | |
260 | ||
6b59fa88 JB |
261 | %post -p /sbin/ldconfig |
262 | %postun -p /sbin/ldconfig | |
263 | ||
faf5649c JB |
264 | %files |
265 | %defattr(644,root,root,755) | |
c0a384ef | 266 | %doc NEWS PROVENANCE.TXT |
4058fbc3 JB |
267 | %attr(755,root,root) %{_bindir}/epsg_tr.py |
268 | %attr(755,root,root) %{_bindir}/esri2wkt.py | |
269 | %attr(755,root,root) %{_bindir}/gcps2vec.py | |
270 | %attr(755,root,root) %{_bindir}/gcps2wld.py | |
271 | %attr(755,root,root) %{_bindir}/gdal2tiles.py | |
272 | %attr(755,root,root) %{_bindir}/gdal2xyz.py | |
273 | %attr(755,root,root) %{_bindir}/gdal_contour | |
274 | %attr(755,root,root) %{_bindir}/gdal_fillnodata.py | |
275 | %attr(755,root,root) %{_bindir}/gdal_grid | |
276 | %attr(755,root,root) %{_bindir}/gdal_merge.py | |
277 | %attr(755,root,root) %{_bindir}/gdal_polygonize.py | |
278 | %attr(755,root,root) %{_bindir}/gdal_proximity.py | |
279 | %attr(755,root,root) %{_bindir}/gdal_rasterize | |
280 | %attr(755,root,root) %{_bindir}/gdal_retile.py | |
281 | %attr(755,root,root) %{_bindir}/gdal_sieve.py | |
282 | %attr(755,root,root) %{_bindir}/gdal_translate | |
283 | %attr(755,root,root) %{_bindir}/gdaladdo | |
284 | %attr(755,root,root) %{_bindir}/gdalbuildvrt | |
285 | %attr(755,root,root) %{_bindir}/gdalchksum.py | |
286 | %attr(755,root,root) %{_bindir}/gdaldem | |
287 | %attr(755,root,root) %{_bindir}/gdalenhance | |
288 | %attr(755,root,root) %{_bindir}/gdalident.py | |
289 | %attr(755,root,root) %{_bindir}/gdalimport.py | |
290 | %attr(755,root,root) %{_bindir}/gdalinfo | |
291 | %attr(755,root,root) %{_bindir}/gdalmanage | |
292 | %attr(755,root,root) %{_bindir}/gdaltindex | |
293 | %attr(755,root,root) %{_bindir}/gdaltransform | |
294 | %attr(755,root,root) %{_bindir}/gdalwarp | |
295 | %attr(755,root,root) %{_bindir}/mkgraticule.py | |
296 | %attr(755,root,root) %{_bindir}/nearblack | |
297 | %attr(755,root,root) %{_bindir}/ogr2ogr | |
298 | %attr(755,root,root) %{_bindir}/ogrinfo | |
299 | %attr(755,root,root) %{_bindir}/ogrtindex | |
300 | %attr(755,root,root) %{_bindir}/pct2rgb.py | |
301 | %attr(755,root,root) %{_bindir}/rgb2pct.py | |
302 | %attr(755,root,root) %{_bindir}/testepsg | |
5014b82a | 303 | %attr(755,root,root) %{_libdir}/libgdal.so.*.*.* |
017b03bb | 304 | %attr(755,root,root) %ghost %{_libdir}/libgdal.so.1 |
6b59fa88 | 305 | %{_datadir}/gdal |
4058fbc3 JB |
306 | %{_mandir}/man1/gdal2tiles.1* |
307 | %{_mandir}/man1/gdal_contour.1* | |
308 | %{_mandir}/man1/gdal_fillnodata.1* | |
309 | %{_mandir}/man1/gdal_grid.1* | |
310 | %{_mandir}/man1/gdal_merge.1* | |
311 | %{_mandir}/man1/gdal_rasterize.1* | |
312 | %{_mandir}/man1/gdal_retile.1* | |
313 | %{_mandir}/man1/gdal_sieve.1* | |
314 | %{_mandir}/man1/gdal_translate.1* | |
315 | %{_mandir}/man1/gdal_utilities.1* | |
316 | %{_mandir}/man1/gdaladdo.1* | |
317 | %{_mandir}/man1/gdalbuildvrt.1* | |
318 | %{_mandir}/man1/gdaldem.1* | |
319 | %{_mandir}/man1/gdalinfo.1* | |
320 | %{_mandir}/man1/gdaltindex.1* | |
321 | %{_mandir}/man1/gdaltransform.1* | |
322 | %{_mandir}/man1/gdalwarp.1* | |
323 | %{_mandir}/man1/nearblack.1* | |
324 | %{_mandir}/man1/ogr2ogr.1* | |
325 | %{_mandir}/man1/ogr_utilities.1* | |
326 | %{_mandir}/man1/ogrinfo.1* | |
327 | %{_mandir}/man1/ogrtindex.1* | |
328 | %{_mandir}/man1/pct2rgb.1* | |
329 | %{_mandir}/man1/rgb2pct.1* | |
6b59fa88 JB |
330 | |
331 | %files devel | |
332 | %defattr(644,root,root,755) | |
388b39cb | 333 | %doc _html/* |
5014b82a | 334 | %attr(755,root,root) %{_bindir}/gdal-config |
6b59fa88 | 335 | %attr(755,root,root) %{_libdir}/libgdal.so |
5014b82a | 336 | %{_libdir}/libgdal.la |
4058fbc3 JB |
337 | %{_includedir}/cpl_*.h |
338 | %{_includedir}/cplkeywordparser.h | |
339 | %{_includedir}/gdal*.h | |
340 | %{_includedir}/gvgcpfit.h | |
341 | %{_includedir}/memdataset.h | |
342 | %{_includedir}/ogr_*.h | |
343 | %{_includedir}/ogrsf_frmts.h | |
344 | %{_includedir}/rawdataset.h | |
345 | %{_includedir}/thinplatespline.h | |
346 | %{_includedir}/vrtdataset.h | |
5014b82a | 347 | %{_mandir}/man1/gdal-config.1* |
6b59fa88 JB |
348 | |
349 | %files static | |
350 | %defattr(644,root,root,755) | |
9b5c0fd4 | 351 | %{_libdir}/libgdal.a |
6b59fa88 | 352 | |
a0ffd9c4 JB |
353 | %files -n perl-gdal |
354 | %defattr(644,root,root,755) | |
355 | %dir %{perl_vendorarch}/Geo | |
356 | %{perl_vendorarch}/Geo/GDAL.pm | |
357 | %dir %{perl_vendorarch}/Geo/GDAL | |
358 | %{perl_vendorarch}/Geo/GDAL/Const.pm | |
359 | %{perl_vendorarch}/Geo/OGR.pm | |
360 | %{perl_vendorarch}/Geo/OSR.pm | |
361 | %dir %{perl_vendorarch}/auto/Geo | |
362 | %dir %{perl_vendorarch}/auto/Geo/GDAL | |
363 | %{perl_vendorarch}/auto/Geo/GDAL/GDAL.bs | |
364 | %attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/GDAL.so | |
365 | %dir %{perl_vendorarch}/auto/Geo/GDAL/Const | |
366 | %{perl_vendorarch}/auto/Geo/GDAL/Const/Const.bs | |
367 | %attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so | |
368 | %dir %{perl_vendorarch}/auto/Geo/OGR | |
369 | %{perl_vendorarch}/auto/Geo/OGR/OGR.bs | |
370 | %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OGR/OGR.so | |
371 | %dir %{perl_vendorarch}/auto/Geo/OSR | |
372 | %{perl_vendorarch}/auto/Geo/OSR/OSR.bs | |
373 | %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so | |
374 | ||
6b59fa88 JB |
375 | %files -n python-gdal |
376 | %defattr(644,root,root,755) | |
9a2dbbce JB |
377 | %{py_sitedir}/gdal.py[co] |
378 | %{py_sitedir}/gdalconst.py[co] | |
379 | %{py_sitedir}/gdalnumeric.py[co] | |
9a2dbbce JB |
380 | %{py_sitedir}/ogr.py[co] |
381 | %{py_sitedir}/osr.py[co] | |
69051332 JB |
382 | %{py_sitedir}/GDAL-*.egg-info |
383 | %dir %{py_sitedir}/osgeo | |
384 | %attr(755,root,root) %{py_sitedir}/osgeo/_gdal.so | |
385 | %attr(755,root,root) %{py_sitedir}/osgeo/_gdal_array.so | |
386 | %attr(755,root,root) %{py_sitedir}/osgeo/_gdalconst.so | |
387 | %attr(755,root,root) %{py_sitedir}/osgeo/_ogr.so | |
388 | %attr(755,root,root) %{py_sitedir}/osgeo/_osr.so | |
389 | %{py_sitedir}/osgeo/*.py[co] | |
a0ffd9c4 | 390 | |
4aafe7c0 | 391 | %if %{with ruby} |
a0ffd9c4 JB |
392 | %files -n ruby-gdal |
393 | %defattr(644,root,root,755) | |
394 | %dir %{ruby_sitearchdir}/gdal | |
395 | %attr(755,root,root) %{ruby_sitearchdir}/gdal/gdal.so | |
396 | %attr(755,root,root) %{ruby_sitearchdir}/gdal/gdalconst.so | |
397 | %attr(755,root,root) %{ruby_sitearchdir}/gdal/ogr.so | |
398 | %attr(755,root,root) %{ruby_sitearchdir}/gdal/osr.so | |
4aafe7c0 | 399 | %endif |