Blame SPECS/jbig2dec.spec

6a5210
Name:           jbig2dec
ba9f4e
Version:        0.16
ba9f4e
Release:        2%{?dist}
6a5210
Summary:        A decoder implementation of the JBIG2 image compression format 
6a5210
6a5210
Group:          System Environment/Libraries
6a5210
License:        GPLv2
6a5210
URL:            http://jbig2dec.sourceforge.net/
ba9f4e
Source0:        https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/%{name}-%{version}.tar.gz
6a5210
BuildRequires:  libtool
6a5210
Requires:       %{name}-libs = %{version}-%{release}
6a5210
6a5210
Patch0:         CVE-2020-12268.patch
6a5210
6a5210
%description
6a5210
jbig2dec is a decoder implementation of the JBIG2 image compression format.
6a5210
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
6a5210
monochrome) images at moderately high resolution, and in particular scanned
6a5210
paper documents. In this domain it is very efficient, offering compression
6a5210
ratios on the order of 100:1.
6a5210
6a5210
%package  libs 
6a5210
Summary:         A decoder implementation of the JBIG2 image compression format
6a5210
Group:           System Environment/Libraries
6a5210
6a5210
%description  libs 
6a5210
jbig2dec is a decoder implementation of the JBIG2 image compression format.
6a5210
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
6a5210
monochrome) images at moderately high resolution, and in particular scanned
6a5210
paper documents. In this domain it is very efficient, offering compression
6a5210
ratios on the order of 100:1.
6a5210
6a5210
This package provides the shared jbig2dec library.
6a5210
6a5210
%package  devel
6a5210
Summary:          Static library and header files for development with jbig2dec
6a5210
Group:            Development/Libraries
6a5210
Requires:         %{name}-libs = %{version}-%{release}
6a5210
6a5210
%description  devel
6a5210
jbig2dec is a decoder implementation of the JBIG2 image compression format.
6a5210
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
6a5210
monochrome) images at moderately high resolution, and in particular scanned
6a5210
paper documents. In this domain it is very efficient, offering compression
6a5210
ratios on the order of 100:1.
6a5210
6a5210
This package is only needed if you plan to develop or compile applications
6a5210
which requires the jbig2dec library.
6a5210
6a5210
6a5210
%prep
6a5210
%setup -q
6a5210
%patch0 -p1
6a5210
6a5210
6a5210
%build
6a5210
autoreconf -i
6a5210
%configure
6a5210
make %{?_smp_mflags}
6a5210
6a5210
6a5210
%install
6a5210
make DESTDIR=%{buildroot} install
6a5210
rm -f %{buildroot}%{_libdir}/*.a
6a5210
rm -f %{buildroot}%{_libdir}/*.la
6a5210
6a5210
%post libs -p /sbin/ldconfig
6a5210
6a5210
%postun  libs -p /sbin/ldconfig
6a5210
6a5210
6a5210
%files
6a5210
%doc CHANGES COPYING LICENSE README
6a5210
%{_bindir}/jbig2dec
6a5210
%{_mandir}/man?/jbig2dec.1*
6a5210
6a5210
%files  devel
6a5210
%doc CHANGES COPYING LICENSE README
6a5210
%{_includedir}/jbig2.h
6a5210
%{_libdir}/libjbig2dec.so
6a5210
6a5210
%files  libs
6a5210
%doc CHANGES COPYING LICENSE README
6a5210
%{_libdir}/libjbig2dec.so.0
6a5210
%{_libdir}/libjbig2dec.so.0.0.0
6a5210
6a5210
6a5210
6a5210
%changelog
ba9f4e
* Tue Dec 15 2020 Nikola Forr贸 <nforro@redhat.com> - 0.16-2
ba9f4e
- Use glob for man page
ba9f4e
  resolves: #1907486
ba9f4e
ba9f4e
* Thu Oct 08 2020 Nikola Forr贸 <nforro@redhat.com> - 0.16-1
ba9f4e
- Update to 0.16
ba9f4e
  resolves: #1886011
6a5210
6a5210
* Sun Jun 28 2020 Nikola Forr贸 <nforro@redhat.com> - 0.14-4
6a5210
- Add explicit package version requirement on jbig2dec-libs to jbig2dec
6a5210
  related: #1851058
6a5210
6a5210
* Fri Jun 26 2020 Nikola Forr贸 <nforro@redhat.com> - 0.14-3
6a5210
- Fix CVE-2020-12268
6a5210
  resolves: #1851058
6a5210
6a5210
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6a5210
6a5210
* Sat Nov 11 2017 Michael J Gruber <mjg@fedoraproject.org> - 0.14-1
6a5210
- update to 0.14 (bugfix release)
6a5210
6a5210
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-6
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6a5210
6a5210
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-5
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6a5210
6a5210
* Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4
6a5210
- Add fix for CVE-2017-7976 (#1443898)
6a5210
6a5210
* Wed May  3 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3
6a5210
- Prevent segserv due to int overflow (#1443898)
6a5210
6a5210
* Tue Mar 07 2017  Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1
6a5210
- New release 0.13
6a5210
6a5210
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6a5210
6a5210
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6a5210
6a5210
* Fri Nov 27 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 0.12-2
6a5210
- New release (#1208076)
6a5210
- Require autotools
6a5210
6a5210
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-11
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6a5210
6a5210
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-10
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6a5210
6a5210
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6a5210
6a5210
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6a5210
6a5210
* Sat Mar 23 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-7
6a5210
- Add ARM64 patch
6a5210
6a5210
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a5210
6a5210
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6a5210
6a5210
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6a5210
6a5210
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
6a5210
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6a5210
6a5210
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org>  - 0.11-2.fc14
6a5210
- Fixed some spec errors
6a5210
6a5210
* Tue Jan 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-1.fc14
6a5210
- Initial package