%define name pdf2djvu %define version 0.7.4 %define release %mkrel 1 Summary: PDF to DJVu file converter Name: %{name} Version: %{version} Release: %{release} Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz License: GPLv2 Group: Publishing Url: http://pdf2djvu.googlecode.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: djvulibre-devel >= 3.5.21, djvulibre >= 3.5.21 BuildRequires: libpoppler-devel >= 0.7.3, libgomp-devel BuildRequires: graphicsmagick-devel %description pdf2djvu creates DjVu files from PDF files. It's able to extract graphics, text layer, hyperlinks, document outline (bookmarks), and metadata. %prep %setup -q %build %configure2_5x %make %install %__rm -rf %{buildroot} %makeinstall %__install -m 644 -D doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING doc/changelog.txt doc/djvudigital.txt %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/*/* %changelog * Mon Jun 14 2010 Lev Givon <lev@mandriva.org> 0.7.4-1mdv2010.1 + Revision: 548004 - Update to 0.7.4. Enable multithreading (#59764). * Wed Apr 21 2010 Lev Givon <lev@mandriva.org> 0.7.1-1mdv2010.1 + Revision: 537641 - Update to 0.7.1. * Mon Mar 01 2010 Frederik Himpe <fhimpe@mandriva.org> 0.7.0-1mdv2010.1 + Revision: 513071 - update to new version 0.7.0 * Tue Jan 19 2010 Lev Givon <lev@mandriva.org> 0.6.2-1mdv2010.1 + Revision: 493667 - Update to 0.6.2. * Thu Oct 01 2009 Frederik Himpe <fhimpe@mandriva.org> 0.6.0-1mdv2010.0 + Revision: 452308 - update to new version 0.6.0 * Fri Jul 31 2009 Frederik Himpe <fhimpe@mandriva.org> 0.5.11-1mdv2010.0 + Revision: 405213 - Update to new version 0.5.11 * Tue Jul 07 2009 Lev Givon <lev@mandriva.org> 0.5.9-1mdv2010.0 + Revision: 393364 - Update to 0.5.9. * Tue May 19 2009 Götz Waschk <waschk@mandriva.org> 0.5.7-2mdv2010.0 + Revision: 377488 - rebuild for new poppler * Thu May 14 2009 Lev Givon <lev@mandriva.org> 0.5.7-1mdv2010.0 + Revision: 375846 - imported package pdf2djvu