|
@@ -3,33 +3,21 @@
|
|
Summary: A library of functions for manipulating TIFF format image files.
|
|
Summary: A library of functions for manipulating TIFF format image files.
|
|
Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
|
|
Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
|
|
Name: libtiff
|
|
Name: libtiff
|
|
-Version: 3.9.5
|
|
+Version: 4.0.1
|
|
Release: 1%{_dist_release}
|
|
Release: 1%{_dist_release}
|
|
License: distributable
|
|
License: distributable
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Source0: http://www.libtiff.org/tiff-%{version}.tar.gz
|
|
Source0: http://www.libtiff.org/tiff-%{version}.tar.gz
|
|
URL: http://www.remotesensing.org/libtiff/
|
|
URL: http://www.remotesensing.org/libtiff/
|
|
-# Patch1: libtiff-acversion.patch
|
|
+Patch1: libtiff-CVE-2012-1173.patch
|
|
-# Patch2: libtiff-mantypo.patch
|
|
|
|
-# Patch3: libtiff-scanlinesize.patch
|
|
|
|
-# Patch4: libtiff-getimage-64bit.patch
|
|
|
|
-# Patch5: libtiff-ycbcr-clamp.patch
|
|
|
|
-# Patch6: libtiff-3samples.patch
|
|
|
|
-# Patch7: libtiff-subsampling.patch
|
|
|
|
-# Patch8: libtiff-unknown-fix.patch
|
|
|
|
-# Patch9: libtiff-checkbytecount.patch
|
|
|
|
-# Patch10: libtiff-tiffdump.patch
|
|
|
|
-# Patch11: libtiff-CVE-2011-0192.patch
|
|
|
|
-# Patch12: libtiff-CVE-2011-1167.patch
|
|
|
|
-# Patch13: libtiff-CVE-2009-5022.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: zlib-devel zlib libjpeg-devel libjpeg
|
|
+BuildRequires: zlib-devel libjpeg-devel
|
|
-Requires: zlib libjpeg
|
|
|
|
%define LIBVER %(echo %{version} | cut -f-2 -d.)
|
|
%define LIBVER %(echo %{version} | cut -f-2 -d.)
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
+Packager: daisuke, iwamoto
|
|
|
|
|
|
%description
|
|
%description
|
|
The libtiff package contains a library of functions for manipulating
|
|
The libtiff package contains a library of functions for manipulating
|
|
@@ -108,19 +96,7 @@ install the libtiff package.
|
|
%prep
|
|
%prep
|
|
%setup -q -n tiff-%{version}
|
|
%setup -q -n tiff-%{version}
|
|
|
|
|
|
-# %patch1 -p1 -b .acversion
|
|
+%patch1 -p1 -b .CVE-2012-1173
|
|
-# %patch2 -p1 -b .mantypo
|
|
|
|
-# %patch3 -p1 -b .scanlinesize
|
|
|
|
-# %patch4 -p1
|
|
|
|
-# %patch5 -p1
|
|
|
|
-# %patch6 -p1
|
|
|
|
-# %patch7 -p1
|
|
|
|
-# %patch8 -p1
|
|
|
|
-# %patch9 -p1
|
|
|
|
-# %patch10 -p1
|
|
|
|
-# %patch11 -p1
|
|
|
|
-# %patch12 -p1
|
|
|
|
-# %patch13 -p1
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --with-jpeg-lib-dir=%{_libdir} --disable-cxx
|
|
%configure --with-jpeg-lib-dir=%{_libdir} --disable-cxx
|
|
@@ -163,7 +139,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/libtiff*.so
|
|
%{_libdir}/libtiff*.so
|
|
%{_libdir}/libtiff*.a
|
|
%{_libdir}/libtiff*.a
|
|
-# %{_libdir}/libtiff*.la
|
|
|
|
%{_mandir}/man3/*
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
## to build compat32 for x86_64 architecture support
|
|
## to build compat32 for x86_64 architecture support
|
|
@@ -176,11 +151,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libtiff.so
|
|
%{_libdir}/libtiff.so
|
|
%{_libdir}/libtiff.a
|
|
%{_libdir}/libtiff.a
|
|
-# %{_libdir}/libtiff.la
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri May 18 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add patch1 to fix CVE-2012-1173
|
|
|
|
+
|
|
* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-1
|
|
* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- drop all patches (are included in new release)
|
|
- drop all patches (are included in new release)
|