From d0108a5fe37124116d4181cf948cbe16f17fe9a1 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:43:54 +0000 Subject: [PATCH] auto-import changelog data from libtiff-3.5.5-7.src.rpm Mon Aug 07 2000 Crutcher Dunnavant - added a tiff-to-ps.fpi filter for printing Thu Jul 13 2000 Prospector - automatic rebuild Thu Jul 13 2000 Nalin Dahyabhai - apply Peter Skarpetis's fix for the 32-bit conversion Mon Jul 03 2000 Nalin Dahyabhai - make man pages non-executable (#12811) Mon Jun 12 2000 Nalin Dahyabhai - remove CVS repo info from data directories Thu May 18 2000 Nalin Dahyabhai - fix build rooting - fix syntax error in configure script - move man pages to /usr/man Wed May 17 2000 Nalin Dahyabhai - rebuild for an errata release Wed Mar 29 2000 Nalin Dahyabhai - update to 3.5.5, which integrates our fax2ps fixes and the glibc fix Tue Mar 28 2000 Nalin Dahyabhai - fix fax2ps swapping height and width in the bounding box Mon Mar 27 2000 Nalin Dahyabhai - move man pages from devel package to the regular one - integrate Frank Warmerdam's fixed .fax handling code (keep until next release of libtiff) - fix fax2ps breakage (bug #8345) Sat Feb 05 2000 Nalin Dahyabhai - set MANDIR=man3 to make multifunction man pages friendlier Mon Jan 31 2000 Nalin Dahyabhai - fix URLs Fri Jan 28 2000 Nalin Dahyabhai - link shared library against libjpeg and libz Tue Jan 18 2000 Nalin Dahyabhai - enable zip and jpeg codecs - change defattr in normal package to 0755 - add defattr to -devel package Wed Dec 22 1999 Bill Nottingham - update to 3.5.4 Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) Wed Jan 13 1999 Cristian Gafton - build for glibc 2.1 Wed Jun 10 1998 Prospector System - translations modified for de Wed Jun 10 1998 Michael Fulbright - rebuilt against fixed jpeg libs (libjpeg-6b) Thu May 07 1998 Prospector System - translations modified for de, fr, tr Mon Oct 13 1997 Donnie Barnes - new version to replace the one from libgr - patched for glibc - added shlib support --- .cvsignore | 1 + libtiff.spec | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 180 insertions(+) create mode 100644 libtiff.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b5fa635 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tiff-v3.5.5.tar.gz diff --git a/libtiff.spec b/libtiff.spec new file mode 100644 index 0000000..68da8e9 --- /dev/null +++ b/libtiff.spec @@ -0,0 +1,178 @@ +Summary: A library of functions for manipulating TIFF format image files. +Name: libtiff +Version: 3.5.5 +Release: 7 +Copyright: distributable +Group: System Environment/Libraries +Source0: http://www.libtiff.org/tiff-v%{version}.tar.gz +Source1: tiff-to-ps.fpi +Patch0: tiff-v3.5-shlib.patch +Patch1: libtiff-v3.4-arm.patch +Patch2: libtiff-v3.5.4-codecs.patch +Patch3: libtiff-v3.5.4-mandir.patch +Patch4: libtiff-v3.5.5-buildroot.patch +Patch5: libtiff-v3.5.5-test.patch +Patch6: libtiff-v3.5.5-steve.patch +URL: http://www.libtiff.org/ +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: zlib-devel zlib libjpeg-devel libjpeg +Requires: zlib libjpeg +%define LIBVER %(echo %{version} | cut -f-2 -d.) + +%description +The libtiff package contains a library of functions for manipulating +TIFF (Tagged Image File Format) image format files. TIFF is a widely +used file format for bitmapped images. TIFF files usually end in the +.tif extension and they are often quite large. + +The libtiff package should be installed if you need to manipulate TIFF +format image files. + +%package devel +Summary: Development tools for programs which will use the libtiff library. +Group: Development/Libraries +Requires: libtiff + +%description devel +This package contains the header files and static libraries for +developing programs which will manipulate TIFF format image files +using the libtiff library. + +If you need to develop programs which will manipulate TIFF format +image files, you should install this package. You'll also need to +install the libtiff package. + +%prep +%setup -q -n tiff-v%{version} +%patch0 -p1 -b .shlib +%patch1 -p1 -b .arm +%patch2 -p1 -b .codecs +%patch3 -p1 -b .mandir +%patch4 -p1 -b .buildroot +%patch5 -p1 -b .test +%patch6 -p1 -b .steve +find . -type d -name CVS | xargs -r rm -frv + +%build + +./configure --target=%{_target_platform} << EOF +no +%{_bindir} +%{_libdir} +%{_includedir} +%{_mandir} +$RPM_DOC_DIR/%{name}-%{version} +bsd-source-cat +yes +EOF +cd libtiff +ln -s libtiff.so.%{LIBVER} libtiff.so +cd .. +make COPTS="$RPM_OPT_FLAGS" LDOPTS="-s" + +%install +[ "$RPM_BUILD_DIR" ] && rm -fr $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_includedir},%{_mandir}} +make install +install -m755 libtiff/libtiff.so.%{LIBVER} $RPM_BUILD_ROOT%{_libdir} +ln -sf libtiff.so.%{LIBVER} $RPM_BUILD_ROOT%{_libdir}/libtiff.so + +mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/rhs/rhs-printfilters +install -m755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_prefix}/lib/rhs/rhs-printfilters + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc COPYRIGHT README VERSION +%{_bindir}/* +%{_libdir}/libtiff.so.%{LIBVER} +%{_mandir}/man1/* +%{_prefix}/lib/rhs/*/* + +%files devel +%defattr(-,root,root) +%doc TODO html +%{_includedir}/* +%{_libdir}/libtiff.so +%{_libdir}/libtiff.a +%{_mandir}/man3/* + +%changelog +* Tue Aug 7 2000 Crutcher Dunnavant +- added a tiff-to-ps.fpi filter for printing + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Thu Jul 13 2000 Nalin Dahyabhai +- apply Peter Skarpetis's fix for the 32-bit conversion + +* Mon Jul 3 2000 Nalin Dahyabhai +- make man pages non-executable (#12811) + +* Mon Jun 12 2000 Nalin Dahyabhai +- remove CVS repo info from data directories + +* Thu May 18 2000 Nalin Dahyabhai +- fix build rooting +- fix syntax error in configure script +- move man pages to %{_mandir} + +* Wed May 17 2000 Nalin Dahyabhai +- rebuild for an errata release + +* Wed Mar 29 2000 Nalin Dahyabhai +- update to 3.5.5, which integrates our fax2ps fixes and the glibc fix + +* Tue Mar 28 2000 Nalin Dahyabhai +- fix fax2ps swapping height and width in the bounding box + +* Mon Mar 27 2000 Nalin Dahyabhai +- move man pages from devel package to the regular one +- integrate Frank Warmerdam's fixed .fax handling code (keep until next release + of libtiff) +- fix fax2ps breakage (bug #8345) + +* Sat Feb 05 2000 Nalin Dahyabhai +- set MANDIR=man3 to make multifunction man pages friendlier + +* Mon Jan 31 2000 Nalin Dahyabhai +- fix URLs + +* Fri Jan 28 2000 Nalin Dahyabhai +- link shared library against libjpeg and libz + +* Tue Jan 18 2000 Nalin Dahyabhai +- enable zip and jpeg codecs +- change defattr in normal package to 0755 +- add defattr to -devel package + +* Wed Dec 22 1999 Bill Nottingham +- update to 3.5.4 + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 6) + +* Wed Jan 13 1999 Cristian Gafton +- build for glibc 2.1 + +* Wed Jun 10 1998 Prospector System +- translations modified for de + +* Wed Jun 10 1998 Michael Fulbright +- rebuilt against fixed jpeg libs (libjpeg-6b) + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Mon Oct 13 1997 Donnie Barnes +- new version to replace the one from libgr +- patched for glibc +- added shlib support diff --git a/sources b/sources index e69de29..fc3d1a8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +407d65a98c7621ad6e2c64cd3d1e7a40 tiff-v3.5.5.tar.gz