packages (DEVEL): libtiff/libtiff.spec - updated to 4.0.0beta7 - package .p...

lisu lisu at pld-linux.org
Fri Apr 15 15:09:00 CEST 2011


Author: lisu                         Date: Fri Apr 15 13:09:00 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- updated to 4.0.0beta7
- package .pc for libtiff, drop libtool file
- drop useless doc dir
- drop obsoleted -sec.patch

---- Files affected:
packages/libtiff:
   libtiff.spec (1.109.2.1 -> 1.109.2.2) 

---- Diffs:

================================================================
Index: packages/libtiff/libtiff.spec
diff -u packages/libtiff/libtiff.spec:1.109.2.1 packages/libtiff/libtiff.spec:1.109.2.2
--- packages/libtiff/libtiff.spec:1.109.2.1	Fri Mar  4 15:20:00 2011
+++ packages/libtiff/libtiff.spec	Fri Apr 15 15:08:54 2011
@@ -3,7 +3,7 @@
 # Conditional build:
 %bcond_without opengl	# do not build OpenGL viewer
 #
-%define		_beta	beta6
+%define		_beta	beta7
 Summary:	Library for handling TIFF files
 Summary(de.UTF-8):	Library zum Verwalten von TIFF-Dateien
 Summary(fr.UTF-8):	Bibliothèque de gestion des fichiers TIFF
@@ -15,9 +15,8 @@
 License:	BSD-like
 Group:		Libraries
 Source0:	ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}%{_beta}.tar.gz
-# Source0-md5:	6a1e51841a5a5062cc381e34a48122a0
-Patch0:		%{name}-sec.patch
-Patch1:		%{name}-glut.patch
+# Source0-md5:	7a8252fbc6287ff2aa9b26062041a33e
+Patch0:		%{name}-glut.patch
 URL:		http://www.remotesensing.org/libtiff/
 %{?with_opengl:BuildRequires:  OpenGL-glut-devel}
 BuildRequires:	autoconf >= 2.64
@@ -163,9 +162,7 @@
 
 %prep
 %setup -q -n tiff-%{version}%{_beta}
-# TODO: check
-#%%patch0 -p1
-%patch1 -p0
+%patch0 -p1
 %{__sed} -i 's,html,,' Makefile.am
 
 %{__rm} m4/{libtool,lt*}.m4
@@ -188,7 +185,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} -r html{,/*}/Makefile*
+%{__rm} -rf html{,/*}/Makefile*
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtiff.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -206,10 +205,10 @@
 %defattr(644,root,root,755)
 %doc html/*
 %attr(755,root,root) %{_libdir}/libtiff.so
-%{_libdir}/libtiff.la
 %{_includedir}/tiff*.h
 %{_mandir}/man3/TIFF*.3tiff*
 %{_mandir}/man3/libtiff.3tiff*
+%{_pkgconfigdir}/libtiff-4.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -252,6 +251,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109.2.2  2011/04/15 13:08:54  lisu
+- updated to 4.0.0beta7
+- package .pc for libtiff, drop libtool file
+- drop useless doc dir
+- drop obsoleted -sec.patch
+
 Revision 1.109.2.1  2011/03/04 14:20:00  lisu
 - up to 4.0.0beta6
 - new version of sonames
================================================================

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



More information about the pld-cvs-commit mailing list