2006-12-19 00:18:03 +01:00
|
|
|
#
|
|
|
|
# spec file for package tiff (Version 3.8.2)
|
|
|
|
#
|
2008-04-10 15:35:22 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:18:03 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:35:22 +02:00
|
|
|
|
2006-12-19 00:18:03 +01:00
|
|
|
Name: tiff
|
2007-07-23 21:30:20 +02:00
|
|
|
BuildRequires: gcc-c++ libjpeg-devel zlib-devel
|
|
|
|
License: X11/MIT
|
2006-12-19 00:18:03 +01:00
|
|
|
Group: Productivity/Graphics/Convertors
|
2008-04-10 15:35:22 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://www.remotesensing.org/libtiff/
|
2006-12-19 00:18:03 +01:00
|
|
|
Version: 3.8.2
|
2008-05-22 05:01:08 +02:00
|
|
|
Release: 106
|
2006-12-19 00:18:03 +01:00
|
|
|
Summary: Tools for Converting from and to the Tiff Format
|
|
|
|
Source: tiff-%{version}.tar.bz2
|
|
|
|
Source1: jpegint.h
|
|
|
|
Source2: README.SUSE
|
|
|
|
Patch2: tiff-%{version}-seek.patch
|
|
|
|
Patch3: tiff-%{version}-tiff2pdf.patch
|
|
|
|
Patch4: tiff-%{version}-tiffsplit-CVE-2006-2656.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the library and support programs for the TIFF
|
|
|
|
image format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Leffler <sam@engr.sgi.com>
|
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%package -n libtiff3
|
2008-04-10 15:35:22 +02:00
|
|
|
License: Any permissive; X11/MIT
|
2006-12-19 00:18:03 +01:00
|
|
|
Summary: The Tiff Library (with JPEG and compression support)
|
|
|
|
Group: System/Libraries
|
2007-07-27 15:59:33 +02:00
|
|
|
Provides: libtiff = %{version}
|
|
|
|
Obsoletes: libtiff <= %{version}
|
2008-04-10 15:35:22 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:18:03 +01:00
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%description -n libtiff3
|
2006-12-19 00:18:03 +01:00
|
|
|
This package includes the tiff libraries. To link a program with
|
|
|
|
libtiff, you will have to add -ljpeg and -lz to include the necessary
|
|
|
|
libjpeg and libz in the linking process.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Leffler <sam@engr.sgi.com>
|
|
|
|
|
|
|
|
%package -n libtiff-devel
|
2008-04-10 15:35:22 +02:00
|
|
|
License: Any permissive
|
2006-12-19 00:18:03 +01:00
|
|
|
Summary: Development Tools for Programs which will use the libtiff Library
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-07-23 21:30:20 +02:00
|
|
|
Requires: libtiff3 = %{version} libjpeg-devel zlib-devel libstdc++-devel glibc-devel
|
2006-12-19 00:18:03 +01:00
|
|
|
|
|
|
|
%description -n libtiff-devel
|
|
|
|
This package contains the header files and static libraries for
|
|
|
|
developing programs which will manipulate TIFF format image files using
|
|
|
|
the libtiff library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%patch4
|
|
|
|
cp %{S:1} libtiff
|
|
|
|
find -type d -name "CVS" | xargs rm -rfv
|
|
|
|
find -type d | xargs chmod 755
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm m4/ltversion.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/libtool.m4
|
|
|
|
autoreconf --force --install -v
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
|
2007-07-23 21:30:20 +02:00
|
|
|
./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} --disable-static
|
2006-12-19 00:18:03 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
for f in `find $RPM_BUILD_ROOT/%{_mandir} -type f -print ` ; do
|
|
|
|
if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then
|
|
|
|
linkto=`sed -e "s|^\.so ||" $f`
|
|
|
|
[ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
cp %{S:2} .
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff*
|
2007-07-23 21:30:20 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2006-12-19 00:18:03 +01:00
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%post -n libtiff3 -p /sbin/ldconfig
|
2006-12-19 00:18:03 +01:00
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%postun -n libtiff3 -p /sbin/ldconfig
|
2006-12-19 00:18:03 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
%doc html
|
|
|
|
%doc README COPYRIGHT
|
|
|
|
%doc %{_mandir}/man1/*
|
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%files -n libtiff3
|
2006-12-19 00:18:03 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README COPYRIGHT README.SUSE
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files -n libtiff-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
|
2007-07-23 21:30:20 +02:00
|
|
|
%changelog
|
2008-05-22 05:01:08 +02:00
|
|
|
* Sun May 18 2008 coolo@suse.de
|
|
|
|
- fix rename of xxbit packages
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Fri Jul 27 2007 ro@suse.de
|
2007-07-27 15:59:33 +02:00
|
|
|
- add provides and obsoletes for libtiff to libtiff3 package
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Jul 19 2007 nadvornik@suse.cz
|
2007-07-23 21:30:20 +02:00
|
|
|
- renamed libtiff to libtiff3
|
|
|
|
- do not package static libraries
|
|
|
|
- added zlib-devel to BuildRequires
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Jun 12 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed a typo in the previous change [#179051]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Jun 02 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed buffer overflow in tiffsplit (CVE-2006-2656) [#179051]
|
|
|
|
- fixed buffer overflow in tiff2pdf [#179587]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Apr 12 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.8.2 [#165237]
|
|
|
|
* bugfix release
|
|
|
|
* fixed several segfaults caused by incorrect tiff data
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Feb 07 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed crash on certain tiff images CVE-2006-0405 [#145757]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Jan 12 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- compile with -fstack-protector
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Jan 03 2006 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.8.0:
|
|
|
|
* Read-only support for custom directories (e.g. EXIF directory)
|
|
|
|
* Preliminary support for MS MDI format
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Oct 10 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- built with -fno-strict-aliasing
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Jul 15 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.7.3
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue May 24 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.7.2
|
|
|
|
- fixed 64bit bug in ppm2tiff [#85440]
|
|
|
|
- fixed buffer overflow in BitsPerSample [#82787]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Feb 17 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed reading of alpha channel
|
2008-04-10 15:35:22 +02:00
|
|
|
* Sun Jan 16 2005 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- added c++ to neededforbuild
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Jan 07 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- use typedef int int32 on all architectures
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jan 05 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- disabled c++ API as it would add a dependency on c++ libraries
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Jan 03 2005 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.7.1: bugfix release
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Dec 15 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- added README.SUSE pointing to the documentation [#48601]
|
|
|
|
- moved man3 to devel subpackage
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Oct 22 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.7.0 - security fixes are included in mainstream
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Oct 20 2004 meissner@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Initialize ycbcrsubsampling to be not 0 in case
|
|
|
|
of bad tiffs to avoid denial of service by divison/0.
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Oct 12 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- do not call TIFFTileSize with uninitialized values [#44635]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Oct 07 2004 pmladek@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed much more buffer overflows (the older tiff-alt-bound-CheckMalloc.patch
|
|
|
|
is included in the new libtiff-3.6.1-alt-bound.patch now) [#44635]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Sep 30 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed more buffer overflows [#44635]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Sep 21 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed multiple buffer overflows - CAN-2004-0803 [#44635]
|
|
|
|
- disabled old jpeg support because of security problems [#45116]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Aug 31 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- added LZW support
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Aug 25 2004 kukuk@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Create -devel subpackage
|
|
|
|
- Add libjpeg-devel to neededforbuild
|
|
|
|
- Avoid /bin/sh in PreRequires
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Jul 02 2004 max@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- port.h is needed as well.
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu May 06 2004 max@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Install private headers (tif_dir.h, tiffiop.h).
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Apr 27 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed tif_fax3 from cvs [#39515]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Feb 09 2004 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.6.1
|
|
|
|
- fixed dangerous compiler warnings
|
2008-04-10 15:35:22 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- add %%defattr and %%run_ldconfig
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed May 21 2003 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- remove cvs subdirs
|
2008-04-10 15:35:22 +02:00
|
|
|
* Sat Jul 27 2002 kukuk@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Provide libtiff-devel in libtiff [Bug #17260]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Jul 26 2002 adrian@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- fix neededforbuild
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jul 03 2002 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed segfault in fax2tiff [bug #16818]
|
|
|
|
- fixed size of int32 on 64bit architectures
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jun 26 2002 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- fixed directory permissions
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jun 19 2002 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- compiled with OJPEG_SUPPORT [bug #16408]
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri Apr 19 2002 kukuk@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Fix to compile on lib64 architectures
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Feb 06 2002 coolo@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- use %%_libdir
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Jan 24 2002 okir@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Fixed a tempfile race in fax2ps
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Dec 11 2001 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- updated to 3.5.7: bugfix release
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu May 10 2001 mfabian@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- bzip2 sources
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu Mar 15 2001 schwab@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Fix for ia64.
|
2008-04-10 15:35:22 +02:00
|
|
|
* Fri May 26 2000 bubnikv@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- sorted
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu May 25 2000 schwab@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Fix dso configure check for ia64.
|
2008-04-10 15:35:22 +02:00
|
|
|
* Thu May 11 2000 nadvornik@suse.cz
|
2006-12-19 00:18:03 +01:00
|
|
|
- update to 3.5.5
|
|
|
|
- added BuildRoot
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue Jan 25 2000 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- manpages to /usr/share using macro
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Jan 03 2000 schwab@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Update to 3.5.4 (Y2K fix)
|
2008-04-10 15:35:22 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jan 13 1999 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- respect systems where libc is libc.so.6.1 (alpha)
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Nov 25 1998 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- update to 3.4 (final) named 3.4.final for rpm
|
|
|
|
- moved from /usr/X11R6 to /usr
|
2008-04-10 15:35:22 +02:00
|
|
|
* Wed Jul 29 1998 werner@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- Link shared libs explicit with -lc
|
2008-04-10 15:35:22 +02:00
|
|
|
* Tue May 12 1998 ro@suse.de
|
2006-12-19 00:18:03 +01:00
|
|
|
- extracted package from libgr / build from own sources
|