libpng-vl.spec 14 KB

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