From 185c8e86bd2afa0ea2f9951c35e281568b50f85994ab0a4258c6fc79d114396e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 23 Jul 2007 19:30:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tiff?expand=0&rev=2 --- tiff.changes | 7 +++++++ tiff.spec | 31 +++++++++++++++++-------------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/tiff.changes b/tiff.changes index c07523f..bc102cb 100644 --- a/tiff.changes +++ b/tiff.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 19 15:01:40 CEST 2007 - nadvornik@suse.cz + +- renamed libtiff to libtiff3 +- do not package static libraries +- added zlib-devel to BuildRequires + ------------------------------------------------------------------- Mon Jun 12 13:40:43 CEST 2006 - nadvornik@suse.cz diff --git a/tiff.spec b/tiff.spec index 219deae..57b4589 100644 --- a/tiff.spec +++ b/tiff.spec @@ -1,7 +1,7 @@ # # spec file for package tiff (Version 3.8.2) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,13 +11,13 @@ # norootforbuild Name: tiff -BuildRequires: gcc-c++ libjpeg-devel -License: FSR, Other License(s), see package +BuildRequires: gcc-c++ libjpeg-devel zlib-devel +License: X11/MIT Group: Productivity/Graphics/Convertors Autoreqprov: on URL: http://www.remotesensing.org/libtiff/ Version: 3.8.2 -Release: 6 +Release: 54 Summary: Tools for Converting from and to the Tiff Format Source: tiff-%{version}.tar.bz2 Source1: jpegint.h @@ -37,12 +37,12 @@ Authors: -------- Sam Leffler -%package -n libtiff +%package -n libtiff3 Summary: The Tiff Library (with JPEG and compression support) Group: System/Libraries Autoreqprov: on -%description -n libtiff +%description -n libtiff3 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. @@ -56,7 +56,7 @@ Authors: %package -n libtiff-devel Summary: Development Tools for Programs which will use the libtiff Library Group: Development/Libraries/C and C++ -Requires: libtiff = %{version} libjpeg-devel zlib-devel libstdc++-devel glibc-devel +Requires: libtiff3 = %{version} libjpeg-devel zlib-devel libstdc++-devel glibc-devel %description -n libtiff-devel This package contains the header files and static libraries for @@ -78,7 +78,7 @@ find -type d | xargs chmod 755 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" \ - ./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} + ./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} --disable-static make %install @@ -92,10 +92,11 @@ for f in `find $RPM_BUILD_ROOT/%{_mandir} -type f -print ` ; do done cp %{S:2} . rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff* +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la -%post -n libtiff -p /sbin/ldconfig +%post -n libtiff3 -p /sbin/ldconfig -%postun -n libtiff -p /sbin/ldconfig +%postun -n libtiff3 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT @@ -107,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT %doc README COPYRIGHT %doc %{_mandir}/man1/* -%files -n libtiff +%files -n libtiff3 %defattr(-,root,root) %doc README COPYRIGHT README.SUSE %{_libdir}/*.so.* @@ -115,12 +116,14 @@ rm -rf $RPM_BUILD_ROOT %files -n libtiff-devel %defattr(-,root,root) /usr/include/* -%{_libdir}/*.a %{_libdir}/*.so -%{_libdir}/*.la %doc %{_mandir}/man3/* -%changelog -n tiff +%changelog +* Thu Jul 19 2007 - nadvornik@suse.cz +- renamed libtiff to libtiff3 +- do not package static libraries +- added zlib-devel to BuildRequires * Mon Jun 12 2006 - nadvornik@suse.cz - fixed a typo in the previous change [#179051] * Fri Jun 02 2006 - nadvornik@suse.cz