File pdf2djvu.spec of Package pdf2djvu

# spec file for package pdf2djvu
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           pdf2djvu
Version:        0.7.17
Release:        0
Summary:        PDF to DjVu Converter
License:        GPL-2.0
Group:          Productivity/Publishing/PDF
Source2:        %{name}.keyring
BuildRequires:  djvulibre
BuildRequires:  gcc-c++
%if 0%{?suse_version} >= 1230
BuildRequires:  gpg-offline
BuildRequires:  pkgconfig(GraphicsMagick++)
BuildRequires:  pkgconfig(ddjvuapi)
BuildRequires:  pkgconfig(libxslt)
BuildRequires:  pkgconfig(poppler)
Requires:       djvulibre
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

pdf2djvu creates DjVu files from PDF files. It's able to extract:
graphics, text layer, hyperlinks, document outline (bookmarks) and


%setup -q
%if 0%{?gpg_verify:1}
%gpg_verify %{SOURCE1}

make %{?_smp_mflags}

%find_lang %{name} --with-man

%doc COPYING doc/{changelog,cjk.txt,credits.txt,djvudigital.txt}
%doc %{_mandir}/man?/*

%files lang -f %{name}.lang
%doc %dir %{_mandir}/??/
%doc %dir %{_mandir}/??/man1/

openSUSE Build Service is sponsored by