source: projects/specs/trunk/lib/libp/libpng12/libpng12-vl.spec @ 8585

Revision 8585, 11.8 KB checked in by daisuke, 10 years ago (diff)

libpng12: new package
build as compat package.

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