SDL_image-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Summary: Simple DirectMedia Layer - Sample Image Loading Library
  2. Name: SDL_image
  3. Version: 1.2.6
  4. Release: 1%{?_dist_release}
  5. Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildRequires: SDL-devel
  10. BuildRequires: libjpeg-devel
  11. BuildRequires: libpng-devel
  12. BuildRequires: libtiff-devel
  13. BuildRequires: autoconf automake libtool
  14. BuildRequires: sane
  15. #BuildRequires: XOrg-devel
  16. %description
  17. This is a simple library to load images of various formats as SDL surfaces.
  18. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats.
  19. %description -l ja
  20. これはSDLにて様々な画像フォーマットを扱うライブラリです。
  21. このライブラリはBMP, PPM, PCX, GIF, JPEG, PNG, TIFF形式をサポートします。
  22. %package devel
  23. Summary: Libraries, includes and more to develop SDL applications.
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: SDL-devel
  27. %description devel
  28. This is a simple library to load images of various formats as SDL surfaces.
  29. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats.
  30. %description devel -l ja
  31. これはSDLにて様々な画像フォーマットを扱うライブラリです。
  32. このライブラリはBMP, PPM, PCX, GIF, JPEG, PNG, TIFF形式をサポートします。
  33. %prep
  34. %setup -q
  35. %build
  36. %configure
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. %makeinstall
  41. #install showimage
  42. %__mkdir_p $RPM_BUILD_ROOT%{_bindir}
  43. /bin/sh ./libtool --mode=install /usr/bin/install -c showimage \
  44. $RPM_BUILD_ROOT%{_bindir}
  45. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root)
  52. %doc README CHANGES COPYING
  53. %{_bindir}/showimage*
  54. %{_libdir}/lib*.so.*
  55. %files devel
  56. %defattr(-,root,root)
  57. %{_libdir}/lib*.a
  58. %{_libdir}/lib*.so
  59. %{_includedir}/SDL/
  60. %changelog
  61. * Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1
  62. - new upstream release
  63. - applied new versioning policy
  64. - spec in UTF-8
  65. * Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2
  66. - add BuildRequires: libtiff-devel
  67. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
  68. - new upstream release
  69. - added %post and %postun section
  70. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  71. - new upstream release
  72. * Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6
  73. - rebuilt as -0vl6, release number should be greater than VinePlus/3.1
  74. - added BuildRequires: XOrg-devel
  75. * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4
  76. - rebuilt without linking libasound.so.2 (ppc only fix)
  77. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3
  78. - added japanese description
  79. - built by SDL-1.2.7
  80. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2
  81. - fixed typo in spec
  82. * Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  83. - New upstream version (SDL_image-1.2.3)
  84. - Used rpmmacros
  85. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
  86. - updated SDL_image-1.2.2
  87. * Wed Jan 19 2000 Sam Lantinga
  88. - converted to get package information from configure
  89. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  90. - initial spec file