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