SDL-vl.spec 6.8 KB

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