source: projects/specs/branches/6/lib/libt/libtiff/libtiff-vl.spec @ 10659

Revision 10659, 14.6 KB checked in by tomop, 8 years ago (diff)

libtiff-3.9.5-10

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: A library of functions for manipulating TIFF format image files.
4Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
5Name: libtiff
6Version: 3.9.5
7Release: 10%{_dist_release}
8License: distributable
9Group: System Environment/Libraries
10Source0: http://www.libtiff.org/tiff-%{version}.tar.gz
11URL: http://www.remotesensing.org/libtiff/
12
13Patch100: tiff-3.9.4-CVE-2012-1173.patch
14Patch110: libtiff-3.9.6-CVE-2012-2088.patch
15Patch120: libtiff-3.9.6-CVE-2012-2113.patch
16Patch130: libtiff-3.9.6-CVE-2012-3401.patch
17Patch140: libtiff-3.9.5_CVE-2012-4447.patch
18Patch150: libtiff-3.9.5_CVE-2012-4564.patch
19Patch160: libtiff-3.9.5_CVE-2012-5581.patch
20Patch170: libtiff-3.9.5_CVE-2013-4231.patch
21Patch180: libtiff-3.9.5_CVE-2013-4232.patch
22Patch190: libtiff-3.9.5_CVE-2013-4244.patch
23
24# imported from Ubuntu
25Patch200: CVE-2013-1960.patch
26Patch201: CVE-2013-1961.patch
27Patch202: CVE-2013-4243.patch
28Patch203: CVE-2014-81xx-1.patch
29Patch204: CVE-2014-81xx-2.patch
30Patch205: CVE-2014-81xx-3.patch
31Patch206: CVE-2014-81xx-4.patch
32Patch207: CVE-2014-81xx-5.patch
33Patch208: CVE-2014-81xx-6.patch
34Patch209: CVE-2014-81xx-7.patch
35Patch210: CVE-2014-81xx-8.patch
36Patch211: CVE-2014-81xx-9.patch
37Patch212: CVE-2014-81xx-10.patch
38Patch213: CVE-2014-81xx-11.patch
39Patch214: CVE-2014-9655-1.patch
40Patch215: CVE-2014-9655-2.patch
41Patch216: CVE-2014-9655-3.patch
42Patch217: read_overrun.patch
43Patch218: CVE-2014-8130.patch
44Patch219: CVE-2015-8665-8683.patch
45Patch220: CVE-2015-8781-8782-8783.patch
46Patch221: CVE-2015-8784.patch
47
48
49BuildRoot: %{_tmppath}/%{name}-%{version}-root
50BuildRequires: zlib-devel zlib libjpeg-devel libjpeg
51Requires: zlib libjpeg
52%define LIBVER %(echo %{version} | cut -f-2 -d.)
53
54Vendor: Project Vine
55Distribution: Vine Linux
56
57%description
58The libtiff package contains a library of functions for manipulating
59TIFF (Tagged Image File Format) image format files.  TIFF is a widely
60used file format for bitmapped images.  TIFF files usually end in the
61.tif extension and they are often quite large.
62
63The libtiff package should be installed if you need to manipulate TIFF
64format image files.
65
66%description -l ja
67libtiff パッケージには TIFF (Tagged Image File Format) 画像ファイルを
68扱う各種ライブラリが収められています.TIFF はビットマップ画像を扱う際に
69広く使われているフォーマットです.TIFF ファイルは通常 .tif のファイル
70拡張子が使われ,サイズは概して大きめです.
71
72TIFF 形式の画像ファイルを扱う必要があるならば,
73libtiff パッケージを是非インストールして下さい.
74
75
76%package devel
77Summary: Development tools for programs which will use the libtiff library.
78Summary(ja): libtiff ライブラリを使うプログラム向け開発ツール
79Group: Development/Libraries
80Requires: libtiff = %{version}
81
82
83%description devel
84This package contains the header files and static libraries for
85developing programs which will manipulate TIFF format image files
86using the libtiff library.
87
88If you need to develop programs which will manipulate TIFF format
89image files, you should install this package.  You'll also need to
90install the libtiff package.
91
92#'
93%description devel -l ja
94このパッケージには,libtiff ライブラリを使って TIFF 形式の
95画像ファイルを扱うプログラムを開発する際に必要なヘッダファイルや
96スタティックライブラリが収められています.
97
98TIFF 形式画像ファイルを扱うプログラムを開発する必要がある場合は
99このパッケージをインストールして下さい.libtiff パッケージも同時に
100インストールする必要があります.
101
102## to build compat32 for x86_64 architecture support
103%package -n compat32-%{name}
104Summary: A library of functions for manipulating TIFF format image files.
105Group: System Environment/Libraries
106Requires: zlib libjpeg
107Requires: %{name} = %{version}
108%description -n compat32-%{name}
109The libtiff package contains a library of functions for manipulating
110TIFF (Tagged Image File Format) image format files.  TIFF is a widely
111used file format for bitmapped images.  TIFF files usually end in the
112.tif extension and they are often quite large.
113
114The libtiff package should be installed if you need to manipulate TIFF
115format image files.
116
117%package -n compat32-%{name}-devel
118Summary: Development tools for programs which will use the libtiff library.
119Group: Development/Libraries
120Requires: compat32-%{name} = %{version}
121%description -n compat32-%{name}-devel
122This package contains the header files and static libraries for
123developing programs which will manipulate TIFF format image files
124using the libtiff library.
125
126If you need to develop programs which will manipulate TIFF format
127image files, you should install this package.  You'll also need to
128install the libtiff package.
129
130#'
131%prep
132%setup -q -n tiff-%{version}
133
134%patch100 -p1 -b .CVE-2012-1173
135%patch110 -p1 -b .CVE-2012-2088
136%patch120 -p1 -b .CVE-2012-2113
137%patch130 -p1 -b .CVE-2012-3401
138%patch140 -p1 -b .CVE-2012-4447
139%patch150 -p1 -b .CVE-2012-4564
140%patch160 -p1 -b .CVE-2012-5581
141
142%patch200 -p1 -b .CVE-2013-1960
143%patch201 -p1 -b .CVE-2013-1961
144
145%patch170 -p1 -b .CVE-2013-4231
146%patch180 -p1 -b .CVE-2013-4232
147%patch190 -p1 -b .CVE-2013-4244
148
149%patch202 -p1 -b .CVE-2013-4243
150%patch203 -p1 -b .CVE-2014-81xx-1
151%patch204 -p1 -b .CVE-2014-81xx-2
152%patch205 -p1 -b .CVE-2014-81xx-3
153%patch206 -p1 -b .CVE-2014-81xx-4
154%patch207 -p1 -b .CVE-2014-81xx-5
155%patch208 -p1 -b .CVE-2014-81xx-6
156%patch209 -p1 -b .CVE-2014-81xx-7
157%patch210 -p1 -b .CVE-2014-81xx-8
158%patch211 -p1 -b .CVE-2014-81xx-9
159%patch212 -p1 -b .CVE-2014-81xx-10
160%patch213 -p1 -b .CVE-2014-81xx-11
161%patch214 -p1 -b .CVE-2014-9655-1
162%patch215 -p1 -b .CVE-2014-9655-2
163%patch216 -p1 -b .CVE-2014-9655-3
164%patch217 -p1 -b .read_overrun
165%patch218 -p1 -b .CVE-2014-8130
166%patch219 -p1 -b .CVE-2015-8665-8683
167%patch220 -p1 -b .CVE-2015-8781-8782-8783
168%patch221 -p1 -b .CVE-2015-8784
169
170
171%build
172%configure --with-jpeg-lib-dir=%{_libdir} --disable-cxx
173%__make %{?_smp_mflags}
174%__make clean
175
176%install
177rm -fr $RPM_BUILD_ROOT
178%makeinstall
179rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff-%{version}
180
181# fix libdir in .la
182perl -pi -e "s,$RPM_BUILD_ROOT,,g" $RPM_BUILD_ROOT%{_libdir}/libtiff*.la
183
184
185%post -p /sbin/ldconfig
186
187%postun -p /sbin/ldconfig
188
189%if %{build_compat32}
190%post -n compat32-%{name} -p /sbin/ldconfig
191%postun -n compat32-%{name} -p /sbin/ldconfig
192%endif
193
194%clean
195rm -rf $RPM_BUILD_ROOT
196
197%files
198%defattr(-,root,root)
199%doc COPYRIGHT README RELEASE-DATE VERSION
200%{_bindir}/*
201%{_libdir}/libtiff*.so.*
202%{_mandir}/man1/*
203
204
205%files devel
206%defattr(-,root,root)
207%doc TODO html ChangeLog
208%{_includedir}/*
209%{_libdir}/libtiff*.so
210%{_libdir}/libtiff*.a
211# %{_libdir}/libtiff*.la
212%{_mandir}/man3/*
213
214## to build compat32 for x86_64 architecture support
215%if %{build_compat32}
216%files -n compat32-%{name}
217%defattr(-,root,root)
218%{_libdir}/libtiff.so.*
219
220%files -n compat32-%{name}-devel
221%defattr(-,root,root)
222%{_libdir}/libtiff.so
223%{_libdir}/libtiff.a
224# %{_libdir}/libtiff.la
225%endif
226
227
228%changelog
229* Thu Jul 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.9.5-10
230- added Patch200-221 to fix vulnerabilities.
231  - CVE-2013-1960
232  - CVE-2013-1961
233  - CVE-2013-4243
234  - CVE-2014-8127 (partially)
235  - CVE-2014-8128
236  - CVE-2014-8129
237  - CVE-2014-8130
238  - CVE-2014-9330
239  - CVE-2014-9655
240  - CVE-2015-8665
241  - CVE-2015-8683
242  - CVE-2015-8781
243  - CVE-2015-8782
244  - CVE-2015-8783
245  - CVE-2015-8784
246
247* Tue Sep 17 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-9
248- add Patch170 for fix CVE-2013-4231 (gif2tiff)
249- add Patch180 for fix CVE-2013-4232 (tiff2pdf)
250- add Patch190 for fix CVE-2013-4244 (gif2tiff)
251
252* Sun Dec 30 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-8
253- update patch160 from rh
254
255* Fri Dec 21 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-7
256- add patch160 for fix CVE-2012-5581 (DOTRANGE tags)
257
258* Mon Nov 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-6
259- update patch150 (Thanks to debian team)
260
261* Wed Nov 14 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-5
262- add patch150 for fix CVE-2012-4564 (ppm2tiff)
263
264* Mon Oct 22 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-4
265- add patch140 for fix CVE-2012-4447 (PixarLog)
266
267* Mon Jul 30 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-3
268- add patch110 for fix CVE-2012-2088 (Bof)
269- add patch120 for fix CVE-2012-2113 (tiff2pdf BoF)
270- add patch130 for fix CVE-2012-3401
271- patches are from fc17, Thanks.
272
273* Sat Apr 28 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-2
274- add patch100 for fix CVE-2012-1173 (TileSize entry)
275
276* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.9.5-1
277- new upstream release
278- drop all patches (are included in new release)
279- remove if-endif for Vine 4.x
280- add Vendor/Distri tags
281
282* Sun Apr 24 2011 IWAI, Masaharu <iwai@alib.jp> 3.9.4-3
283- add some patches from RHEL6 3.9.4-1.el6_0.3
284 - fix for CVE-2011-0192 (Patch11)
285 - fix for CVE-2011-1167 (Patch12)
286 - fix for CVE-2009-5022 (Patch13)
287
288* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.9.4-2
289- rebuilt with rpm-4.8.1-3
290
291* Mon Jul 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.4-1
292- new upstream release
293- add patch4-10 from fedora
294
295* Thu Feb 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 3.9.2-1
296- new upstream release
297- remove BC: freeglut-devel
298- add patch1,2,4,5 from fedora
299- drop obsolete patches
300
301* Fri Jul 17 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-9
302- change if-endif to make both i386 and compat32 packages
303
304* Wed Jul 15 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-8
305- add patch5 for fix CVE-2009-2347 (Integer Overflow)
306
307* Tue Jun 23 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 3.8.2-7
308- add patch4 for fix lzw underflow security issue
309- add if branch Vine4/5 in devel files section (*.la are included or not)
310
311* Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 3.8.2-6vl4
312- removed *.la
313- spec in utf-8
314
315* Tue Sep 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.8.2-5vl4
316- fix changelog typo (3.8.4 -> 3.8.2)
317- new versioning policy
318- add patch3 for fix CVE-2008-2327 (LZW Data Decoding Buffer Underflow)
319
320* Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.8.2-0vl4
321- fix libdir in libtiff.la
322- add BuildConflicts: freeglut-devel
323
324* Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.8.2-0vl3
325- rebuilt without glut-devel
326
327* Fri Aug 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.2-0vl2
328- add Patch2 to fix multiple vulnerabilities (CVE-2006-346[012345])
329
330* Fri Jun  9 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.8.2-0vl1
331- new upstream release
332- remove obsolete patches
333- add Patch0 and Patch1 from Debian (CVE-2006-2193, CVE-2006-2656)
334- delete duped docs
335- add --disable-cxx to configure option
336- add *.la to devel package
337
338* Sun Feb 12 2006 Shu KONNO <owa@bg.wakwak.com> 3.7.1-0vl2
339- added compat32-* packages for x86_64 architecture support
340- added --with-jpeg-lib-dir=%{_libdir} to configure
341
342* Wed Feb 09 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.7.1-0vl1
343- new upstream release
344- remove obsolete patches
345- cleanup specs
346
347* Fri Jan 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl7
348- rebuild for Vine3.1
349
350* Wed Jan 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl6
351- add Patch15-16 from Red Hat (CAN-2004-1183) (CAN-2004-1308)
352- update URL
353
354* Sun Oct 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl1.1
355- build for Vine2.6
356
357* Fri Oct 29 2004 IWAI, Masaharu <iwai@alib.jp> 3.5.7-6vl5
358- fix changelog: proper name
359
360* Wed Oct 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl4
361- add symlink to shared lib by running ldconfig at compile time
362
363* Tue Oct 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-6vl3
364- add patch8-13 from Fedora Core
365--* Thu Oct 07 2004 Matthias Clasen <mclasen@redhat.com>
366--- fix some integer and buffer overflows (#134853, #134848)
367- add patch14 from SUSE LINUX
368--* Wed Oct 20 2004 - meissner@suse.de
369--- Do not crash if we are using unsupported codecs (like OJPEG).
370
371* Sun Jan 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.7-6vl2
372- rebuild with new toolchains
373- to use License instead of Copyright
374
375* Fri Jul 05 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
376- 3.5.7-6vl1
377- based on 3.5.7-6 from Rawhide
378
379* Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
380- 3.5.5-8vl1
381- based on 3.5.5-8 from Rawhide
382- added Japanese summary and description
383
384* Tue Dec 19 2000 Philipp Knirsch <pknirsch@redhat.de>
385- rebuild
386
387* Tue Aug  7 2000 Crutcher Dunnavant <crutcher@redhat.com>
388- added a tiff-to-ps.fpi filter for printing
389
390* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
391- automatic rebuild
392
393* Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
394- apply Peter Skarpetis's fix for the 32-bit conversion
395
396* Mon Jul  3 2000 Nalin Dahyabhai <nalin@redhat.com>
397- make man pages non-executable (#12811)
398
399* Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com>
400- remove CVS repo info from data directories
401
402* Thu May 18 2000 Nalin Dahyabhai <nalin@redhat.com>
403- fix build rooting
404- fix syntax error in configure script
405- move man pages to %{_mandir}
406
407* Wed May 17 2000 Nalin Dahyabhai <nalin@redhat.com>
408- rebuild for an errata release
409
410* Wed Mar 29 2000 Nalin Dahyabhai <nalin@redhat.com>
411- update to 3.5.5, which integrates our fax2ps fixes and the glibc fix
412
413* Tue Mar 28 2000 Nalin Dahyabhai <nalin@redhat.com>
414- fix fax2ps swapping height and width in the bounding box
415
416* Mon Mar 27 2000 Nalin Dahyabhai <nalin@redhat.com>
417- move man pages from devel package to the regular one
418- integrate Frank Warmerdam's fixed .fax handling code (keep until next release
419  of libtiff)
420- fix fax2ps breakage (bug #8345)
421
422* Sat Feb 05 2000 Nalin Dahyabhai <nalin@redhat.com>
423- set MANDIR=man3 to make multifunction man pages friendlier
424
425* Mon Jan 31 2000 Nalin Dahyabhai <nalin@redhat.com>
426- fix URLs
427
428* Fri Jan 28 2000 Nalin Dahyabhai <nalin@redhat.com>
429- link shared library against libjpeg and libz
430
431* Tue Jan 18 2000 Nalin Dahyabhai <nalin@redhat.com>
432- enable zip and jpeg codecs
433- change defattr in normal package to 0755
434- add defattr to -devel package
435
436* Wed Dec 22 1999 Bill Nottingham <notting@redhat.com>
437- update to 3.5.4
438
439* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
440- auto rebuild in the new build environment (release 6)
441
442* Wed Jan 13 1999 Cristian Gafton <gafton@redhat.com>
443- build for glibc 2.1
444
445* Wed Jun 10 1998 Prospector System <bugs@redhat.com>
446- translations modified for de
447
448* Wed Jun 10 1998 Michael Fulbright <msf@redhat.com>
449- rebuilt against fixed jpeg libs (libjpeg-6b)
450
451* Thu May 07 1998 Prospector System <bugs@redhat.com>
452- translations modified for de, fr, tr
453
454* Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
455- new version to replace the one from libgr
456- patched for glibc
457- added shlib support
Note: See TracBrowser for help on using the repository browser.