Name: libtiff Version: 4.0.10 Release: 1 Summary: TIFF Library and Utilities License: libtiff URL: https://www.simplesystems.org/libtiff/ Source0: https://download.osgeo.org/libtiff/tiff-%{version}.tar.gz Patch0: libtiff-am-version.patch Patch1: libtiff-make-check.patch Patch6001: CVE-2018-12900-pre.patch Patch6002: CVE-2018-12900.patch Patch6003: CVE-2018-19210-1.patch Patch6004: CVE-2018-19210-2.patch Patch6005: CVE-2019-6128.patch BuildRequires: gcc gcc-c++ zlib-devel libjpeg-devel jbigkit-devel BuildRequires: libtool automake autoconf pkgconfig git Provides: %{name}-tools Obsoletes: %{name}-tools %description This %{name} provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. The latest version of the TIFF specification is available on-line in several different formats.And contains command-line programs for manipulating TIFF format image files using the libtiff library. %package devel Summary: Development files for %{name} library Requires: %{name} = %{version}-%{release} pkgconfig Provides: %{name}-static Obsoletes: %{name}-static %description devel This package contains the header files and documentation necessary for developing programs which will manipulate TIFF format image files using the libtiff library. %package_help %prep %autosetup -n tiff-%{version} -p1 -S git libtoolize --force --copy aclocal -I . -I m4 automake --add-missing --copy autoconf autoheader %build export CFLAGS="%{optflags} -fno-strict-aliasing" %configure --enable-ld-version-script %make_build %install %make_install %delete_la rm -rf %{buildroot}/%{_datadir}/doc/ rm -f %{buildroot}/%{_bindir}/tiffgt case `uname -i` in x86_64 ) wordsize="64" ;; *) wordsize="" ;; esac if test -n "$wordsize" then mv %{buildroot}/%{_includedir}/tiffconf.h %{buildroot}/%{_includedir}/tiffconf-$wordsize.h cat >%{buildroot}/%{_includedir}/tiffconf.h < #if __WORDSIZE == 32 # include "tiffconf-32.h" #elif __WORDSIZE == 64 # include "tiffconf-64.h" #else # error "unexpected value for __WORDSIZE macro" #endif #endif EOF fi %ldconfig_scriptlets %check make check find html -name 'Makefile*' | xargs rm %files %defattr(-,root,root) %doc COPYRIGHT README.md %{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/ %files help %defattr(-,root,root) %{_mandir}/man* %doc RELEASE-DATE VERSION %doc TODO ChangeLog html %exclude %{_mandir}/man1/tiffgt.1 %exclude %{_datadir}/html/man/tiffgt.1.html %changelog * Fri Sep 06 2019 openEuler Buildteam - 4.0.10-1 - Type:Enhance - ID:NA - SUG:NA - DESC: openEuler Debranding * Mon Aug 19 2019 cangyi - 4.0.9-11.h6 - Type:bugfix - ID:NA - SUG:NA - DESC:format patches * Fri Aug 09 2019 zhangyujing - 4.0.9-11.h5 - Type:cves - ID:CVE-2018-10779 - SUG:NA - DESC:fix CVE-2018-10779 * Wed Jul 31 2019 shenyangyang - 4.0.9-11.h4 - Type:NA - ID:NA - SUG:NA - DESC:openEuler Debrading * Mon Jul 15 2019 wangchan - 4.0.9-11.h3 - Type:cves - ID:CVE-2017-17095 - SUG:NA - DESC:fix CVE-2017-17095 * Mon Apr 29 2019 yuejiayan - 4.0.9-11.h2 - Type:cves - ID:CVE-2018-19210 CVE-2019-6128 - SUG:NA - DESC:fix above cves * Sun Apr 07 2019 wenjun - 4.0.9-11.h1 - Type:cves - ID:CVE-2018-18557 CVE-2018-17101 CVE-2018-17100 CVE-2018-12900 CVE-2018-18661 - SUG:NA - DESC:fix above cves * Fri Jul 13 2018 shenyangyang - 4.0.9-11 - Package Initialization