]> git.pld-linux.org Git - packages/poppler0.61.git/blobdiff - poppler.spec
- build fix.
[packages/poppler0.61.git] / poppler.spec
index f60f060835a1c57917b68e7bf62df843c35934fe..5639f4ac0e57dfe50b6797e758c1f6edf27e5488 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without apidocs # disable gtk-doc 
 %bcond_without cairo   # disable Cairo backend
 %bcond_without qt      # disable qt wrapper
 #
@@ -8,12 +9,12 @@
 Summary:       PDF rendering library
 Summary(pl):   Biblioteka renderujĀ±ca PDF
 Name:          poppler
-Version:       0.5.0
+Version:       0.5.1
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
-# Source0-md5: c84c1be19f43e4a84872ff08234c1960
+# Source0-md5: a136cd731892f4570933034ba97c8704
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-freetype_includes.patch
 URL:           http://poppler.freedesktop.org/
@@ -23,12 +24,13 @@ BuildRequires:      automake
 BuildRequires: fontconfig-devel
 BuildRequires: freetype-devel >= 2.0
 BuildRequires: gtk+2-devel >= 2.0.0
-BuildRequires: gtk-doc >= 1.0
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.0}
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: pkgconfig
 %{?with_qt:BuildRequires:      qt-devel}
 %{?with_cairo:Requires:        cairo >= %{cairo_ver}}
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -151,6 +153,7 @@ Provides:   pdftops
 Obsoletes:     pdftohtml
 Obsoletes:     pdftohtml-pdftops
 Obsoletes:     xpdf-tools
+Obsoletes:     poppler-utils
 
 %description progs
 Package contains utilites for PDF files. These utilities allow to
@@ -181,7 +184,9 @@ Pakiet zawiera zestaw narz
        %{!?with_cairo:--disable-cairo-output} \
        %{!?with_qt:--disable-poppler-qt} \
        --enable-a4-paper \
-       --enable-gtk-doc \
+       %{?with_apidocs:--enable-gtk-doc} \
+       --enable-xpdf-headers \
+       --enable-zlib \
        --with-html-dir=%{_gtkdocdir}
 %{__make}
 
This page took 0.071199 seconds and 4 git commands to generate.