|
|
@ -1,14 +1,16 @@
|
|
|
|
Name: jbig2dec
|
|
|
|
Name: jbig2dec
|
|
|
|
Version: 0.19
|
|
|
|
Version: 0.16
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
|
|
|
License: AGPLv3+
|
|
|
|
|
|
|
|
URL: http://jbig2dec.sourceforge.net/
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/%{name}-%{version}.tar.gz
|
|
|
|
License: GPLv2
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
URL: http://jbig2dec.sourceforge.net/
|
|
|
|
BuildRequires: libtool
|
|
|
|
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: make
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: CVE-2020-12268.patch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
@ -17,10 +19,11 @@ monochrome) images at moderately high resolution, and in particular scanned
|
|
|
|
paper documents. In this domain it is very efficient, offering compression
|
|
|
|
paper documents. In this domain it is very efficient, offering compression
|
|
|
|
ratios on the order of 100:1.
|
|
|
|
ratios on the order of 100:1.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%package libs
|
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
|
|
|
Summary: A decoder implementation of the JBIG2 image compression format
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
|
|
|
|
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
|
|
|
|
monochrome) images at moderately high resolution, and in particular scanned
|
|
|
|
monochrome) images at moderately high resolution, and in particular scanned
|
|
|
@ -29,11 +32,12 @@ ratios on the order of 100:1.
|
|
|
|
|
|
|
|
|
|
|
|
This package provides the shared jbig2dec library.
|
|
|
|
This package provides the shared jbig2dec library.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Static library and header files for development with jbig2dec
|
|
|
|
Summary: Static library and header files for development with jbig2dec
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
|
|
|
|
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
|
|
|
|
monochrome) images at moderately high resolution, and in particular scanned
|
|
|
|
monochrome) images at moderately high resolution, and in particular scanned
|
|
|
@ -45,34 +49,37 @@ which requires the jbig2dec library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
|
|
|
autoreconf -i
|
|
|
|
%configure --disable-static
|
|
|
|
%configure
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_bindir}/jbig2dec
|
|
|
|
%{_bindir}/jbig2dec
|
|
|
|
%{_mandir}/man?/jbig2dec.1*
|
|
|
|
%{_mandir}/man?/jbig2dec.1.gz
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_includedir}/jbig2.h
|
|
|
|
%{_includedir}/jbig2.h
|
|
|
|
%{_libdir}/libjbig2dec.so
|
|
|
|
%{_libdir}/libjbig2dec.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%doc CHANGES COPYING LICENSE README
|
|
|
|
%{_libdir}/libjbig2dec.so.0
|
|
|
|
%{_libdir}/libjbig2dec.so.0
|
|
|
|
%{_libdir}/libjbig2dec.so.0.0.0
|
|
|
|
%{_libdir}/libjbig2dec.so.0.0.0
|
|
|
@ -80,70 +87,17 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jan 30 2023 Matej Mužila <mmuzila@redhat.com> - 0.19-7
|
|
|
|
* Thu Oct 08 2020 Nikola Forró <nforro@redhat.com> - 0.16-1
|
|
|
|
- Rebuilt for RHEL-9.2.0
|
|
|
|
- Update to 0.16
|
|
|
|
- Resolves: #2121499
|
|
|
|
resolves: #1886011
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.19-6
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.19-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.19-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 13 2020 Orion Poplawski <orion@nwra.com> - 0.19-3
|
|
|
|
|
|
|
|
- Use autoreconf -f to remove rpath
|
|
|
|
|
|
|
|
- Use --disable-static to disable static builds
|
|
|
|
|
|
|
|
- Use current make macros
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 18 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.19-2
|
|
|
|
|
|
|
|
- remove ABI patch (and coordinate builds)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 17 2020 Anna Khaitovich <akhaitov@redhat.com> - 0.19-1
|
|
|
|
|
|
|
|
- Rebase to 0.19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 11 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.18-1
|
|
|
|
|
|
|
|
- rebase to 0.18 (bz #1818706)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 14 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-3
|
|
|
|
|
|
|
|
- require exact libs version
|
|
|
|
|
|
|
|
- clean up white space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Nov 09 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-2
|
|
|
|
|
|
|
|
- restore ABI-compatibilty (#1770160)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 07 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-1
|
|
|
|
|
|
|
|
- bugfix release (bz #1761919)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.16-1
|
|
|
|
|
|
|
|
- rebase to 0.16 (bz #1741605)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 18 2018 Owen Taylor <otaylor@redhat.com> - 0.14-4
|
|
|
|
* Sun Jun 28 2020 Nikola Forró <nforro@redhat.com> - 0.14-4
|
|
|
|
- Handle both compressed and uncompressed man pages
|
|
|
|
- Add explicit package version requirement on jbig2dec-libs to jbig2dec
|
|
|
|
|
|
|
|
related: #1851058
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
|
|
|
* Fri Jun 26 2020 Nikola Forró <nforro@redhat.com> - 0.14-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Fix CVE-2020-12268
|
|
|
|
|
|
|
|
resolves: #1851058
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
@ -160,10 +114,10 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
* Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4
|
|
|
|
* Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4
|
|
|
|
- Add fix for CVE-2017-7976 (#1443898)
|
|
|
|
- Add fix for CVE-2017-7976 (#1443898)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 03 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3
|
|
|
|
* Wed May 3 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3
|
|
|
|
- Prevent segserv due to int overflow (#1443898)
|
|
|
|
- Prevent segserv due to int overflow (#1443898)
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 07 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1
|
|
|
|
* Tue Mar 07 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1
|
|
|
|
- New release 0.13
|
|
|
|
- New release 0.13
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
|
|
|
@ -203,7 +157,7 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-2.fc14
|
|
|
|
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-2.fc14
|
|
|
|
- Fixed some spec errors
|
|
|
|
- Fixed some spec errors
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-1.fc14
|
|
|
|
* Tue Jan 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-1.fc14
|
|
|
|