[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: A library of functions for manipulating PNG image format files. |
---|
| 4 | Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ |
---|
| 5 | Name: libpng |
---|
[1393] | 6 | Version: 1.2.44 |
---|
[876] | 7 | Release: 2%{_dist_release} |
---|
[521] | 8 | License: distributable |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | Source: ftp://ftp.simplesystems.org/pub/libpng/png/src/%{name}-%{version}.tar.bz2 |
---|
| 11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildPrereq: zlib-devel |
---|
| 13 | Requires: zlib |
---|
| 14 | URL: http://www.libpng.org/pub/png/ |
---|
| 15 | %define LIBVER 3.%{version} |
---|
| 16 | Epoch: 2 |
---|
| 17 | Obsoletes: libpng12 |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | The libpng package contains a library of functions for creating and |
---|
| 21 | manipulating PNG (Portable Network Graphics) image format files. PNG |
---|
| 22 | is a bit-mapped graphics format similar to the GIF format. PNG was |
---|
| 23 | created to replace the GIF format, since GIF uses a patented data |
---|
| 24 | compression algorithm. |
---|
| 25 | |
---|
| 26 | Libpng should be installed if you need to manipulate PNG format image |
---|
| 27 | files. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | libpng パッケージには PNG (Portable Network Graphics) 形式の |
---|
| 31 | 画像ファイルを作成/操作する為のライブラリが収められています. |
---|
| 32 | PNG はビットマップの画像形式で,GIF によく似ています. |
---|
| 33 | GIF が 特許保護された LZW データ圧縮アルゴリズムを利用している為, |
---|
| 34 | PNG は GIF の代替画像形式として生まれました. |
---|
| 35 | |
---|
| 36 | PNG 形式の画像ファイルを扱う場合は libpng をインストールして下さい. |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Summary: Development tools for programs to manipulate PNG image format files. |
---|
| 40 | Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツール |
---|
| 41 | Group: Development/Libraries |
---|
| 42 | Requires: libpng = %{epoch}:%{version}-%{release} |
---|
| 43 | Requires: zlib-devel |
---|
| 44 | Obsoletes: libpng12-devel |
---|
| 45 | |
---|
| 46 | %description devel |
---|
| 47 | The libpng-devel package contains the header files necessary for |
---|
| 48 | developing programs using the PNG (Portable Network Graphics) library. |
---|
| 49 | |
---|
| 50 | %description devel -l ja |
---|
| 51 | libpng-devel パッケージには,PNG (Portable Network Graphics) ライブラリを |
---|
| 52 | 使ったプログラムを開発するのに必要なヘッダファイルが収められています. |
---|
| 53 | |
---|
| 54 | %package static |
---|
| 55 | Summary: Static library for %{name} |
---|
| 56 | Summary(ja): %{name} のスタティックライブラリ |
---|
| 57 | Group: Development/Libraries |
---|
| 58 | Requires: libpng-devel = %{epoch}:%{version}-%{release} |
---|
| 59 | |
---|
| 60 | %description static |
---|
| 61 | The libpng-static package contains the static library for libpng. |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | ## to build compat32 for x86_64 architecture support |
---|
| 65 | %package -n compat32-%{name} |
---|
| 66 | Summary: A library of functions for manipulating PNG image format files. |
---|
| 67 | Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ |
---|
| 68 | Group: System Environment/Libraries |
---|
| 69 | |
---|
| 70 | %description -n compat32-%{name} |
---|
| 71 | The libpng package contains a library of functions for creating and |
---|
| 72 | manipulating PNG (Portable Network Graphics) image format files. PNG |
---|
| 73 | is a bit-mapped graphics format similar to the GIF format. PNG was |
---|
| 74 | created to replace the GIF format, since GIF uses a patented data |
---|
| 75 | compression algorithm. |
---|
| 76 | |
---|
| 77 | Libpng should be installed if you need to manipulate PNG format image |
---|
| 78 | files. |
---|
| 79 | |
---|
| 80 | %package -n compat32-%{name}-devel |
---|
| 81 | Summary: Development tools for programs to manipulate PNG image format files. |
---|
| 82 | Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツール |
---|
| 83 | Group: Development/Libraries |
---|
| 84 | Requires: libpng = %{epoch}:%{version}-%{release}, libpng-devel = %{epoch}:%{version}-%{release} |
---|
| 85 | Requires: zlib-devel |
---|
| 86 | |
---|
| 87 | %description -n compat32-%{name}-devel |
---|
| 88 | The libpng-devel package contains the header files and static |
---|
| 89 | libraries necessary for developing programs using the PNG (Portable |
---|
| 90 | Network Graphics) library. |
---|
| 91 | |
---|
| 92 | If you want to develop programs which will manipulate PNG image format |
---|
| 93 | files, you should install libpng-devel. You'll also need to install |
---|
| 94 | the libpng package. |
---|
| 95 | |
---|
| 96 | #' |
---|
| 97 | %prep |
---|
| 98 | %setup -q |
---|
| 99 | |
---|
| 100 | %build |
---|
| 101 | #./autogen.sh |
---|
| 102 | %configure |
---|
| 103 | %__make %{?_smp_mflags} |
---|
| 104 | |
---|
| 105 | %install |
---|
| 106 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 107 | %makeinstall |
---|
| 108 | |
---|
| 109 | # remove unneeded files |
---|
| 110 | %__rm -f %{buildroot}%{_libdir}/libpng*.la |
---|
| 111 | |
---|
| 112 | %post -p /sbin/ldconfig |
---|
| 113 | |
---|
| 114 | %postun -p /sbin/ldconfig |
---|
| 115 | |
---|
| 116 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 117 | |
---|
| 118 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 119 | |
---|
| 120 | %clean |
---|
| 121 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 122 | |
---|
| 123 | %files |
---|
| 124 | %defattr(-,root,root) |
---|
| 125 | %doc *.txt example.c README TODO CHANGES |
---|
| 126 | %{_libdir}/libpng*.so.* |
---|
| 127 | %{_mandir}/man5/* |
---|
| 128 | |
---|
| 129 | %files devel |
---|
| 130 | %defattr(-,root,root) |
---|
| 131 | %{_bindir}/libpng-config |
---|
| 132 | %{_bindir}/libpng12-config |
---|
| 133 | %{_includedir}/* |
---|
| 134 | %{_libdir}/libpng*.so |
---|
| 135 | %{_libdir}/pkgconfig/* |
---|
| 136 | %{_mandir}/man3/* |
---|
| 137 | |
---|
| 138 | %files static |
---|
| 139 | %defattr(-,root,root) |
---|
| 140 | %{_libdir}/libpng*.a |
---|
| 141 | |
---|
| 142 | ## to build compat32 for x86_64 architecture support |
---|
| 143 | %if %{build_compat32} |
---|
| 144 | %files -n compat32-%{name} |
---|
| 145 | %defattr(-,root,root) |
---|
| 146 | %{_libdir}/libpng*.so.* |
---|
| 147 | |
---|
| 148 | %files -n compat32-%{name}-devel |
---|
| 149 | %defattr(-,root,root) |
---|
| 150 | %{_libdir}/libpng*.a |
---|
| 151 | %{_libdir}/libpng*.so |
---|
| 152 | %{_libdir}/pkgconfig/* |
---|
| 153 | %endif |
---|
| 154 | |
---|
| 155 | %changelog |
---|
[1393] | 156 | * Sun Jul 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2:1.2.44-2 |
---|
| 157 | - sync with Vine Linux 5 updates release |
---|
| 158 | * Tue Jun 29 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.44-1 |
---|
| 159 | - new upstream release with security fix (CVE-2010-1205) |
---|
| 160 | |
---|
[876] | 161 | * Thu Apr 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2:1.2.43-2 |
---|
| 162 | - sync with Vine Linux 5 updates release |
---|
| 163 | * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.43-1 |
---|
| 164 | - new upstream release with security fix (CVE-2010-0205) |
---|
| 165 | |
---|
[521] | 166 | * Wed Jan 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2:1.2.42-1 |
---|
| 167 | - new upstream release with security fix |
---|
| 168 | |
---|
| 169 | * Tue Jun 9 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.37-1 |
---|
| 170 | - new upstream release with security fix |
---|
| 171 | |
---|
| 172 | * Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2:1.2.35-2 |
---|
| 173 | - split static library to libpng-static |
---|
| 174 | - needed by tuxonice-userui |
---|
| 175 | |
---|
| 176 | * Wed Feb 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.35-1 |
---|
| 177 | - new upstream release with security fix (CVE-2009-0040) |
---|
| 178 | |
---|
| 179 | * Mon Nov 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.33-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
| 182 | * Thu Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-2 |
---|
| 183 | - spec file in UTF-8 |
---|
| 184 | |
---|
| 185 | * Thu Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-1 |
---|
| 186 | - new upstream release with security fix (CVE-2008-3964) |
---|
| 187 | |
---|
| 188 | * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.28-1 |
---|
| 189 | - new upstream release with security fix (CVE-2008-1382) |
---|
| 190 | - added running autogen.sh before configure |
---|
| 191 | - new versioning policy |
---|
| 192 | |
---|
| 193 | * Sun Feb 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2:1.2.25-0vl1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
| 196 | * Thu Jan 24 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2:1.2.24-0vl2 |
---|
| 197 | - removed %%if !%%{build_compat32} case condition |
---|
| 198 | |
---|
| 199 | * Mon Jan 21 2008 Kazutaka HARADA <Kazutaka@dc4.so-net.ne.jp> 2:1.2.24-0vl1 |
---|
| 200 | - new upstream release |
---|
| 201 | |
---|
| 202 | * Wed Oct 10 2007 Shu KONNO <owa@bg.wakwak.com> 2:1.2.21-0vl1 |
---|
| 203 | - new upstream release |
---|
| 204 | |
---|
| 205 | * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2:1.2.18-0vl1 |
---|
| 206 | - new upstream release (CVE-2007-2445) |
---|
| 207 | |
---|
| 208 | * Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2:1.2.14-0vl1 |
---|
| 209 | - new upstream release |
---|
| 210 | - drop obsolete patch100 |
---|
| 211 | |
---|
| 212 | * Fri Nov 24 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.12-0vl1.1 |
---|
| 213 | - add Patch100 for fix CVE-2006-5793.patch |
---|
| 214 | |
---|
| 215 | * Sat Jul 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.12-0vl1 |
---|
| 216 | - [SECURITY] new upstream release |
---|
| 217 | - potential buffer overrun in chunk error processing (CVE-2006-3334) |
---|
| 218 | - use %%configure, %%makeinstall |
---|
| 219 | - drop unneeded patch10 |
---|
| 220 | |
---|
| 221 | * Sun Jun 18 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.8-0vl7 |
---|
| 222 | - rebuilt with glibc-2.3.3-3vl14 |
---|
| 223 | |
---|
| 224 | * Tue Feb 28 2006 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl6 |
---|
| 225 | - fixed libdir path in libpng.pc |
---|
| 226 | |
---|
| 227 | * Sun Feb 12 2006 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl5 |
---|
| 228 | - fixed %postun (missing to build as scriptlet by invalid comment) |
---|
| 229 | |
---|
| 230 | * Thu Feb 09 2006 Shu KONNO <owa@bg.wakwak.com> 1.2.8-0vl4 |
---|
| 231 | - added compat32-* packages for x86_64 architecture support |
---|
| 232 | - added CC='gcc -m32' to make when build_compat32 |
---|
| 233 | - added LIBPATH=%{_libdir} to make |
---|
| 234 | |
---|
| 235 | * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.8-0vl3 |
---|
| 236 | - rebuild |
---|
| 237 | |
---|
| 238 | * Wed Dec 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.8-0vl2 |
---|
| 239 | - rebuild for VineSeed |
---|
| 240 | |
---|
| 241 | * Wed Dec 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.8-0vl1 |
---|
| 242 | - new upstream release (bug fix) |
---|
| 243 | |
---|
| 244 | * Mon Sep 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-0vl1 |
---|
| 245 | - new upstream release |
---|
| 246 | |
---|
| 247 | * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl0.rc3 |
---|
| 248 | - update to 1.2.6rc3 |
---|
| 249 | - add Requires: zlib-devel to libpng-devel. |
---|
| 250 | |
---|
| 251 | * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl0.rc2 |
---|
| 252 | - update to 1.2.6rc2 |
---|
| 253 | |
---|
| 254 | * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-0vl0.rc1 |
---|
| 255 | - update to 1.2.6rc1 |
---|
| 256 | - add patch10 to correct directory name in libpng.pc |
---|
| 257 | - clean spec file |
---|
| 258 | |
---|
| 259 | * Tue Jul 6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl4 |
---|
| 260 | - added Patch4 from Redhat WS updates |
---|
| 261 | * Mon Jun 14 2004 Matthias Clasen <mclasen@redhat.com> 1.2.2-23 |
---|
| 262 | - Reinstate and improve the transfix patch which got lost sometime ago, |
---|
| 263 | but is still needed for CAN-2002-1363 (#125934) |
---|
| 264 | |
---|
| 265 | * Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.5-0vl3 |
---|
| 266 | - rebuild with new toolchain |
---|
| 267 | - use License tag |
---|
| 268 | - change URL |
---|
| 269 | |
---|
| 270 | * Tue Apr 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2 |
---|
| 271 | - added Obsoletes: libpng12-devel for libpng-devel |
---|
| 272 | |
---|
| 273 | * Mon Apr 14 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.5-0vl1 |
---|
| 274 | - change package name from libpng12 to libpng |
---|
| 275 | - revised install and files section |
---|
| 276 | - remove all patches |
---|
| 277 | - define LIBVER 3.%{version} |
---|
| 278 | - add Obsoletes: libpng12 |
---|
| 279 | |
---|
| 280 | * Sat Mar 1 2003 Kazuhisa TAKEI <takei@vinelinux.org> 1.2.25-0vl5 |
---|
| 281 | - new upstream version |
---|
| 282 | - change package name to libpng12 |
---|
| 283 | - conflicts libpng-devel(1.0.5) and libpng12-devel |
---|
| 284 | |
---|
| 285 | * Sat Dec 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.15-0vl3 |
---|
| 286 | - added Patch200 for linking libz shared lib |
---|
| 287 | - include libpng*-config |
---|
| 288 | |
---|
| 289 | * Sat Dec 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.15-0vl2 |
---|
| 290 | - added missing libraries in the file list |
---|
| 291 | |
---|
| 292 | * Thu Nov 12 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1 |
---|
| 293 | - update to 1.0.15 |
---|
| 294 | - now, security patch were merged source. |
---|
| 295 | |
---|
| 296 | * Wed Aug 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.12-0vl3 |
---|
| 297 | - added another security patch to preserve libpng from processing too wide |
---|
| 298 | image files (a patch itself extracted from DSA 140-2) |
---|
| 299 | |
---|
| 300 | * Fri Aug 02 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.12-0vl2 |
---|
| 301 | - added a patch to fix buffer overflow (Patch100) |
---|
| 302 | |
---|
| 303 | * Fri Jul 05 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> |
---|
| 304 | - 1.0.12-0vl1 |
---|
| 305 | - updated 1.0.12 |
---|
| 306 | |
---|
| 307 | * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 308 | - 1.0.7-0vl3 |
---|
| 309 | - use better macros |
---|
| 310 | - added Japanese summary and description |
---|
| 311 | |
---|
| 312 | * Tue Jul 18 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 313 | - 1.0.7-0vl2 |
---|
| 314 | - oops, spec was in Shift-JIS... Fixed it. |
---|
| 315 | |
---|
| 316 | * Mon Jul 3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 317 | - update to 1.0.7 |
---|
| 318 | |
---|
| 319 | * Tue Mar 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 320 | - update to 1.0.6 |
---|
| 321 | |
---|
| 322 | * Mon Mar 13 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 323 | - change serial to Epoch to get dependencies working correctly |
---|
| 324 | |
---|
| 325 | * Fri Feb 11 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 326 | - move buildroot and add URL |
---|
| 327 | |
---|
| 328 | * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 329 | - strip library |
---|
| 330 | - rebuild to compress man pages |
---|
| 331 | |
---|
| 332 | * Sun Nov 21 1999 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 333 | - 1.0.5 |
---|
| 334 | - some tweaks to spec file to make updating easier |
---|
| 335 | - handle RPM_OPT_FLAGS |
---|
| 336 | |
---|
| 337 | * Mon Sep 20 1999 Matt Wilson <msw@redhat.com> |
---|
| 338 | - changed requires in libpng-devel to include serial |
---|
| 339 | - corrected typo |
---|
| 340 | |
---|
| 341 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 342 | - auto rebuild in the new build environment (release 2) |
---|
| 343 | |
---|
| 344 | * Sun Feb 07 1999 Michael Johnson <johnsonm@redhat.com> |
---|
| 345 | - rev to 1.0.3 |
---|
| 346 | |
---|
| 347 | * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 348 | - build for 6.0 |
---|
| 349 | |
---|
| 350 | * Wed Sep 23 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 351 | - we are Serial: 1 now because we are reverting the 1.0.2 version from 5.2 |
---|
| 352 | beta to this prior one |
---|
| 353 | - install man pages; set defattr defaults |
---|
| 354 | |
---|
| 355 | * Thu May 07 1998 Prospector System <bugs@redhat.com> |
---|
| 356 | - translations modified for de, fr, tr |
---|
| 357 | |
---|
| 358 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 359 | - devel subpackage moved to Development/Libraries |
---|
| 360 | |
---|
| 361 | * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 362 | - upgraded to 1.0.1 |
---|
| 363 | - added buildroot |
---|
| 364 | |
---|
| 365 | * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com> |
---|
| 366 | - updated to new version |
---|
| 367 | - spec file cleanups |
---|
| 368 | |
---|
| 369 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
| 370 | - built against glibc |
---|
| 371 | |
---|