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.
This commit is contained in:
Michael J Gruber 2020-07-08 20:49:31 +02:00
parent 50b6e25ace
commit c3c245f033

View File

@ -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 <mjg@fedoraproject.org> - 0.18-3
- build with libpng
* Wed Jul 08 2020 Nikola Forró <nforro@redhat.com> - 0.18-2
- fix License