source: projects/specs/trunk/lib/libp/libpng10/libpng10-vl.spec @ 1901

Revision 1901, 8.5 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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