SDL-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. Summary: Simple DirectMedia Layer
  2. Name: SDL
  3. Version: 1.2.14
  4. Release: 1%{?_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 \
  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. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.14-1
  84. - new upstream release
  85. - update prefer sound daemons patch (Patch1)
  86. - drop unnecessary libdir patch (Patch2)
  87. - stop running "aclocal" and "autoconf"
  88. - add BuildRequires: pulseaudio-libs-devel
  89. - remove *.a
  90. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.13-2vl5
  91. - spec in utf-8
  92. - remove *.la
  93. * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.13-1vl5
  94. - new upstream release
  95. - updated Patch3
  96. * Tue Jul 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.12-0vl1
  97. - new upstream release
  98. - remove obsolete Patch10 which is merged in upstream
  99. * Wed Jul 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl3
  100. - update Patch10 to add missing X11 symbols for X11 dynamic loading.
  101. * Fri Jul 13 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl2
  102. - add Patch10 to support XIM on SDL-X11
  103. (see http://bugzilla.libsdl.org/show_bug.cgi?id=429)
  104. * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.11-0vl1
  105. - new upstream release
  106. - update byteorder.patch (patch0), prefersounddaemons.patch (patch1)
  107. - drop c++.patch (patch2), no_rpath.patch (patch5), x86_64.patch (patch7)
  108. - import libdir.patch (patch2) from FC
  109. - update %%configure options:
  110. - add '--disable-video-directfb --disable-rpath --enable-sdl-dlopen'
  111. - add '--enable-{esd,arts,alsa}-shared'
  112. - drop '--enable-xfree86-glidehack'
  113. - add *.pc to SDL-devel package
  114. - add BuildRequires: {XOrg,XOrg-gl,alsa-lib,esound,arts}-devel
  115. - add Requires: pkgconfig to -devel package
  116. * Tue Oct 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.8-0vl2
  117. - fixed x86_64 endian problem with x86_64 patch
  118. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.8-0vl1
  119. - new upstream version
  120. -- dropped patch4 and patch6
  121. * Fri Sep 10 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.7-0vl2
  122. - rebuilt without alsa-lib (sorry, ppc.rpm had dependencies with alsa-lib)
  123. * Mon May 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.7-0vl1
  124. - new upstream version
  125. -- dropped patch3
  126. -- added patch4,5,6 from fedora
  127. - added Japanese description
  128. * Mon May 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  129. - changed configure option
  130. -- --disable-arts --enable-dlopen
  131. - added BuildPrereq: automake autoconf libtool
  132. - added some patches from rawhide SDL-1.2.5-3
  133. -- SDL-1.2.3-prefersounddaemons.patch
  134. -- SDL-1.2.3-c++.patch
  135. -- SDL-1.2.5-dgavideo-modes.patch
  136. - didn't to use libtool/config.{sub,guess}, autogen.sh
  137. * Sun Oct 13 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  138. - new upstream version.
  139. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  140. - updated SDL-1.2.4
  141. * Thu Jan 10 2002 akira yamada <akira@vinelinux.org> 1.2.3-0vl1
  142. - new upstream version.
  143. * Mon Aug 27 2001 Shoji Matsumoto <shom@vinelinux.org> 1.2.2-0vl2
  144. - rebuild on current Seed
  145. * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org>
  146. - 1.2.2-0vl1: updated to 1.2.2 with better macros
  147. * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
  148. - Re-integrated spec file into SDL distribution
  149. - 'name' and 'version' come from configure
  150. - Some of the documentation is devel specific
  151. - Removed SMP support from %build - it doesn't work with libtool anyway
  152. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  153. - Hacked Mandrake sdl spec to build 1.1
  154. * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
  155. - Build Release
  156. * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
  157. - Add symlink for libSDL-1.0.so.0 required by sdlbomber
  158. - Added docs
  159. * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
  160. - v 1.0.0
  161. * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  162. - First spec file for Mandrake distribution.
  163. # end of file