]> git.pld-linux.org Git - packages/gdal.git/blobdiff - gdal.spec
- release 4
[packages/gdal.git] / gdal.spec
index 15195520a4f6cebfc879a6fb2e51b9c17bcb96d4..f95ef36d8fff78d432b70ab1860dfec0835b56b7 100644 (file)
--- a/gdal.spec
+++ b/gdal.spec
@@ -1,4 +1,4 @@
-# TODO: csharp, java
+# TODO: csharp, java, mysql
 #
 # Conditional build:
 %bcond_without odbc    # disable odbc support
@@ -8,18 +8,16 @@
 Summary:       Geospatial Data Abstraction Library
 Summary(pl.UTF-8):     Biblioteka abstrakcji danych dotyczÄ…cych powierzchni Ziemi
 Name:          gdal
-Version:       1.6.1
-Release:       2
+Version:       1.7.2
+Release:       4
 License:       BSD-like
 Group:         Libraries
 Source0:       ftp://ftp.remotesensing.org/gdal/%{name}-%{version}.tar.gz
-# Source0-md5: 4059285a5cef41ff975ed0ec02a97009
-Patch0:                %{name}-dods.patch
-Patch1:                %{name}-perl.patch
-Patch2:                %{name}-ruby.patch
-Patch3:                %{name}-asneeded.patch
-Patch4:                %{name}-ogdi.patch
-Patch5:                %{name}-python_install.patch
+# Source0-md5: 05351f8cb61761ae579667e24a297fe6
+Patch0:                %{name}-perl.patch
+Patch1:                %{name}-ruby.patch
+Patch2:                %{name}-asneeded.patch
+Patch3:                %{name}-python_install.patch
 URL:           http://www.gdal.org/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -44,12 +42,22 @@ BuildRequires:      ogdi-devel >= 3.1
 BuildRequires: perl-devel
 BuildRequires: postgresql-backend-devel
 BuildRequires: postgresql-devel
+BuildRequires: proj-devel
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: python-numpy-devel >= 1:1.0.0
+BuildRequires: rpm-pythonprov
 %{?with_ruby:BuildRequires:    ruby-devel}
 BuildRequires: sqlite3-devel >= 3
+BuildRequires: swig-perl
 BuildRequires: swig-python >= 1.3
 %{?with_ruby:BuildRequires:    swig-ruby}
+%if "%{pld_release}" == "ti"
+BuildRequires: tetex-format-latex
+BuildRequires: tetex-dvips
+%else
+BuildRequires: texlive-dvips
+BuildRequires: texlive-latex
+%endif
 %{?with_odbc:BuildRequires:    unixODBC-devel}
 %{?with_xerces:BuildRequires:  xerces-c-devel >= 2.2.0}
 BuildRequires: zlib-devel >= 1.1.4
@@ -164,11 +172,13 @@ osr.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 # need to regenerate (old ones don't support perl 5.10)
 rm swig/perl/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}
+# includes updated for Ruby 1.9
+rm swig/ruby/{gdal_wrap.cpp,gdalconst_wrap.c,ogr_wrap.cpp,osr_wrap.cpp}
+
+rm -rf man
 
 %build
 # $PYTHON_INCLUDES is set only with --with-ogpython, but we have --with-python,
@@ -199,11 +209,14 @@ cp -f /usr/share/automake/config.* .
 
 # regenerate where needed
 %{__make} -j1 -C swig/perl generate
+%{__make} -j1 -C swig/ruby generate
 
 %{__make} -j1
 
 %{__make} -j1 docs
 
+%{__make} -j1 man
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.20275 seconds and 4 git commands to generate.