3 |
%define develname %mklibname tiff -d |
%define develname %mklibname tiff -d |
4 |
%define staticdevelname %mklibname tiff -d -s |
%define staticdevelname %mklibname tiff -d -s |
5 |
|
|
6 |
|
%define subrel 1 |
7 |
|
|
8 |
Summary: A library of functions for manipulating TIFF format image files |
Summary: A library of functions for manipulating TIFF format image files |
9 |
Name: libtiff |
Name: libtiff |
10 |
Version: 3.9.5 |
Version: 3.9.5 |
15 |
Source0: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz |
Source0: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz |
16 |
Patch1: tiff-3.9.1-no_contrib.diff |
Patch1: tiff-3.9.1-no_contrib.diff |
17 |
Patch10: tiff-3.9.2-libjpeg7+.diff |
Patch10: tiff-3.9.2-libjpeg7+.diff |
18 |
|
Patch11: tiff-3.9.1-CVE-2011-0191.diff |
19 |
BuildRequires: jbig-devel |
BuildRequires: jbig-devel |
20 |
BuildRequires: libjpeg-devel |
BuildRequires: libjpeg-devel |
21 |
BuildRequires: mesaglut-devel |
BuildRequires: mesaglut-devel |
22 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
23 |
|
|
24 |
%description |
%description |
25 |
The libtiff package contains a library of functions for manipulating TIFF |
The libtiff package contains a library of functions for manipulating TIFF |
80 |
%setup -q -n tiff-%{version} |
%setup -q -n tiff-%{version} |
81 |
%patch1 -p1 |
%patch1 -p1 |
82 |
%patch10 -p0 -b .libjpeg7 |
%patch10 -p0 -b .libjpeg7 |
83 |
|
%patch11 -p0 -b .CVE-2011-0191 |
84 |
|
|
85 |
# cleanup |
# cleanup |
86 |
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do |
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do |