source: projects/specs/branches/6/S/SDL/SDL-vl.spec @ 1893

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