Author: qboosh                       Date: Fri Oct 21 19:26:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more BRs
- disable gp backend (breaks build if linked with pango >= 1.3)

---- Files affected:
SPECS:
   pangopdf.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/pangopdf.spec
diff -u SPECS/pangopdf.spec:1.18 SPECS/pangopdf.spec:1.19
--- SPECS/pangopdf.spec:1.18    Fri Oct 21 20:01:55 2005
+++ SPECS/pangopdf.spec Fri Oct 21 21:26:50 2005
@@ -1,4 +1,10 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    gnomeprint      # build GNOME Print (pangogp) backend
+                               # (broken: libgnomeprint is linked with newer 
pango)
+%bcond_without qt              # don't build Qt-based viewer
+#
 Summary:       Pango PDF backend
 Summary(pl):   Backend PDF dla Pango
 Name:          pangopdf
@@ -9,16 +15,20 @@
 Source0:       http://dl.sourceforge.net/pangopdf/%{name}-%{version}.tar.gz
 # Source0-md5: e0671aeaba45e0aa5a2c1aba8cebba41
 URL:           http://pangopdf.sourceforge.net/
-BuildRequires: autoconf
+BuildRequires: XFree86-devel
+BuildRequires: autoconf >= 2.53
 BuildRequires: automake
 BuildRequires: freetype-devel >= 2.0.9
 BuildRequires: fontconfig-devel >= 1:1.0.1
 BuildRequires: glib2-devel >= 2.1.3
 BuildRequires: gtk-doc >= 0.10
-BuildRequires: libgnomeprint-devel >= 2.2
-BuildRequires: libtool
+%{?with_gnomeprint:BuildRequires:      libgnomeprint-devel >= 2.2}
+%{?with_qt:BuildRequires:      libstdc++-devel}
+BuildRequires: libtool >= 2:1.5
 BuildRequires: pdflib-devel >= 4.0.0
+BuildRequires: perl-base
 BuildRequires: pkgconfig
+%{?with_qt:BuildRequires:      qt-devel}
 BuildRequires: xft-devel >= 2.0.0
 Requires:      glib2-devel >= 2.1.3
 Requires:      fontconfig >= 1:1.0.1
@@ -76,9 +86,11 @@
 %{__autoconf}
 %{__automake}
 %configure \
-       --with-html-dir=%{_gtkdocdir} \
+       %{!?with_gnomeprint:--disable-gp} \
        --enable-pdflib \
-       --with-x
+       --with-html-dir=%{_gtkdocdir} \
+       --with-x \
+       %{!?with_qt:--without-qt}
 
 %{__make}
 
@@ -96,10 +108,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc AUTHORS* ChangeLog* NEWS* README* TODO
 %attr(755,root,root) %{_bindir}/*
 %dir %{_sysconfdir}/pangopdf
-%config %{_sysconfdir}/pangopdf/pangox.aliases
+%config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/pangopdf/pangox.aliases
 %dir %{_libdir}/pangopdf
 %attr(755,root,root) %{_libdir}/pangopdf/lib*.so.*
 %dir %{_libdir}/pangopdf/pango
@@ -122,6 +134,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2005/10/21 19:26:50  qboosh
+- more BRs
+- disable gp backend (breaks build if linked with pango >= 1.3)
+
 Revision 1.18  2005/10/21 18:01:55  qboosh
 - some cleanups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pangopdf.spec?r1=1.18&r2=1.19&f=u

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

Reply via email to