|
|
61cfe0 |
Name: jbigkit
|
|
|
61cfe0 |
Version: 2.1
|
|
|
61cfe0 |
Release: 14%{?dist}
|
|
|
61cfe0 |
Summary: JBIG1 lossless image compression tools
|
|
|
61cfe0 |
|
|
|
61cfe0 |
License: GPLv2+
|
|
|
61cfe0 |
URL: http://www.cl.cam.ac.uk/~mgk25/jbigkit/
|
|
|
61cfe0 |
Source0: http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-%{version}.tar.gz
|
|
|
61cfe0 |
Patch0: jbigkit-2.1-shlib.patch
|
|
|
61cfe0 |
Patch1: jbigkit-2.0-warnings.patch
|
|
|
61cfe0 |
Patch2: jbigkit-ldflags.patch
|
|
|
61cfe0 |
Patch3: jbigkit-covscan.patch
|
|
|
61cfe0 |
|
|
|
61cfe0 |
# gcc is no longer in buildroot by default
|
|
|
61cfe0 |
# gcc needed for libjbig library and several filters - jbigtopbm, pbmtojbig e.g.
|
|
|
61cfe0 |
BuildRequires: gcc
|
|
|
61cfe0 |
|
|
|
61cfe0 |
Requires: jbigkit-libs%{?_isa} = %{version}-%{release}
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%package libs
|
|
|
61cfe0 |
Summary: JBIG1 lossless image compression library
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%package devel
|
|
|
61cfe0 |
Summary: JBIG1 lossless image compression library -- development files
|
|
|
61cfe0 |
Requires: jbigkit-libs%{?_isa} = %{version}-%{release}
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%description libs
|
|
|
61cfe0 |
JBIG-KIT provides a portable library of compression and decompression
|
|
|
61cfe0 |
functions with a documented interface that you can include very easily
|
|
|
61cfe0 |
into your image or document processing software. In addition, JBIG-KIT
|
|
|
61cfe0 |
provides ready-to-use compression and decompression programs with a
|
|
|
61cfe0 |
simple command line interface (similar to the converters found in netpbm).
|
|
|
61cfe0 |
|
|
|
61cfe0 |
JBIG-KIT implements the specification:
|
|
|
61cfe0 |
ISO/IEC 11544:1993 and ITU-T Recommendation T.82(1993):
|
|
|
61cfe0 |
Information technology — Coded representation of picture and audio
|
|
|
61cfe0 |
information — Progressive bi-level image compression
|
|
|
61cfe0 |
|
|
|
61cfe0 |
which is commonly referred to as the “JBIG1 standard”
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%description devel
|
|
|
61cfe0 |
The jbigkit-devel package contains files needed for development using
|
|
|
61cfe0 |
the JBIG-KIT image compression library.
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%description
|
|
|
61cfe0 |
The jbigkit package contains tools for converting between PBM and JBIG1
|
|
|
61cfe0 |
formats.
|
|
|
61cfe0 |
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%prep
|
|
|
61cfe0 |
%setup -q -n jbigkit-2.1
|
|
|
61cfe0 |
%patch0 -p1 -b .shlib
|
|
|
61cfe0 |
%patch1 -p1 -b .warnings
|
|
|
61cfe0 |
# jbigkit: Partial Fedora build flags injection (bug #1548546)
|
|
|
61cfe0 |
%patch2 -p1 -b .ldflags
|
|
|
61cfe0 |
# 1602563 - covscan review - patch taken from upstream
|
|
|
61cfe0 |
%patch3 -p1 -b .covscan
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%build
|
|
|
61cfe0 |
# get the correct redhat build flags
|
|
|
61cfe0 |
%set_build_flags
|
|
|
61cfe0 |
%make_build
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%install
|
|
|
61cfe0 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
61cfe0 |
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
|
|
61cfe0 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
61cfe0 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
61cfe0 |
|
|
|
61cfe0 |
install -p -m0755 libjbig/libjbig.so.%{version} $RPM_BUILD_ROOT/%{_libdir}
|
|
|
61cfe0 |
install -p -m0755 libjbig/libjbig85.so.%{version} $RPM_BUILD_ROOT/%{_libdir}
|
|
|
61cfe0 |
ln -sf libjbig.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig.so
|
|
|
61cfe0 |
ln -sf libjbig85.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig85.so
|
|
|
61cfe0 |
|
|
|
61cfe0 |
install -p -m0644 libjbig/jbig.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
61cfe0 |
install -p -m0644 libjbig/jbig85.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
61cfe0 |
install -p -m0644 libjbig/jbig_ar.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
61cfe0 |
|
|
|
61cfe0 |
install -p -m0755 pbmtools/???to??? $RPM_BUILD_ROOT%{_bindir}
|
|
|
61cfe0 |
install -p -m0755 pbmtools/???to???85 $RPM_BUILD_ROOT%{_bindir}
|
|
|
61cfe0 |
install -p -m0644 pbmtools/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%check
|
|
|
61cfe0 |
make test
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%post libs -p /sbin/ldconfig
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%postun libs -p /sbin/ldconfig
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%files
|
|
|
61cfe0 |
%{_bindir}/???to*
|
|
|
61cfe0 |
%{_mandir}/man1/*
|
|
|
61cfe0 |
%license COPYING
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%files libs
|
|
|
61cfe0 |
%{_libdir}/libjbig*.so.%{version}
|
|
|
61cfe0 |
%doc ANNOUNCE TODO CHANGES
|
|
|
61cfe0 |
%license COPYING
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%files devel
|
|
|
61cfe0 |
%{_libdir}/libjbig*.so
|
|
|
61cfe0 |
%{_includedir}/jbig*.h
|
|
|
61cfe0 |
|
|
|
61cfe0 |
%changelog
|
|
|
61cfe0 |
* Thu Oct 25 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.1-14
|
|
|
61cfe0 |
- 1602563 - Please review important issues found by covscan in "jbigkit-2.1-12.el8+7" package
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Jul 11 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.1-13
|
|
|
61cfe0 |
- ship license in correct tag
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Tue Feb 27 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.1-12
|
|
|
61cfe0 |
- 1548546 - jbigkit: Partial Fedora build flags injection
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Fri Feb 09 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.1-10
|
|
|
61cfe0 |
- remove old stuff
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-9
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-8
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-7
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-6
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sun Sep 7 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.1-3
|
|
|
61cfe0 |
- Build with $RPM_OPT_FLAGS again
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Mon Aug 04 2014 Fridolin Pokorny <fpokorny@redhat.com> - 2.1-1
|
|
|
61cfe0 |
- Update to 2.1
|
|
|
61cfe0 |
- Removed jbigkit-CVE-2013-6369.patch (accepted by upstream)
|
|
|
61cfe0 |
- Updated jbigkit-2.0-warnings.patch to fix only fread() checks
|
|
|
61cfe0 |
- Updated jbigkit-2.0-shlib.patch
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-11
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Tue Apr 08 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0-10
|
|
|
61cfe0 |
- CVE-2013-6369 (#1085362)
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-9
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-8
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Tue Jul 17 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-7
|
|
|
61cfe0 |
- Fix a number of compiler warnings per feedback from Ubuntu security team (#840608)
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Mon Apr 16 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-6
|
|
|
61cfe0 |
- Don't install up-to-date license file, use the upstream one. (#807760)
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Mar 28 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-5
|
|
|
61cfe0 |
- Moving from rpmfusion-free to Fedora because it will be free of known patents
|
|
|
61cfe0 |
in all countries from 2012-04-04 onwards
|
|
|
61cfe0 |
- Changed license from GPL to GPLv2+ and included up-to-date license file
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Feb 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 2.0-4
|
|
|
61cfe0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.0-3
|
|
|
61cfe0 |
- rebuild for new F11 features
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Fri Sep 05 2008 David Woodhouse <dwmw2@infradead.org> 2.0-2
|
|
|
61cfe0 |
- Add missing jbig_ar.h
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Wed Sep 03 2008 David Woodhouse <dwmw2@infradead.org> 2.0-1
|
|
|
61cfe0 |
- Update to 2.0
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sun Aug 03 2008 Thorsten Leemhuis <fedora@leemhuis.info> - 1.6-3
|
|
|
61cfe0 |
- rebuild
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Sun Oct 1 2006 David Woodhouse <dwmw2@infradead.org> 1.6-2
|
|
|
61cfe0 |
- Review fixes
|
|
|
61cfe0 |
|
|
|
61cfe0 |
* Tue Sep 12 2006 David Woodhouse <dwmw2@infradead.org> 1.6-1
|
|
|
61cfe0 |
- Initial version
|