Author: tommat                       Date: Sun Aug 23 18:59:54 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- without poppler bcond

---- Files affected:
packages/cairo:
   cairo.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: packages/cairo/cairo.spec
diff -u packages/cairo/cairo.spec:1.96 packages/cairo/cairo.spec:1.97
--- packages/cairo/cairo.spec:1.96      Tue Aug 11 01:10:13 2009
+++ packages/cairo/cairo.spec   Sun Aug 23 20:59:49 2009
@@ -9,6 +9,7 @@
 %bcond_without xcb             # XCB backend
 %endif
 %bcond_with    tests           # perform tests (can fail due to out of memory)
+%bcond_without poppler         # PDF backend
 #
 Summary:       Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
@@ -31,7 +32,7 @@
 BuildRequires: libtool
 BuildRequires: pixman-devel >= 0.12.0
 BuildRequires: pkgconfig
-BuildRequires: poppler-glib-devel >= 0.8.0
+%{?with_poppler:BuildRequires: poppler-glib-devel >= 0.8.0}
 BuildRequires: rpm >= 4.4.9-56
 %if %{with xcb}
 BuildRequires: libxcb-devel >= 0.9.92
@@ -49,7 +50,7 @@
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Cairo provides anti-aliased vector-based rendering for X. Paths
+iCairo provides anti-aliased vector-based rendering for X. Paths
 consist of line segments and cubic splines and can be rendered at any
 width with various join and cap styles. All colors may be specified
 with optional translucence (opacity/alpha) and combined using the
@@ -139,7 +140,7 @@
        --enable-freetype \
        %{?with_glitz:--enable-glitz} \
        %{?with_apidocs:--enable-gtk-doc} \
-       --enable-pdf \
+       --enable-pdf=%{?with_poppler:yes}%{!?with_poppler:no} \
        --enable-png \
        --enable-ps \
        %{?with_xcb:--enable-xcb} \
@@ -175,7 +176,7 @@
 %{_includedir}/cairo
 %{_pkgconfigdir}/cairo.pc
 %{_pkgconfigdir}/cairo-ft.pc
-%{_pkgconfigdir}/cairo-pdf.pc
+%{?with_poppler:%{_pkgconfigdir}/cairo-pdf.pc}
 %{_pkgconfigdir}/cairo-png.pc
 %{_pkgconfigdir}/cairo-ps.pc
 %{_pkgconfigdir}/cairo-svg.pc
@@ -199,6 +200,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2009/08/23 18:59:49  tommat
+- without poppler bcond
+
 Revision 1.96  2009/08/10 23:10:13  hawk
 - updated to 1.8.8
 
================================================================

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

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

Reply via email to