Author: qboosh                       Date: Sun Jan 22 06:19:53 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added podofo as bcond (default is poppler)

---- Files affected:
packages/gdal:
   gdal.spec (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: packages/gdal/gdal.spec
diff -u packages/gdal/gdal.spec:1.97 packages/gdal/gdal.spec:1.98
--- packages/gdal/gdal.spec:1.97        Sat Jan 21 12:41:18 2012
+++ packages/gdal/gdal.spec     Sun Jan 22 07:19:47 2012
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
 # 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/)
@@ -28,11 +27,16 @@
 #
 # 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
@@ -78,7 +82,8 @@
 #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
@@ -250,7 +255,8 @@
        %{?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 \
@@ -478,6 +484,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2012/01/22 06:19:47  qboosh
+- added podofo as bcond (default is poppler)
+
 Revision 1.97  2012/01/21 11:41:18  qboosh
 - updated openjpeg comment
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdal/gdal.spec?r1=1.97&r2=1.98&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to