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