Author: qboosh                       Date: Fri Mar  4 21:33:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- License is GPL (not LGPL) - see README
- added BRs/Rs

---- Files affected:
SPECS:
   poppler.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/poppler.spec
diff -u SPECS/poppler.spec:1.3 SPECS/poppler.spec:1.4
--- SPECS/poppler.spec:1.3      Fri Mar  4 22:21:54 2005
+++ SPECS/poppler.spec  Fri Mar  4 22:33:51 2005
@@ -1,14 +1,24 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    cairo   # enable Cairo backend
+#
 Summary:       PDF rendering library
 Summary(pl):   Biblioteka renderująca PDF
 Name:          poppler
 Version:       0.1.1
 Release:       0.1
-License:       LGPL
+License:       GPL
 Group:         Libraries
 Source0:       http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
 # Source0-md5: d10982c93a1ccee79a14bb277f94990a
 URL:           http://poppler.freedesktop.org/
+%{?with_cairo:BuildRequires:   cairo-devel >= 0.3.0}
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel >= 2.0
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
+%{?with_cairo:Requires:        cairo >= 0.3.0}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,6 +34,10 @@
 Summary(pl):   Pliki nagłówkowe biblioteki Poppler
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+%{?with_cairo:Requires:        cairo-devel >= 0.3.0}
+Requires:      fontconfig-devel
+Requires:      freetype-devel >= 2.0
+Requires:      libstdc++-devel
 
 %description devel
 Header files for the Poppler library.
@@ -48,7 +62,7 @@
 
 %build
 %configure \
-       --disable-cairo-output
+       %{!?with_cairo:--disable-cairo-output}
 %{__make}
 
 %install
@@ -85,6 +99,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/03/04 21:33:51  qboosh
+- License is GPL (not LGPL) - see README
+- added BRs/Rs
+
 Revision 1.3  2005/03/04 21:21:54  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poppler.spec?r1=1.3&r2=1.4&f=u


_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to