File extractpdfmark.spec of Package extractpdfmark

# spec file for package extractpdfmark
# Copyright (c) 2020 SUSE LLC
# 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:           extractpdfmark
Version:        1.1.0
Release:        0
Summary:        Helper for correctly compacting PDF files created by TeX
License:        GPL-3.0-or-later
Patch0:         extractpdfmark-1.1.0-poppler-0.84.0.patch
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  gettext-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(poppler-cpp) >= 0.79.0

This tool helps compacting PDF files generated by the TeX
typesetting system by extracting meta data like page mode and named
destinations (link targets) and saving them in a PDFmark file. The
PDFmark file can then be used by ghostscript when processing the
TeX-generated PDF to make sure that the final output contains correct
page mode and link targets. Such post-processing of TeX-generated PDF
output is often useful to reduce the size of the final PDF document,
e.g. by removing duplicate font sets.

%autosetup -p1


rm -rf %{buildroot}%{_datadir}/doc

%make_build check

%license COPYING

openSUSE Build Service is sponsored by