giflib-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A library for manipulating GIF format image files.
  3. Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
  4. Name: giflib
  5. Version: 5.2.1
  6. Release: 1%{_dist_release}
  7. License: MIT
  8. URL: http://sourceforge.net/projects/giflib/
  9. Source: http://jaist.dl.sourceforge.net/sourceforge/giflib/%{name}-%{version}.tar.gz
  10. Group: System Environment/Libraries
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Obsoletes: libungif < 4.1.6-1
  15. Provides: libungif = %{version}-%{release}
  16. %description
  17. The giflib package contains a shared library of functions for
  18. loading and saving GIF format image files. It is API and ABI compatible
  19. with libungif, the library which supported uncompressed GIFs while the
  20. Unisys LZW patent was in effect.
  21. Install the giflib package if you need to write programs that use GIF files.
  22. You should also install the giflib-utils package if you need some simple
  23. utilities to manipulate GIFs.
  24. %description -l ja
  25. giflib パッケージには GIF 形式の画像ファイルを読み書きするために必要な
  26. 共有ライブラリが収録されています。この giflib は、Unisys LZW 特許が有効で
  27. あった時期に、非圧縮形式の GIF ファイルを扱うために使われていたライブラリで
  28. ある libungif と API / ABI 互換性があります。
  29. GIF ファイルを扱うプログラムを作成される場合は giflib パッケージを
  30. インストールして下さい。また、GIF ファイルを操作する簡単なユーティリティが
  31. 必要な場合には giflib-utils パッケージも一緒にインストールする必要があります。
  32. %package devel
  33. Summary: Development tools for programs which will use the giflib library.
  34. Summary(ja): giflib ライブラリを使うプログラム用開発ツール
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Obsoletes: libungif-devel < 4.1.6-1
  38. Provides: libungif-devel = %{version}-%{release}
  39. %description devel
  40. This package contains the static libraries, header files and
  41. documentation necessary for development of programs that will use the
  42. giflib library to load and save GIF format image files.
  43. You should install this package if you need to develop programs which
  44. will use libungif library functions. You'll also need to install the
  45. giflib package.
  46. %description devel -l ja
  47. このパッケージには giflib ライブラリを使って GIF 形式の画像ファイルを
  48. 読み書きするプログラムの開発に必要なスタティックライブラリ、ヘッダファイル
  49. そしてドキュメントが収められています。
  50. giflib ライブラリ関数を使うプログラム開発を行う場合は
  51. このパッケージをインストールする必要があります。
  52. giflib パッケージも同時にインストールして下さい。
  53. %package utils
  54. Summary: Programs for manipulating GIF format image files.
  55. Summary(ja): GIF 形式の画像ファイルを扱うプログラム
  56. Group: Applications/Graphics
  57. Requires: %{name} = %{version}-%{release}
  58. Obsoletes: libungif-progs < 4.1.6-1
  59. %description utils
  60. The giflib-utils package contains various programs for manipulating
  61. GIF format image files.
  62. Install this package if you need to manipulate GIF format image files.
  63. You'll also need to install the giflib package.
  64. %description utils -l ja
  65. giflib-utils パッケージには GIF 形式の画像ファイルを扱う
  66. 様々なプログラムが収められています。
  67. GIF 形式の画像ファイルを扱う必要があるならこのパッケージを
  68. インストールして下さい。giflib パッケージも同時にインストールする
  69. 必要があります。
  70. ## to build compat32 for x86_64 architecture support
  71. %package -n compat32-%{name}
  72. Summary: A library for manipulating GIF format image files.
  73. Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
  74. Group: System Environment/Libraries
  75. Obsoletes: compat32-libungif <= %{version}-%{release}
  76. Provides: compat32-libungif = %{version}-%{release}
  77. %description -n compat32-%{name}
  78. The giflib package contains a shared library of functions for
  79. loading and saving GIF format image files. It is API and ABI compatible
  80. with libungif, the library which supported uncompressed GIFs while the
  81. Unisys LZW patent was in effect.
  82. Install the giflib package if you need to write programs that use GIF files.
  83. You should also install the giflib-utils package if you need some simple
  84. utilities to manipulate GIFs.
  85. %package -n compat32-%{name}-devel
  86. Summary: Development tools for programs which will use the giflib library.
  87. Summary(ja): giflib ライブラリを使うプログラム用開発ツール
  88. Group: Development/Libraries
  89. Obsoletes: compat32-libungif-devel < 4.1.6-1
  90. Provides: compat32-libungif-devel = %{version}-%{release}
  91. %description -n compat32-%{name}-devel
  92. This package contains the static libraries, header files and
  93. documentation necessary for development of programs that will use the
  94. giflib library to load and save GIF format image files.
  95. You should install this package if you need to develop programs which
  96. will use giflib library functions. You'll also need to install the
  97. giflib package.
  98. %prep
  99. %setup -q -n %{name}-%{version}
  100. %build
  101. CFLAGS="%{optflags} -fPIC" \
  102. LDFLAGS="%{?__global_ldflags}" \
  103. %make_build
  104. %install
  105. rm -rf $RPM_BUILD_ROOT
  106. %make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
  107. ## remove unused files
  108. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  109. %post -p /sbin/ldconfig
  110. %postun -p /sbin/ldconfig
  111. %if %{build_compat32}
  112. %post -n compat32-%{name} -p /sbin/ldconfig
  113. %postun -n compat32-%{name} -p /sbin/ldconfig
  114. %endif
  115. %clean
  116. rm -rf $RPM_BUILD_ROOT
  117. %files
  118. %defattr(-,root,root)
  119. %license COPYING
  120. %doc ChangeLog README NEWS
  121. %{_libdir}/lib*.so.*
  122. %files devel
  123. %defattr(-,root,root)
  124. %doc doc/*
  125. %{_libdir}/lib*.so
  126. %{_includedir}/*.h
  127. %files utils
  128. %defattr(-,root,root)
  129. %{_bindir}/*
  130. %{_mandir}/man1/*.1*
  131. ## to build compat32 for x86_64 architecture support
  132. %if %{build_compat32}
  133. %files -n compat32-%{name}
  134. %defattr(-,root,root)
  135. %{_libdir}/lib*.so.*
  136. %files -n compat32-%{name}-devel
  137. %defattr(-,root,root)
  138. %{_libdir}/lib*.so
  139. %endif
  140. %changelog
  141. * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.1-1
  142. - new upstream release.
  143. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.3-1
  144. - new upstream release
  145. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 4.1.6-4
  146. - rebuilt with rpm-4.8.1-3
  147. * Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-3
  148. - rebuild with new environment
  149. - remove static lib
  150. * Thu Aug 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-2
  151. - Obsolete specific version of libungif
  152. * Sun Jan 11 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1
  153. - switch from the obsoleted libungif to the ongoing giflib
  154. due to LZW's patent expiration which happend a few years ago
  155. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 4.1.4-2vl5
  156. - removed *.la
  157. - spec in utf-8
  158. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-1vl5
  159. - applied new versioning policy
  160. - updated URL
  161. * Sun Feb 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-0vl1
  162. - new upstream release
  163. * Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl3
  164. - changed libungif-progs Group to Applications/Graphics
  165. * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.3-3vl2
  166. - added compat32-* packages for x86_64 architecture support
  167. * Tue May 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl1
  168. - new upstream release
  169. - not generate libungif.so.3* any more
  170. - fixed spec file based on 4.1.3-3 from Fedora development
  171. - s/Copyright/License/
  172. - updated URL
  173. * Fri Dec 13 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.0-13vl1
  174. - based on 4.1.0-13 from Rawhide
  175. - Clean up spec file
  176. - Fix build with current auto* tools
  177. * Sat Jul 14 2001 <sagami@vinelinux.org>
  178. - 4.1.0-9vl1
  179. - follow up with 4.1.0-9 which has a fix to build against new libtool
  180. * Mon Feb 19 2001 Jun Nishii <jun@vinelinux.org>
  181. - 4.1.0-7vl2
  182. - build with netpbm
  183. * Fri Jan 12 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  184. - 4.1.0-7vl1
  185. - based on 4.1.0-7 from Rawhide
  186. - added Japanese summary and description
  187. * Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  188. - Make the subpackages require the base package (Bug #14697)
  189. - update URL
  190. - add fixes from the homepage
  191. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  192. - automatic rebuild
  193. * Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  194. - FHS adjustments (release 5)
  195. * Mon Feb 14 2000 Elliot Lee <sopwith@redhat.com> 4.1.0-4
  196. - Add giflibcvs-small2crash.patch, which changes lib/dgif_lib.c to be
  197. whatever is currently in the libungif CVS, thus fixing bug number 9315.
  198. * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  199. - strip libraries
  200. - update URL
  201. - some specfile tweaks
  202. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  203. - auto rebuild in the new build environment (release 2)
  204. * Sun Mar 14 1999 Preston Brown <pbrown@redhat.com>
  205. - include libungif 4.1.0 as standard library, with 3.1.0 backwards compat.
  206. * Mon Jan 11 1999 Cristian Gafton <gafton@redhat.com>
  207. - build for 6.0
  208. - call libtoolize to make sure it will build on the arm
  209. * Sat Oct 31 1998 Jeff Johnson <jbj@redhat.com>
  210. - package for RH 5.2.
  211. * Mon Sep 14 1998 Arne Coucheron <arneco@online.no>
  212. [3.1.0-3]
  213. - major cleanups and changes to the spec file
  214. * Mon Sep 7 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  215. - Upgrade to version 3.1.0 (which incorporates the patches in 3.0-4)
  216. - Updated Source: and URL: to reflect change in directories/pages.
  217. * Tue May 26 1998 Dick Porter <dick@cymru.net>
  218. - Fixed some "warning: cast to pointer from integer of different size" on Alpha
  219. * Tue May 5 1998 Marc Ewing <marc@redhat.com>
  220. - Made it obsolete giflib and provide libgif.so and giflib (previous
  221. giflib packages were built incorrectly and packages built against
  222. it require libgif.so but work fine with this package)
  223. - cleaned buildroot
  224. - Removed Toshio as packager so he doesn't get yelled at when Red Hat
  225. breaks it :-)
  226. * Fri Apr 24 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  227. - Initial revision of libungif, a giflib derivative modified to not use LZW
  228. compression.