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