SDL_image-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: Simple DirectMedia Layer - Sample Image Loading Library
  2. Name: SDL_image
  3. Version: 1.2.12
  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. make install DESTDIR=$RPM_BUILD_ROOT
  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}/*.{a,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*.so
  58. %{_libdir}/pkgconfig/SDL_image.pc
  59. %{_includedir}/SDL/
  60. %changelog
  61. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
  62. - new upstream release
  63. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.10-1
  64. - new upstream release
  65. - add pkg-config file in devel package
  66. - remove *.a
  67. * Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1
  68. - new upstream release
  69. - applied new versioning policy
  70. - spec in UTF-8
  71. * Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2
  72. - add BuildRequires: libtiff-devel
  73. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
  74. - new upstream release
  75. - added %post and %postun section
  76. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  77. - new upstream release
  78. * Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6
  79. - rebuilt as -0vl6, release number should be greater than VinePlus/3.1
  80. - added BuildRequires: XOrg-devel
  81. * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4
  82. - rebuilt without linking libasound.so.2 (ppc only fix)
  83. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3
  84. - added japanese description
  85. - built by SDL-1.2.7
  86. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2
  87. - fixed typo in spec
  88. * Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  89. - New upstream version (SDL_image-1.2.3)
  90. - Used rpmmacros
  91. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
  92. - updated SDL_image-1.2.2
  93. * Wed Jan 19 2000 Sam Lantinga
  94. - converted to get package information from configure
  95. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  96. - initial spec file