packages (DEVEL): libtiff/libtiff.spec - up to 4.0.0beta6 - new version of ...
lisu
lisu at pld-linux.org
Fri Mar 4 15:20:05 CET 2011
Author: lisu Date: Fri Mar 4 14:20:05 2011 GMT
Module: packages Tag: DEVEL
---- Log message:
- up to 4.0.0beta6
- new version of sonames
- use __rm macro and drop obsoleted one
- commented out -sec.patch for now
---- Files affected:
packages/libtiff:
libtiff.spec (1.109 -> 1.109.2.1)
---- Diffs:
================================================================
Index: packages/libtiff/libtiff.spec
diff -u packages/libtiff/libtiff.spec:1.109 packages/libtiff/libtiff.spec:1.109.2.1
--- packages/libtiff/libtiff.spec:1.109 Thu Jul 8 16:02:17 2010
+++ packages/libtiff/libtiff.spec Fri Mar 4 15:20:00 2011
@@ -3,21 +3,21 @@
# Conditional build:
%bcond_without opengl # do not build OpenGL viewer
#
+%define _beta beta6
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
Summary(pl.UTF-8): Biblioteka do manipulacji plikami w formacie TIFF
Summary(tr.UTF-8): TIFF dosyalarını işleme kitaplığı
Name: libtiff
-Version: 3.9.4
-Release: 2
+Version: 4.0.0
+Release: 0.%{_beta}.1
License: BSD-like
Group: Libraries
-Source0: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz
-# Source0-md5: 2006c1bdd12644dbf02956955175afd6
+Source0: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}%{_beta}.tar.gz
+# Source0-md5: 6a1e51841a5a5062cc381e34a48122a0
Patch0: %{name}-sec.patch
Patch1: %{name}-glut.patch
-Patch2: %{name}-CVE-2009-2285.patch
URL: http://www.remotesensing.org/libtiff/
%{?with_opengl:BuildRequires: OpenGL-glut-devel}
BuildRequires: autoconf >= 2.64
@@ -26,6 +26,7 @@
BuildRequires: libjpeg-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:2.2
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -161,10 +162,11 @@
tiffgt - program do oglądania plików tiff oparty o OpenGL.
%prep
-%setup -q -n tiff-%{version}
-%patch0 -p1
+%setup -q -n tiff-%{version}%{_beta}
+# TODO: check
+#%%patch0 -p1
%patch1 -p0
-%patch2 -p1
+%{__sed} -i 's,html,,' Makefile.am
%{__rm} m4/{libtool,lt*}.m4
@@ -186,7 +188,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf html{,/*}/Makefile* $RPM_BUILD_ROOT%{_docdir}/tiff-%{version}
+%{__rm} -r html{,/*}/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT
@@ -198,7 +200,7 @@
%defattr(644,root,root,755)
%doc COPYRIGHT ChangeLog README TODO
%attr(755,root,root) %{_libdir}/libtiff.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtiff.so.3
+%attr(755,root,root) %ghost %{_libdir}/libtiff.so.5
%files devel
%defattr(644,root,root,755)
@@ -216,7 +218,7 @@
%files cxx
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libtiffxx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtiffxx.so.3
+%attr(755,root,root) %ghost %{_libdir}/libtiffxx.so.5
%files cxx-devel
%defattr(644,root,root,755)
@@ -250,6 +252,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.109.2.1 2011/03/04 14:20:00 lisu
+- up to 4.0.0beta6
+- new version of sonames
+- use __rm macro and drop obsoleted one
+- commented out -sec.patch for now
+
Revision 1.109 2010/07/08 14:02:17 glen
- builds with libtool 2.2.10
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtiff/libtiff.spec?r1=1.109&r2=1.109.2.1&f=u
More information about the pld-cvs-commit
mailing list