1 | Summary: A library of functions for manipulating PNG image format files. |
---|
2 | Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ |
---|
3 | Name: libpng10 |
---|
4 | Version: 1.0.18 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: distributable |
---|
7 | Group: System Environment/Libraries |
---|
8 | Source: ftp://swrinde.nde.swri.edu/pub/png/src/libpng-%{version}.tar.bz2 |
---|
9 | Patch0: libpng-1.0.15-rhconf.patch |
---|
10 | |
---|
11 | ## Vine Patch(es) |
---|
12 | Patch200: libpng-1.0.15-zlib.patch |
---|
13 | Patch201: libpng-1.0.15-vine.patch |
---|
14 | |
---|
15 | ## Security Fix |
---|
16 | Patch300: libpng-1.0.18-CVE-2006-3334.patch |
---|
17 | Patch310: libpng-1.0.18-CVE-2006-5793.patch |
---|
18 | Patch320: libpng-1.2.8_CVE-2007-2445.patch |
---|
19 | |
---|
20 | Buildroot: %{_tmppath}/libpng-%{version}-root |
---|
21 | BuildPrereq: zlib-devel |
---|
22 | URL: http://www.libpng.org/pub/png/ |
---|
23 | %define LIBVER 2.%{version} |
---|
24 | Obsoletes: libpng <= 2:1.0.15 |
---|
25 | Conflicts: libpng < 2:1.2.0 |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | |
---|
30 | %description |
---|
31 | The libpng package contains a library of functions for creating and |
---|
32 | manipulating PNG (Portable Network Graphics) image format files. PNG |
---|
33 | is a bit-mapped graphics format similar to the GIF format. PNG was |
---|
34 | created to replace the GIF format, since GIF uses a patented data |
---|
35 | compression algorithm. |
---|
36 | |
---|
37 | Libpng should be installed if you need to manipulate PNG format image |
---|
38 | files. |
---|
39 | |
---|
40 | %description -l ja |
---|
41 | libpng パッケージには PNG (Portable Network Graphics) 形式の |
---|
42 | 画像ファイルを作成/操作する為のライブラリが収められています. |
---|
43 | PNG はビットマップの画像形式で,GIF によく似ています. |
---|
44 | GIF が 特許保護された LZW データ圧縮アルゴリズムを利用している為, |
---|
45 | PNG は GIF の代替画像形式として生まれました. |
---|
46 | |
---|
47 | PNG 形式の画像ファイルを扱う場合は libpng をインストールして下さい. |
---|
48 | |
---|
49 | %package devel |
---|
50 | Summary: Development tools for programs to manipulate PNG image format files. |
---|
51 | Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツール |
---|
52 | Group: Development/Libraries |
---|
53 | Requires: libpng10 = %{version}-%{release} |
---|
54 | Provides: libpng-devel = %{version} |
---|
55 | |
---|
56 | %description devel |
---|
57 | The libpng-devel package contains the header files and static |
---|
58 | libraries necessary for developing programs using the PNG (Portable |
---|
59 | Network Graphics) library. |
---|
60 | |
---|
61 | If you want to develop programs which will manipulate PNG image format |
---|
62 | files, you should install libpng-devel. You will also need to install |
---|
63 | the libpng package. |
---|
64 | |
---|
65 | %description devel -l ja |
---|
66 | libpng-devel パッケージには,PNG (Portable Network Graphics) ライブラリを |
---|
67 | 使ったプログラムを開発するのに必要なヘッダファイルとスタティックライブラリが |
---|
68 | 収められています. |
---|
69 | |
---|
70 | PNG 形式の画像ファイルを扱うプログラムを開発したいならば, |
---|
71 | libpng-devel パッケージをインストールして下さい.同時に |
---|
72 | libpng パッケージもインストールする必要があります. |
---|
73 | |
---|
74 | %prep |
---|
75 | %setup -q -n libpng-%{version} |
---|
76 | ln -s scripts/makefile.linux Makefile |
---|
77 | %patch0 -p1 -b .rhconf |
---|
78 | %patch200 -p1 -b .zlib |
---|
79 | %patch201 -p1 -b .vine |
---|
80 | |
---|
81 | ## Security Fix |
---|
82 | %patch300 -p1 -b .CVE-2006-3334 |
---|
83 | %patch310 -p1 -b .CVE-2006-5793 |
---|
84 | %patch320 -p1 -b .CVE-2007-2445 |
---|
85 | |
---|
86 | %build |
---|
87 | make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" |
---|
88 | |
---|
89 | %install |
---|
90 | rm -rf $RPM_BUILD_ROOT |
---|
91 | make install prefix=$RPM_BUILD_ROOT%{_prefix} DL=$RPM_BUILD_ROOT%{_libdir} |
---|
92 | strip -R .comments --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/libpng.so.%{LIBVER} |
---|
93 | |
---|
94 | # We do not need man |
---|
95 | rm -rf $RPM_BUILD_ROOT%{_prefix}/man |
---|
96 | |
---|
97 | %post -p /sbin/ldconfig |
---|
98 | |
---|
99 | %postun -p /sbin/ldconfig |
---|
100 | |
---|
101 | %files |
---|
102 | %defattr(-,root,root) |
---|
103 | %doc *.txt example.c README TODO CHANGES |
---|
104 | %{_libdir}/libpng*.so.* |
---|
105 | |
---|
106 | %files devel |
---|
107 | %defattr(-,root,root) |
---|
108 | ## remove libpng-config (not libpng10-config) |
---|
109 | ## if we decide to go with libpng > 1.2 with libpng10 |
---|
110 | #%{_bindir}/libpng-config |
---|
111 | %{_bindir}/libpng10-config |
---|
112 | %{_includedir}/libpng10 |
---|
113 | # includedir/libpng deliberately omitted, |
---|
114 | # conflicts with other libpng versions |
---|
115 | %{_libdir}/libpng10.a |
---|
116 | %{_libdir}/libpng10.so |
---|
117 | # libpng.so, libpng.a deliberately omitted, |
---|
118 | # conflicts with other libpng versions |
---|
119 | %{_libdir}/pkgconfig/libpng10.pc |
---|
120 | |
---|
121 | %clean |
---|
122 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
123 | |
---|
124 | %changelog |
---|
125 | * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.18-1vl5 |
---|
126 | - applied new versioning policy, spec in utf-8 |
---|
127 | - added DL option to make-install |
---|
128 | |
---|
129 | * Thu May 31 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.18-0vl3 |
---|
130 | - rebuilt for VineSeed |
---|
131 | |
---|
132 | * Fri May 18 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.18-0vl2.2 |
---|
133 | - add patch320 for fix CVE-2007-2445 |
---|
134 | - add Vendor/Distribution Tag |
---|
135 | - built for VinePlus 4.x |
---|
136 | |
---|
137 | * Fri Nov 24 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.18-0vl2.1 |
---|
138 | - add patch300 for fix CVE-2006-3334 |
---|
139 | - add patch310 for fix CVE-2006-5793 |
---|
140 | |
---|
141 | * Wed Dec 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.18-0vl2 |
---|
142 | - rebuild for VineSeed |
---|
143 | |
---|
144 | * Wed Dec 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.18-0vl1 |
---|
145 | - new upstream release (bug fix) |
---|
146 | - remove lines that we do not need (ex. install man) |
---|
147 | |
---|
148 | * Mon Sep 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-0vl1 |
---|
149 | - new upstream release |
---|
150 | |
---|
151 | * Thu Aug 6 2004 SATO Masakiyo <info@pocomoco.net> |
---|
152 | - add patch105 to fix several vulnerabilities |
---|
153 | - add patch201 for prefix bug |
---|
154 | |
---|
155 | * Tue Jul 6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl3 |
---|
156 | - added Patch4 from Redhat WS updates |
---|
157 | * Mon Jun 14 2004 Matthias Clasen <mclasen@redhat.com> 1.0.13-14 |
---|
158 | - Reinstate and improve the transfix patch which got lost sometime ago, |
---|
159 | but is still needed for CAN-2002-1363 (#125934) |
---|
160 | |
---|
161 | * Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.15-0vl2 |
---|
162 | - rebuild with new toolchain |
---|
163 | - use License tag |
---|
164 | - change URL |
---|
165 | |
---|
166 | * Mon Apr 14 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.15-0vl1 |
---|
167 | - initial compat package (libpng -> libpng10) |
---|
168 | - revised files section (remove man, and libpng.*) |
---|
169 | - remove Epoch and Serial |
---|
170 | - add Obsoletes: libpng <= 2:1.0.15 and Conflicts: libpng < 2:1.2.0 |
---|
171 | |
---|
172 | * Sat Dec 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.15-0vl3 |
---|
173 | - added Patch200 for linking libz shared lib |
---|
174 | - include libpng*-config |
---|
175 | |
---|
176 | * Sat Dec 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.15-0vl2 |
---|
177 | - added missing libraries in the file list |
---|
178 | |
---|
179 | * Thu Nov 12 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1 |
---|
180 | - update to 1.0.15 |
---|
181 | - now, security patch were merged source. |
---|
182 | |
---|
183 | * Wed Aug 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.12-0vl3 |
---|
184 | - added another security patch to preserve libpng from processing too wide |
---|
185 | image files (a patch itself extracted from DSA 140-2) |
---|
186 | |
---|
187 | * Fri Aug 02 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.12-0vl2 |
---|
188 | - added a patch to fix buffer overflow (Patch100) |
---|
189 | |
---|
190 | * Fri Jul 05 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> |
---|
191 | - 1.0.12-0vl1 |
---|
192 | - updated 1.0.12 |
---|
193 | |
---|
194 | * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
195 | - 1.0.7-0vl3 |
---|
196 | - use better macros |
---|
197 | - added Japanese summary and description |
---|
198 | |
---|
199 | * Tue Jul 18 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
200 | - 1.0.7-0vl2 |
---|
201 | - oops, spec was in Shift-JIS... Fixed it. |
---|
202 | |
---|
203 | * Mon Jul 3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
204 | - update to 1.0.7 |
---|
205 | |
---|
206 | * Tue Mar 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
207 | - update to 1.0.6 |
---|
208 | |
---|
209 | * Mon Mar 13 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
210 | - change serial to Epoch to get dependencies working correctly |
---|
211 | |
---|
212 | * Fri Feb 11 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
213 | - move buildroot and add URL |
---|
214 | |
---|
215 | * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
216 | - strip library |
---|
217 | - rebuild to compress man pages |
---|
218 | |
---|
219 | * Sun Nov 21 1999 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
220 | - 1.0.5 |
---|
221 | - some tweaks to spec file to make updating easier |
---|
222 | - handle RPM_OPT_FLAGS |
---|
223 | |
---|
224 | * Mon Sep 20 1999 Matt Wilson <msw@redhat.com> |
---|
225 | - changed requires in libpng-devel to include serial |
---|
226 | - corrected typo |
---|
227 | |
---|
228 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
229 | - auto rebuild in the new build environment (release 2) |
---|
230 | |
---|
231 | * Sun Feb 07 1999 Michael Johnson <johnsonm@redhat.com> |
---|
232 | - rev to 1.0.3 |
---|
233 | |
---|
234 | * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> |
---|
235 | - build for 6.0 |
---|
236 | |
---|
237 | * Wed Sep 23 1998 Cristian Gafton <gafton@redhat.com> |
---|
238 | - we are Serial: 1 now because we are reverting the 1.0.2 version from 5.2 |
---|
239 | beta to this prior one |
---|
240 | - install man pages; set defattr defaults |
---|
241 | |
---|
242 | * Thu May 07 1998 Prospector System <bugs@redhat.com> |
---|
243 | - translations modified for de, fr, tr |
---|
244 | |
---|
245 | * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
246 | - devel subpackage moved to Development/Libraries |
---|
247 | |
---|
248 | * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com> |
---|
249 | - upgraded to 1.0.1 |
---|
250 | - added buildroot |
---|
251 | |
---|
252 | * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com> |
---|
253 | - updated to new version |
---|
254 | - spec file cleanups |
---|
255 | |
---|
256 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
257 | - built against glibc |
---|
258 | |
---|