]> git.pld-linux.org Git - packages/poppler0.61.git/blobdiff - poppler.spec
- more descriptions
[packages/poppler0.61.git] / poppler.spec
index dead93562361c38166df130748ae518b61024557..b83e0af8be81baa3037beafa4da24df7ab5d7b61 100644 (file)
@@ -8,12 +8,12 @@
 Summary:       PDF rendering library
 Summary(pl):   Biblioteka renderuj±ca PDF
 Name:          poppler
-Version:       0.4.4
+Version:       0.5.0
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
-# Source0-md5: e081bca749a3373b2d95e696b7dddb9b
+# Source0-md5: c84c1be19f43e4a84872ff08234c1960
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-freetype_includes.patch
 URL:           http://poppler.freedesktop.org/
@@ -23,6 +23,7 @@ BuildRequires:        automake
 BuildRequires: fontconfig-devel
 BuildRequires: freetype-devel >= 2.0
 BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: gtk-doc >= 1.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: pkgconfig
@@ -142,6 +143,28 @@ Static version of Qt wrapper for poppler.
 %description qt-static -l pl
 Statyczna wersja wrappera Qt dla popplera.
 
+%package utils
+Summary:       Set of tools for viewing information and converting PDF files
+Summary(pl):   Zestaw narzêdzi do wy¶wietlania informacji i konwertowania plików PDF
+Group:         Applications/Publishing
+Provides:      pdftops
+Obsoletes:     pdftohtml
+Obsoletes:     pdftohtml-pdftops
+Obsoletes:     xpdf-tools
+
+%description utils
+Package contains utilites for PDF files. These utilities allow to
+- extract information about PDF files
+- extract images from PDF files
+- convert PDF files to HTML, plain text and PS formats
+
+%description utils -l pl
+Pakiet zawiera zestaw narzêdzi do plików PDF. Programy te umo¿liwiaj±
+- wy¶wietlanie informacji o plikach PDF
+- wydobywanie obrazków z plików PDF
+- konwersjê plików PDF do formatów takich jak HTML, PS czy te¿ czystego
+  tekstu
+
 %prep
 %setup -q
 %patch0 -p1
@@ -149,7 +172,7 @@ Statyczna wersja wrappera Qt dla popplera.
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -157,7 +180,9 @@ Statyczna wersja wrappera Qt dla popplera.
        QTLIB=%{_libdir} \
        %{!?with_cairo:--disable-cairo-output} \
        %{!?with_qt:--disable-poppler-qt} \
-       --enable-a4-paper
+       --enable-a4-paper \
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
@@ -194,6 +219,8 @@ rm -rf $RPM_BUILD_ROOT
 %{?with_cairo:%{_pkgconfigdir}/poppler-cairo.pc}
 %{_pkgconfigdir}/poppler-splash.pc
 
+%{_gtkdocdir}/poppler
+
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libpoppler.a
@@ -229,3 +256,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/libpoppler-qt.a
 %endif
+
+%files utils
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pdf*
+%{_mandir}/man1/pdf*
This page took 0.100925 seconds and 4 git commands to generate.