SDL-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. Summary: Simple DirectMedia Layer
  2. Name: SDL
  3. Version: 1.2.13
  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.12-prefersounddaemons.patch
  11. Patch2: SDL-1.2.13-libdir.patch
  12. #BuildRequires: XOrg-devel, XOrg-gl-devel
  13. BuildRequires: xorg-x11-devel, mesa-libGL-devel
  14. BuildRequires: alsa-lib-devel, esound-devel, arts-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. %patch2 -p1 -b .libdir
  45. %build
  46. #libtoolize --force
  47. aclocal
  48. autoconf
  49. %configure \
  50. --disable-video-svga --disable-video-ggi --disable-video-aalib \
  51. --disable-video-directfb \
  52. --disable-debug \
  53. --enable-dlopen \
  54. --enable-arts-shared \
  55. --enable-esd-shared \
  56. --enable-alsa-shared \
  57. --enable-sdl-dlopen \
  58. --disable-rpath
  59. make
  60. %install
  61. rm -rf %{buildroot}
  62. %makeinstall
  63. ## remove unuse files
  64. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  65. %clean
  66. rm -rf %{buildroot}
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %files
  70. %defattr(-,root,root)
  71. %doc README-SDL.txt COPYING CREDITS BUGS
  72. %{_libdir}/lib*.so.*
  73. %files devel
  74. %defattr(-,root,root)
  75. %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
  76. %doc docs/index.html docs/html
  77. %{_bindir}/*-config
  78. %{_libdir}/lib*.so
  79. %{_libdir}/*a
  80. %{_libdir}/pkgconfig/*.pc
  81. %{_includedir}/SDL/
  82. %{_mandir}/man3/*
  83. %{_datadir}/aclocal/*
  84. %changelog
  85. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.13-2vl5
  86. - spec in utf-8
  87. - remove *.la
  88. * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.13-1vl5
  89. - new upstream release
  90. - updated Patch3
  91. * Tue Jul 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.12-0vl1
  92. - new upstream release
  93. - remove obsolete Patch10 which is merged in upstream
  94. * Wed Jul 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl3
  95. - update Patch10 to add missing X11 symbols for X11 dynamic loading.
  96. * Fri Jul 13 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-0vl2
  97. - add Patch10 to support XIM on SDL-X11
  98. (see http://bugzilla.libsdl.org/show_bug.cgi?id=429)
  99. * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.11-0vl1
  100. - new upstream release
  101. - update byteorder.patch (patch0), prefersounddaemons.patch (patch1)
  102. - drop c++.patch (patch2), no_rpath.patch (patch5), x86_64.patch (patch7)
  103. - import libdir.patch (patch2) from FC
  104. - update %%configure options:
  105. - add '--disable-video-directfb --disable-rpath --enable-sdl-dlopen'
  106. - add '--enable-{esd,arts,alsa}-shared'
  107. - drop '--enable-xfree86-glidehack'
  108. - add *.pc to SDL-devel package
  109. - add BuildRequires: {XOrg,XOrg-gl,alsa-lib,esound,arts}-devel
  110. - add Requires: pkgconfig to -devel package
  111. * Tue Oct 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.8-0vl2
  112. - fixed x86_64 endian problem with x86_64 patch
  113. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.8-0vl1
  114. - new upstream version
  115. -- dropped patch4 and patch6
  116. * Fri Sep 10 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.7-0vl2
  117. - rebuilt without alsa-lib (sorry, ppc.rpm had dependencies with alsa-lib)
  118. * Mon May 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.7-0vl1
  119. - new upstream version
  120. -- dropped patch3
  121. -- added patch4,5,6 from fedora
  122. - added Japanese description
  123. * Mon May 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl2
  124. - changed configure option
  125. -- --disable-arts --enable-dlopen
  126. - added BuildPrereq: automake autoconf libtool
  127. - added some patches from rawhide SDL-1.2.5-3
  128. -- SDL-1.2.3-prefersounddaemons.patch
  129. -- SDL-1.2.3-c++.patch
  130. -- SDL-1.2.5-dgavideo-modes.patch
  131. - didn't to use libtool/config.{sub,guess}, autogen.sh
  132. * Sun Oct 13 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.5-0vl1
  133. - new upstream version.
  134. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
  135. - updated SDL-1.2.4
  136. * Thu Jan 10 2002 akira yamada <akira@vinelinux.org> 1.2.3-0vl1
  137. - new upstream version.
  138. * Mon Aug 27 2001 Shoji Matsumoto <shom@vinelinux.org> 1.2.2-0vl2
  139. - rebuild on current Seed
  140. * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org>
  141. - 1.2.2-0vl1: updated to 1.2.2 with better macros
  142. * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
  143. - Re-integrated spec file into SDL distribution
  144. - 'name' and 'version' come from configure
  145. - Some of the documentation is devel specific
  146. - Removed SMP support from %build - it doesn't work with libtool anyway
  147. * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
  148. - Hacked Mandrake sdl spec to build 1.1
  149. * Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
  150. - Build Release
  151. * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
  152. - Add symlink for libSDL-1.0.so.0 required by sdlbomber
  153. - Added docs
  154. * Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
  155. - v 1.0.0
  156. * Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  157. - First spec file for Mandrake distribution.
  158. # end of file