libtiff3-vl.spec 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A library of functions for manipulating TIFF format image files.
  3. Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
  4. Name: libtiff3
  5. Version: 3.9.5
  6. Release: 4%{_dist_release}
  7. License: distributable
  8. Group: System Environment/Libraries
  9. Source0: http://www.libtiff.org/tiff-%{version}.tar.gz
  10. URL: http://www.remotesensing.org/libtiff/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: zlib-devel zlib libjpeg-devel libjpeg
  13. %define LIBVER %(echo %{version} | cut -f-2 -d.)
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. The libtiff package contains a library of functions for manipulating
  18. TIFF (Tagged Image File Format) image format files. TIFF is a widely
  19. used file format for bitmapped images. TIFF files usually end in the
  20. .tif extension and they are often quite large.
  21. libtiff3 is compatibility package for libtiff-3.x
  22. %description -l ja
  23. libtiff パッケージには TIFF (Tagged Image File Format) 画像ファイルを
  24. 扱う各種ライブラリが収められています.TIFF はビットマップ画像を扱う際に
  25. 広く使われているフォーマットです.TIFF ファイルは通常 .tif のファイル
  26. 拡張子が使われ,サイズは概して大きめです.
  27. libtiff 3.x を利用するソフトウエアのための互換パッケージです。
  28. ## to build compat32 for x86_64 architecture support
  29. %package -n compat32-%{name}
  30. Summary: A library of functions for manipulating TIFF format image files.
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}
  33. Obsoletes: compat32-libtiff.32bit < 4.0
  34. %description -n compat32-%{name}
  35. The libtiff package contains a library of functions for manipulating
  36. TIFF (Tagged Image File Format) image format files. TIFF is a widely
  37. used file format for bitmapped images. TIFF files usually end in the
  38. .tif extension and they are often quite large.
  39. The libtiff package should be installed if you need to manipulate TIFF
  40. format image files.
  41. #'
  42. %prep
  43. %setup -q -n tiff-%{version}
  44. %build
  45. %configure --with-jpeg-lib-dir=%{_libdir} --disable-cxx
  46. %__make %{?_smp_mflags}
  47. %__make clean
  48. %install
  49. rm -fr $RPM_BUILD_ROOT
  50. %makeinstall
  51. rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff-%{version}
  52. rm -rf $RPM_BUILD_ROOT/%{_bindir}
  53. rm -rf $RPM_BUILD_ROOT/%{_includedir}
  54. rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.{a,la,so}
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %if %{build_compat32}
  58. %post -n compat32-%{name} -p /sbin/ldconfig
  59. %postun -n compat32-%{name} -p /sbin/ldconfig
  60. %endif
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %files
  64. %defattr(-,root,root)
  65. %doc COPYRIGHT README RELEASE-DATE VERSION
  66. %{_libdir}/libtiff*.so.*
  67. ## to build compat32 for x86_64 architecture support
  68. %if %{build_compat32}
  69. %files -n compat32-%{name}
  70. %defattr(-,root,root)
  71. %{_libdir}/libtiff.so.*
  72. %endif
  73. %changelog
  74. * Mon May 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.5-4
  75. - O: compat32-libtiff.32bit < 4.0
  76. * Sun May 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.5-3
  77. - add O: compat32-libtiff < 4.0 for compat32-libtiff3
  78. - fix R: for compat32-libtiff3
  79. * Fri May 18 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.5-2
  80. - build as compat package
  81. * Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-1
  82. - new upstream release
  83. - drop all patches (are included in new release)
  84. - remove if-endif for Vine 4.x
  85. - add Vendor/Distri tags
  86. * Sun Apr 24 2011 IWAI, Masaharu <iwai@alib.jp> 3.9.4-3
  87. - add some patches from RHEL6 3.9.4-1.el6_0.3
  88. - fix for CVE-2011-0192 (Patch11)
  89. - fix for CVE-2011-1167 (Patch12)
  90. - fix for CVE-2009-5022 (Patch13)
  91. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.9.4-2
  92. - rebuilt with rpm-4.8.1-3
  93. * Mon Jul 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.4-1
  94. - new upstream release
  95. - add patch4-10 from fedora
  96. * Thu Feb 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.2-1
  97. - new upstream release
  98. - remove BC: freeglut-devel
  99. - add patch1,2,4,5 from fedora
  100. - drop obsolete patches
  101. * Fri Jul 17 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-9
  102. - change if-endif to make both i386 and compat32 packages
  103. * Wed Jul 15 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-8
  104. - add patch5 for fix CVE-2009-2347 (Integer Overflow)
  105. * Tue Jun 23 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-7
  106. - add patch4 for fix lzw underflow security issue
  107. - add if branch Vine4/5 in devel files section (*.la are included or not)
  108. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 3.8.2-6vl4
  109. - removed *.la
  110. - spec in utf-8
  111. * Tue Sep 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.8.2-5vl4
  112. - fix changelog typo (3.8.4 -> 3.8.2)
  113. - new versioning policy
  114. - add patch3 for fix CVE-2008-2327 (LZW Data Decoding Buffer Underflow)
  115. * Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.8.2-0vl4
  116. - fix libdir in libtiff.la
  117. - add BuildConflicts: freeglut-devel
  118. * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.8.2-0vl3
  119. - rebuilt without glut-devel
  120. * Fri Aug 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-0vl2
  121. - add Patch2 to fix multiple vulnerabilities (CVE-2006-346[012345])
  122. * Fri Jun 9 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.8.2-0vl1
  123. - new upstream release
  124. - remove obsolete patches
  125. - add Patch0 and Patch1 from Debian (CVE-2006-2193, CVE-2006-2656)
  126. - delete duped docs
  127. - add --disable-cxx to configure option
  128. - add *.la to devel package
  129. * Sun Feb 12 2006 Shu KONNO <owa@bg.wakwak.com> 3.7.1-0vl2
  130. - added compat32-* packages for x86_64 architecture support
  131. - added --with-jpeg-lib-dir=%{_libdir} to configure
  132. * Wed Feb 09 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.7.1-0vl1
  133. - new upstream release
  134. - remove obsolete patches
  135. - cleanup specs
  136. * Fri Jan 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl7
  137. - rebuild for Vine3.1
  138. * Wed Jan 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl6
  139. - add Patch15-16 from Red Hat (CAN-2004-1183) (CAN-2004-1308)
  140. - update URL
  141. * Sun Oct 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl1.1
  142. - build for Vine2.6
  143. * Fri Oct 29 2004 IWAI, Masaharu <iwai@alib.jp> 3.5.7-6vl5
  144. - fix changelog: proper name
  145. * Wed Oct 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl4
  146. - add symlink to shared lib by running ldconfig at compile time
  147. * Tue Oct 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl3
  148. - add patch8-13 from Fedora Core
  149. --* Thu Oct 07 2004 Matthias Clasen <mclasen@redhat.com>
  150. --- fix some integer and buffer overflows (#134853, #134848)
  151. - add patch14 from SUSE LINUX
  152. --* Wed Oct 20 2004 - meissner@suse.de
  153. --- Do not crash if we are using unsupported codecs (like OJPEG).
  154. * Sun Jan 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.7-6vl2
  155. - rebuild with new toolchains
  156. - to use License instead of Copyright
  157. * Fri Jul 05 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
  158. - 3.5.7-6vl1
  159. - based on 3.5.7-6 from Rawhide
  160. * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  161. - 3.5.5-8vl1
  162. - based on 3.5.5-8 from Rawhide
  163. - added Japanese summary and description
  164. * Tue Dec 19 2000 Philipp Knirsch <pknirsch@redhat.de>
  165. - rebuild
  166. * Tue Aug 7 2000 Crutcher Dunnavant <crutcher@redhat.com>
  167. - added a tiff-to-ps.fpi filter for printing
  168. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  169. - automatic rebuild
  170. * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
  171. - apply Peter Skarpetis's fix for the 32-bit conversion
  172. * Mon Jul 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  173. - make man pages non-executable (#12811)
  174. * Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com>
  175. - remove CVS repo info from data directories
  176. * Thu May 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  177. - fix build rooting
  178. - fix syntax error in configure script
  179. - move man pages to %{_mandir}
  180. * Wed May 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  181. - rebuild for an errata release
  182. * Wed Mar 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  183. - update to 3.5.5, which integrates our fax2ps fixes and the glibc fix
  184. * Tue Mar 28 2000 Nalin Dahyabhai <nalin@redhat.com>
  185. - fix fax2ps swapping height and width in the bounding box
  186. * Mon Mar 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  187. - move man pages from devel package to the regular one
  188. - integrate Frank Warmerdam's fixed .fax handling code (keep until next release
  189. of libtiff)
  190. - fix fax2ps breakage (bug #8345)
  191. * Sat Feb 05 2000 Nalin Dahyabhai <nalin@redhat.com>
  192. - set MANDIR=man3 to make multifunction man pages friendlier
  193. * Mon Jan 31 2000 Nalin Dahyabhai <nalin@redhat.com>
  194. - fix URLs
  195. * Fri Jan 28 2000 Nalin Dahyabhai <nalin@redhat.com>
  196. - link shared library against libjpeg and libz
  197. * Tue Jan 18 2000 Nalin Dahyabhai <nalin@redhat.com>
  198. - enable zip and jpeg codecs
  199. - change defattr in normal package to 0755
  200. - add defattr to -devel package
  201. * Wed Dec 22 1999 Bill Nottingham <notting@redhat.com>
  202. - update to 3.5.4
  203. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  204. - auto rebuild in the new build environment (release 6)
  205. * Wed Jan 13 1999 Cristian Gafton <gafton@redhat.com>
  206. - build for glibc 2.1
  207. * Wed Jun 10 1998 Prospector System <bugs@redhat.com>
  208. - translations modified for de
  209. * Wed Jun 10 1998 Michael Fulbright <msf@redhat.com>
  210. - rebuilt against fixed jpeg libs (libjpeg-6b)
  211. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  212. - translations modified for de, fr, tr
  213. * Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
  214. - new version to replace the one from libgr
  215. - patched for glibc
  216. - added shlib support