SDL_image-vl.spec 3.4 KB

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