packages: libtiff/libtiff.spec, libtiff/libtiff-sec.patch (REMOVED)=?UTF-8?Q?=20?=- updat...

qboosh qboosh at pld-linux.org
Tue Feb 21 17:37:38 CET 2012


Author: qboosh                       Date: Tue Feb 21 16:37:38 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 4.0.1
- sec patch finally obsolete
- added option to build with dual mode 8/12-bit libjpeg

---- Files affected:
packages/libtiff:
   libtiff.spec (1.113 -> 1.114) , libtiff-sec.patch (1.6 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/libtiff/libtiff.spec
diff -u packages/libtiff/libtiff.spec:1.113 packages/libtiff/libtiff.spec:1.114
--- packages/libtiff/libtiff.spec:1.113	Sat Dec 24 11:16:27 2011
+++ packages/libtiff/libtiff.spec	Tue Feb 21 17:37:33 2012
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
-# TODO: libjpeg12 support (separate libjpeg compiled with 12-bits/sample)
 #
 # Conditional build:
-%bcond_without opengl	# do not build OpenGL viewer
+%bcond_without	opengl	# do not build OpenGL viewer
+%bcond_with	jpeg12	# dual 8/12-bit libjpeg mode
 #
 Summary:	Library for handling TIFF files
 Summary(de.UTF-8):	Library zum Verwalten von TIFF-Dateien
@@ -10,20 +10,20 @@
 Summary(pl.UTF-8):	Biblioteka do manipulacji plikami w formacie TIFF
 Summary(tr.UTF-8):	TIFF dosyalarını işleme kitaplığı
 Name:		libtiff
-Version:	4.0.0
+Version:	4.0.1
 Release:	1
 License:	BSD-like
 Group:		Libraries
 Source0:	http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
-# Source0-md5:	456ad12e7c492b275a0d047f2ba89904
+# Source0-md5:	fae149cc9da35c598d8be897826dfc63
 Patch0:		%{name}-glut.patch
-Patch1:		%{name}-sec.patch
 URL:		http://www.remotesensing.org/libtiff/
 %{?with_opengl:BuildRequires:  OpenGL-glut-devel}
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	jbigkit-devel
 BuildRequires:	libjpeg-devel
+%{?with_jpeg12:BuildRequires:	libjpeg12-devel}
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
 %{?with_opengl:BuildRequires:	xorg-lib-libX11-devel}
@@ -58,6 +58,7 @@
 Requires:	%{name} = %{version}-%{release}
 Requires:	jbigkit-devel
 Requires:	libjpeg-devel
+%{?with_jpeg12:Requires:	libjpeg12-devel}
 Requires:	xz-devel
 Requires:	zlib-devel
 
@@ -166,7 +167,6 @@
 %prep
 %setup -q -n tiff-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -175,7 +175,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	%{!?with_opengl:--without-x}
+	%{!?with_opengl:--without-x} \
+	%{?with_jpeg12:--enable-jpeg12 --with-jpeg12-include-dir=%{_includedir}/libjpeg12 --with-jpeg12-lib=-ljpeg12}
 
 %{__make}
 
@@ -271,6 +272,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.114  2012/02/21 16:37:33  qboosh
+- updated to 4.0.1
+- sec patch finally obsolete
+- added option to build with dual mode 8/12-bit libjpeg
+
 Revision 1.113  2011/12/24 10:16:27  qboosh
 - updated to 4.0.0 (with BigTIFF support; note: new sonames; libtiff 3.9.x left on LIBTIFF_3_9 branch)
 - updated glut,sec patches
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtiff/libtiff.spec?r1=1.113&r2=1.114&f=u



More information about the pld-cvs-commit mailing list