SDL_image-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: Simple DirectMedia Layer - Sample Image Loading Library
  2. Name: SDL_image
  3. Version: 1.2.12
  4. Release: 3%{?_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. --enable-tif \
  39. --disable-jpg-shared \
  40. --disable-png-shared \
  41. --disable-tif-shared \
  42. --disable-static
  43. make
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. #install showimage
  48. %__mkdir_p $RPM_BUILD_ROOT%{_bindir}
  49. /bin/sh ./libtool --mode=install /usr/bin/install -c showimage \
  50. $RPM_BUILD_ROOT%{_bindir}
  51. rm -f %{buildroot}%{_libdir}/lib*.la
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %defattr(-,root,root)
  58. %doc README CHANGES COPYING
  59. %{_bindir}/showimage*
  60. %{_libdir}/lib*.so.*
  61. %files devel
  62. %defattr(-,root,root)
  63. %{_libdir}/lib*.so
  64. %{_libdir}/pkgconfig/SDL_image.pc
  65. %{_includedir}/SDL/
  66. %changelog
  67. * Mon Jan 5 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 1.2.12-3
  68. - rebuild
  69. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-2
  70. - rebuild with VineSeed environment
  71. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
  72. - new upstream release
  73. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.10-1
  74. - new upstream release
  75. - add pkg-config file in devel package
  76. - remove *.a
  77. * Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1
  78. - new upstream release
  79. - applied new versioning policy
  80. - spec in UTF-8
  81. * Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2
  82. - add BuildRequires: libtiff-devel
  83. * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
  84. - new upstream release
  85. - added %post and %postun section
  86. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  87. - new upstream release
  88. * Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6
  89. - rebuilt as -0vl6, release number should be greater than VinePlus/3.1
  90. - added BuildRequires: XOrg-devel
  91. * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4
  92. - rebuilt without linking libasound.so.2 (ppc only fix)
  93. * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3
  94. - added japanese description
  95. - built by SDL-1.2.7
  96. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2
  97. - fixed typo in spec
  98. * Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
  99. - New upstream version (SDL_image-1.2.3)
  100. - Used rpmmacros
  101. * Tue Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
  102. - updated SDL_image-1.2.2
  103. * Wed Jan 19 2000 Sam Lantinga
  104. - converted to get package information from configure
  105. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  106. - initial spec file