]> git.pld-linux.org Git - packages/gdal.git/commitdiff
- added podofo as bcond (default is poppler)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Jan 2012 06:19:47 +0000 (06:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdal.spec -> 1.98

gdal.spec

index add279082dda92cd7c7fc47188852d88864ee1c0..a2596e90755af34b616ca76aa7bef16021173a97 100644 (file)
--- a/gdal.spec
+++ b/gdal.spec
@@ -1,5 +1,4 @@
 # TODO:
-# - podofo (--with-podofo)
 # - epsilon (--with-epsilon; BR: epsilon-devel from Enlightenment)
 # - libgta (http://gta.nongnu.org/libgta.html)
 # - spatialite (--with-spatialite; libspatialite: http://www.gaia-gis.it/gaia-sins/)
 #
 # Conditional build:
 %bcond_without odbc    # disable odbc support
+%bcond_with    podofo  # PDF support via podofo instead of poppler
+%bcond_without poppler # PDF support via poppler
 %bcond_without xerces  # disable xerces support
 %bcond_without java    # disable Java and MDB support
 %bcond_without php     # disable PHP bindind
 %bcond_without ruby    # disable ruby binding
 #
+%if %{with podofo}
+%undefine      with_poppler
+%endif
 Summary:       Geospatial Data Abstraction Library
 Summary(pl.UTF-8):     Biblioteka abstrakcji danych dotyczÄ…cych powierzchni Ziemi
 Name:          gdal
@@ -77,7 +81,8 @@ BuildRequires:        ogdi-devel >= 3.1
 #BuildRequires:        pcidsk-devel > 0.3
 BuildRequires: perl-devel
 %{?with_php:BuildRequires:     php-devel}
-BuildRequires: poppler-devel
+%{?with_podofo:BuildRequires:  podofo-devel}
+%{?with_poppler:BuildRequires: poppler-devel}
 # ensure it's compiled with PQescapeStringConn support
 BuildRequires: postgresql-backend-devel >= 8.1.4
 BuildRequires: postgresql-devel >= 8.1.4
@@ -249,7 +254,8 @@ osr.
        %{?with_java:--with-mdb} \
        --with-perl \
        %{?with_php:--with-php} \
-       --with-poppler \
+       %{?with_podofo:--with-podofo} \
+       %{?with_poppler:--with-poppler} \
        --with-python \
        %{?with_ruby:--with-ruby} \
        --with-sqlite3 \
This page took 0.034108 seconds and 4 git commands to generate.