Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040033
en ru br
ALT Linux repos
S:0.9.19-alt2
5.0: 0.4.12-alt1

Group :: Office
RPM: pdf2djvu

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pdf2djvu
Version: 0.9.18.2
Release: alt2

Summary: PDF to DjVu converter
License: GPL-2.0
Group: Office
Url: http://jwilk.net/software/pdf2djvu/
# https://github.com/jwilk/pdf2djvu/releases/download/%version/%name-%version.tar.xz
Source: %name-%version.tar
Requires: djvu-utils
# Automatically added by buildreq on Fri Nov 19 2010
BuildRequires: djvu-utils fontconfig-devel gcc-c++ libGraphicsMagick-c++-devel libdjvu-devel
BuildRequires: libgomp-devel libpoppler-devel libxslt-devel pstreams libexiv2-devel libuuid-devel
# for manpage
BuildRequires: xsltproc docbook-dtds docbook-style-xsl

Patch: 0001-pdf-backend-fix-compat-with-Poppler-22.02.patch

%description
pdf2djvu creates DjVu files from PDF files. It's able to extract:
- graphics,
- text layer,
- hyperlinks,
- document outline (bookmarks),
- metadata (including XMP metadata).

%prep
%setup
%patch -p1

%build
private/autogen
%configure
%make_build
pushd doc
make
popd

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%doc COPYING doc/changelog doc/credits
%_bindir/*
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin