|
|
8ca2e9 |
Summary: Compatibility package for libtiff 3
|
|
|
8ca2e9 |
Name: compat-libtiff3
|
|
|
8ca2e9 |
Version: 3.9.4
|
|
|
8ca2e9 |
Release: 13%{?dist}
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
License: libtiff
|
|
|
8ca2e9 |
Group: System Environment/Libraries
|
|
|
8ca2e9 |
URL: http://www.remotesensing.org/libtiff/
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz
|
|
|
8ca2e9 |
Patch1: libtiff-acversion.patch
|
|
|
8ca2e9 |
Patch2: libtiff-mantypo.patch
|
|
|
8ca2e9 |
Patch3: libtiff-scanlinesize.patch
|
|
|
8ca2e9 |
Patch4: libtiff-getimage-64bit.patch
|
|
|
8ca2e9 |
Patch5: libtiff-ycbcr-clamp.patch
|
|
|
8ca2e9 |
Patch6: libtiff-3samples.patch
|
|
|
8ca2e9 |
Patch7: libtiff-subsampling.patch
|
|
|
8ca2e9 |
Patch8: libtiff-unknown-fix.patch
|
|
|
8ca2e9 |
Patch9: libtiff-checkbytecount.patch
|
|
|
8ca2e9 |
Patch10: libtiff-tiffdump.patch
|
|
|
8ca2e9 |
Patch11: libtiff-CVE-2011-0192.patch
|
|
|
8ca2e9 |
Patch12: libtiff-CVE-2011-1167.patch
|
|
|
8ca2e9 |
Patch13: libtiff-CVE-2009-5022.patch
|
|
|
8ca2e9 |
Patch14: libtiff-CVE-2012-1173.patch
|
|
|
8ca2e9 |
Patch15: libtiff-CVE-2012-2088.patch
|
|
|
8ca2e9 |
Patch16: libtiff-CVE-2012-2113.patch
|
|
|
8ca2e9 |
Patch17: libtiff-CVE-2012-3401.patch
|
|
|
8ca2e9 |
Patch18: libtiff-CVE-2012-4447.patch
|
|
|
8ca2e9 |
Patch19: libtiff-CVE-2012-4564.patch
|
|
|
8ca2e9 |
Patch20: libtiff-CVE-2012-5581.patch
|
|
|
8ca2e9 |
Patch21: libtiff-tiffinfo-exif.patch
|
|
|
8ca2e9 |
Patch22: libtiff-printdir-width.patch
|
|
|
8ca2e9 |
Patch27: libtiff-CVE-2013-1960.patch
|
|
|
8ca2e9 |
Patch28: libtiff-CVE-2013-1961.patch
|
|
|
8ca2e9 |
Patch29: libtiff-CVE-2013-4231.patch
|
|
|
8ca2e9 |
Patch30: libtiff-CVE-2013-4232.patch
|
|
|
8ca2e9 |
Patch31: libtiff-CVE-2013-4244.patch
|
|
|
8ca2e9 |
Patch32: libtiff-CVE-2013-4243.patch
|
|
|
8ca2e9 |
Patch33: libtiff-CVE-2018-7456.patch
|
|
|
8ca2e9 |
Patch34: libtiff-coverity.patch
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
8ca2e9 |
BuildRequires: zlib-devel libjpeg-devel
|
|
|
8ca2e9 |
BuildRequires: libtool automake autoconf
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%global LIBVER %(echo %{version} | cut -f 1-2 -d .)
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%description
|
|
|
8ca2e9 |
The libtiff3 package provides libtiff 3, an older version of libtiff
|
|
|
8ca2e9 |
library for manipulating TIFF (Tagged Image File Format)
|
|
|
8ca2e9 |
image format files. This version should be used only if you are unable
|
|
|
8ca2e9 |
to use the current version of libtiff.
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%prep
|
|
|
8ca2e9 |
%setup -q -n tiff-%{version}
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%patch1 -p1
|
|
|
8ca2e9 |
%patch2 -p1
|
|
|
8ca2e9 |
%patch3 -p1
|
|
|
8ca2e9 |
%patch4 -p1
|
|
|
8ca2e9 |
%patch5 -p1
|
|
|
8ca2e9 |
%patch6 -p1
|
|
|
8ca2e9 |
%patch7 -p1
|
|
|
8ca2e9 |
%patch8 -p1
|
|
|
8ca2e9 |
%patch9 -p1
|
|
|
8ca2e9 |
%patch10 -p1
|
|
|
8ca2e9 |
%patch11 -p1
|
|
|
8ca2e9 |
%patch12 -p1
|
|
|
8ca2e9 |
%patch13 -p1
|
|
|
8ca2e9 |
%patch14 -p1
|
|
|
8ca2e9 |
%patch15 -p1
|
|
|
8ca2e9 |
%patch16 -p1
|
|
|
8ca2e9 |
%patch17 -p1
|
|
|
8ca2e9 |
%patch18 -p1
|
|
|
8ca2e9 |
%patch19 -p1
|
|
|
8ca2e9 |
%patch20 -p1
|
|
|
8ca2e9 |
%patch21 -p1
|
|
|
8ca2e9 |
%patch22 -p1
|
|
|
8ca2e9 |
%patch27 -p1
|
|
|
8ca2e9 |
%patch28 -p1
|
|
|
8ca2e9 |
%patch29 -p1
|
|
|
8ca2e9 |
%patch30 -p1
|
|
|
8ca2e9 |
%patch31 -p1
|
|
|
8ca2e9 |
%patch32 -p1
|
|
|
8ca2e9 |
%patch33 -p1
|
|
|
8ca2e9 |
%patch34 -p1
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
# Use build system's libtool.m4, not the one in the package.
|
|
|
8ca2e9 |
rm -f libtool.m4
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
libtoolize --force --copy
|
|
|
8ca2e9 |
aclocal -I . -I m4
|
|
|
8ca2e9 |
automake --add-missing --copy
|
|
|
8ca2e9 |
autoconf
|
|
|
8ca2e9 |
autoheader
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%build
|
|
|
8ca2e9 |
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
8ca2e9 |
%configure
|
|
|
8ca2e9 |
make %{?_smp_mflags}
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make check
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%install
|
|
|
8ca2e9 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
# remove what we didn't want installed
|
|
|
8ca2e9 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
8ca2e9 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
8ca2e9 |
rm $RPM_BUILD_ROOT%{_libdir}/{libtiff,libtiffxx}.so
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/*
|
|
|
8ca2e9 |
rm -rf $RPM_BUILD_ROOT%{_bindir}/*
|
|
|
8ca2e9 |
rm -rf $RPM_BUILD_ROOT%{_includedir}/*
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%clean
|
|
|
8ca2e9 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%post -p /sbin/ldconfig
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%postun -p /sbin/ldconfig
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%files
|
|
|
8ca2e9 |
%defattr(-,root,root,0755)
|
|
|
8ca2e9 |
%{_libdir}/libtiff.so.*
|
|
|
8ca2e9 |
%{_libdir}/libtiffxx.so.*
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
%changelog
|
|
|
8ca2e9 |
* Wed Jun 12 2019 Nikola Forró <nforro@redhat.com> - 3.9.4-13
|
|
|
8ca2e9 |
- Fix important Covscan defects
|
|
|
8ca2e9 |
related: #1687584
|
|
|
8ca2e9 |
|
|
|
8ca2e9 |
* Thu Jun 06 2019 Nikola Forró <nforro@redhat.com> - 3.9.4-12
|
|
|
8ca2e9 |
- New package for RHEL 8.1.0
|
|
|
8ca2e9 |
resolves: #1687584
|