libtiff-vl.spec 11 KB

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