SDL-vl.spec 6.5 KB

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