Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37486985
en ru br
Репозитории ALT
S:4.4.0-alt4
5.1: 3.9.5-alt1.M50P.1
4.1: 3.8.2-alt2.M41.4
4.0: 3.8.2-alt2
+updates:3.8.2-alt2
3.0: 3.7.2-alt5
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libtiff

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libtiff
Version: 3.8.2
Release: alt2.M41.3

Summary: A library of functions for manipulating TIFF format image files
License: BSD-style
Group: System/Libraries
Url: http://www.remotesensing.org/libtiff/
Packager: Dmitry V. Levin <ldv at altlinux.org>

%define srcname tiff-%version
# ftp://ftp.remotesensing.org/libtiff/%srcname.tar.gz
Source: %srcname.tar

Patch1: libtiff-3.8.2-google-CVE-2006-3459-3465.patch
Patch2: libtiff-3.8.2-deb-tiffsplit-CVE-2006-2656.patch
Patch3: libtiff-3.8.2-deb-tiff2pdf-CVE-2006-2193.patch
Patch4: libtiff-3.8.2-cvs-tiff2pdf-compression.patch
Patch5: libtiff-3.8.2-rh-man-tiffset.patch
Patch11: libtiff-3.8.2-deb-soname.patch
Patch12: libtiff-3.8.2-alt-tiffdump.patch
Patch13: libtiff-3.7.4-alt-tif_print-size.patch
Patch14: libtiff-3.7.4-alt-gl-fixes.patch
Patch15: libtiff-3.8.2-apple-CVE-2008-2327.patch
Patch16: libtiff-3.8.2-rh-CVE-2009-2347.patch
Patch17: libtiff-3.8.2-CVE-2010-1411.patch
Patch18: libtiff-3.8.2-ubuntu-CVE-2009-2285.patch

%def_disable static
%def_disable cxx

# Automatically added by buildreq on Fri Mar 30 2007

BuildRequires: gcc-c++ libXi-devel libXmu-devel libglut-devel libjpeg-devel libmesa-devel zlib-devel

%package utils
Summary: Programs for manipulating TIFF format image files
Group: Graphics
Requires: %name = %version-%release

%package -n tiffgt
Summary: Program for viewing TIFF format image files
Group: Graphics
Requires: %name = %version-%release

%package devel
Summary: Development tools for programs which will use the tiff library
Group: Development/C
Requires: %name = %version-%release

%package devel-static
Summary: Static tiff library
Group: Development/C
Requires: %name-devel = %version-%release

%description
This package contains a library of functions for manipulating
TIFF (Tagged Image File Format) image format files.  TIFF is a widely
used file format for bitmapped images.  TIFF files usually end in the
.tif extension and they are often quite large.

%description utils
This package contains simple client programs for accessing
the tiff functions.

%description -n tiffgt
This package contains tiffgt - a TIFF file display program.

%description devel
This package contains the header files for developing programs which
will manipulate TIFF format image files using the tiff library.

%description devel-static
This package contains static %name library.

%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17
%patch18 -p1

find -type f -name \*.orig -delete
:>port/dummy.c

%build
%add_optflags -D_GNU_SOURCE
%undefine __libtoolize
%configure %{subst_enable static} %{subst_enable cxx}
%make_build X_PRE_LIBS= GLUT_CFLAGS= GLUT_CFLAGS= GLUT_LIBS=-lglut GLU_CFLAGS= GLU_LIBS= GL_CFLAGS= GL_LIBS=
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}

%install
%makeinstall

%define docdir %_docdir/%name-%version
mv %buildroot%_docdir/tiff-%version %buildroot%docdir
bzip2 -9 %buildroot%docdir/ChangeLog

%files
%_libdir/%name.so.?*
%dir %docdir
%docdir/[A-Z]*

%files utils
%_bindir/*
%_man1dir/*.*
%exclude %_bindir/tiffgt
%exclude %_man1dir/tiffgt.*

%files -n tiffgt
%_bindir/tiffgt
%_man1dir/tiffgt.*

%files devel
%_libdir/%name.so
%_includedir/*.h*
%_man3dir/*.*
%dir %docdir
%docdir/html

%if_enabled static
%files devel-static
%_libdir/%name.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin