SDL-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. Summary: Simple DirectMedia Layer
  2. Name: SDL
  3. Version: 1.2.14
  4. Release: 2%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Libraries
  7. URL: http://www.libsdl.org/
  8. Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
  9. Patch0: SDL-1.2.10-byteorder.patch
  10. Patch1: SDL-1.2.14-prefersounddaemons.patch
  11. #BuildRequires: XOrg-devel, XOrg-gl-devel
  12. BuildRequires: xorg-x11-devel, mesa-libGL-devel
  13. BuildRequires: alsa-lib-devel, esound-devel, arts-devel
  14. BuildRequires: pulseaudio-libs-devel
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. %description
  17. This is the Simple DirectMedia Layer, a generic API that provides low
  18. level access to audio, keyboard, mouse, and display framebuffer across
  19. multiple platforms.
  20. %description -l ja
  21. このパッケージはSimple DirectMedia Layerであり、複数のプラットホーム間の
  22. オーディオ、キーボード、マウスやディスプレイフレームバッファにlow level
  23. アクセスするための一般的なAPIです。
  24. %package devel
  25. Summary: Libraries, includes and more to develop SDL applications.
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. This is the Simple DirectMedia Layer, a generic API that provides low
  30. level access to audio, keyboard, mouse, and display framebuffer across
  31. multiple platforms.
  32. This is the libraries, include files and other resources you can use
  33. to develop SDL applications.
  34. %description devel -l ja
  35. このパッケージはSimple DirectMedia Layerであり、複数のプラットホーム間の
  36. オーディオ、キーボード、マウスやディスプレイフレームバッファにlow level
  37. アクセスするための一般的なAPIです。
  38. このパッケージはSDLアプリケーションを開発するために使用されるincludeファイルや
  39. その他リソースを含んでいます。
  40. %prep
  41. %setup -q
  42. %patch0 -p1 -b .byte
  43. %patch1 -p1 -b .prefer
  44. %build
  45. #libtoolize --force
  46. #aclocal
  47. #autoconf
  48. %configure \
  49. --disable-video-svga --disable-video-ggi --disable-video-aalib \
  50. --disable-video-directfb --disable-video-ps3 \
  51. --disable-debug \
  52. --enable-dlopen \
  53. --enable-arts-shared \
  54. --enable-esd-shared \
  55. --enable-alsa-shared \
  56. --enable-sdl-dlopen \
  57. --disable-rpath
  58. make
  59. %install
  60. rm -rf %{buildroot}
  61. %makeinstall
  62. ## remove unuse files
  63. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  64. %clean
  65. rm -rf %{buildroot}
  66. %post -p /sbin/ldconfig
  67. %postun -p /sbin/ldconfig
  68. %files
  69. %defattr(-,root,root)
  70. %doc README-SDL.txt COPYING CREDITS BUGS
  71. %{_libdir}/lib*.so.*
  72. %files devel
  73. %defattr(-,root,root)
  74. %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
  75. %doc docs/index.html docs/html
  76. %{_bindir}/*-config
  77. %{_libdir}/lib*.so
  78. %{_libdir}/pkgconfig/*.pc
  79. %{_includedir}/SDL/
  80. %{_mandir}/man3/*
  81. %{_datadir}/aclocal/*
  82. %changelog
  83. * Sat Sep 25 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.14-2
  84. - add "--disable-video-ps3"
  85. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.14-1
  86. - new upstream release
  87. - update prefer sound daemons patch (Patch1)
  88. - drop unnecessary libdir patch (Patch2)
  89. - stop running "aclocal" and "autoconf"
  90. - add BuildRequires: pulseaudio-libs-devel
  91. - remove *.a
  92. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.13-2vl5
  93. - spec in utf-8
  94. - remove *.la
  95. * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.13-1vl5
  96. - new upstream release
  97. - updated Patch3
  98. * Tue Jul 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.12-0vl1
  99. - new upstream release
  100. - remove obsolete Patch10 which is merged in upstream
  101. * Wed Jul 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl3
  102. - update Patch10 to add missing X11 symbols for X11 dynamic loading.
  103. * Fri Jul 13 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl2
  104. - add Patch10 to support XIM on SDL-X11
  105. (see http://bugzilla.libsdl.org/show_bug.cgi?id=429)
  106. * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.11-0vl1
  107. - new upstream release
  108. - update byteorder.patch (patch0), prefersounddaemons.patch (patch1)
  109. - drop c++.patch (patch2), no_rpath.patch (patch5), x86_64.patch (patch7)
  110. - import libdir.patch (patch2) from FC
  111. - update %%configure options:
  112. - add '--disable-video-directfb --disable-rpath --enable-sdl-dlopen'
  113. - add '--enable-{esd,arts,alsa}-shared'
  114. - drop '--enable-xfree86-glidehack'
  115. - add *.pc to SDL-devel package
  116. - add BuildRequires: {XOrg,XOrg-gl,alsa-lib,esound,arts}-devel
  117. - add Requires: pkgconfig to -devel package
  118. * Tue Oct 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.8-0vl2
  119. - fixed x86_64 endian problem with x86_64 patch
  120. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.8-0vl1
  121. - new upstream version
  122. -- dropped patch4 and patch6
  123. * Fri Sep 10 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.7-0vl2
  124. - rebuilt without alsa-lib (sorry, ppc.rpm had dependencies with alsa-lib)
  125. * Mon May 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.7-0vl1
  126. - new upstream version
  127. -- dropped patch3
  128. -- added patch4,5,6 from fedora
  129. - added Japanese description
  130. * Mon May 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  131. - changed configure option
  132. -- --disable-arts --enable-dlopen
  133. - added BuildPrereq: automake autoconf libtool
  134. - added some patches from rawhide SDL-1.2.5-3
  135. -- SDL-1.2.3-prefersounddaemons.patch
  136. -- SDL-1.2.3-c++.patch
  137. -- SDL-1.2.5-dgavideo-modes.patch
  138. - didn't to use libtool/config.{sub,guess}, autogen.sh
  139. * Sun Oct 13 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  140. - new upstream version.
  141. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  142. - updated SDL-1.2.4
  143. * Thu Jan 10 2002 akira yamada <akira@vinelinux.org> 1.2.3-0vl1
  144. - new upstream version.
  145. * Mon Aug 27 2001 Shoji Matsumoto <shom@vinelinux.org> 1.2.2-0vl2
  146. - rebuild on current Seed
  147. * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org>
  148. - 1.2.2-0vl1: updated to 1.2.2 with better macros
  149. * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
  150. - Re-integrated spec file into SDL distribution
  151. - 'name' and 'version' come from configure
  152. - Some of the documentation is devel specific
  153. - Removed SMP support from %build - it doesn't work with libtool anyway
  154. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  155. - Hacked Mandrake sdl spec to build 1.1
  156. * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
  157. - Build Release
  158. * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
  159. - Add symlink for libSDL-1.0.so.0 required by sdlbomber
  160. - Added docs
  161. * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
  162. - v 1.0.0
  163. * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  164. - First spec file for Mandrake distribution.
  165. # end of file