SDL_image-vl.spec 3.6 KB

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