From c3c245f033f642208c117115f1792354fc6cdc38 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Wed, 8 Jul 2020 20:49:31 +0200 Subject: [PATCH] build with libpng While jbig2dec "is only partially functional at this time" it "should be useful in some limited contexts" (from the README). Building it with libpng makes it support png in addition to the pbm format, slightly widening that context. --- jbig2dec.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jbig2dec.spec b/jbig2dec.spec index 1e68d00..2c2d65f 100644 --- a/jbig2dec.spec +++ b/jbig2dec.spec @@ -1,6 +1,6 @@ Name: jbig2dec Version: 0.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A decoder implementation of the JBIG2 image compression format License: AGPLv3+ URL: http://jbig2dec.sourceforge.net/ @@ -8,6 +8,7 @@ Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download Patch1: jbig2dec-0.17-Restore-ABI-compatibility.patch Requires: %{name}-libs = %{version}-%{release} BuildRequires: libtool +BuildRequires: libpng-devel %description jbig2dec is a decoder implementation of the JBIG2 image compression format. @@ -80,6 +81,9 @@ rm -f %{buildroot}%{_libdir}/*.la %changelog +* Wed Jul 08 2020 Michael J Gruber - 0.18-3 +- build with libpng + * Wed Jul 08 2020 Nikola Forró - 0.18-2 - fix License