otaylor / rpms / SDL

Forked from rpms/SDL 5 years ago
Clone
cvsdist edee187
Summary: A cross-platform multimedia library.
cvsdist f463012
Name: SDL
98dd7f3
Version: 1.2.9
e7c8638
Release: 5.2.1
cvsdist bce6143
Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
cvsdist edee187
Patch0: SDL-1.1.7-byteorder.patch
cvsdist 88335b7
Patch13: SDL-1.2.7-ppc_modes.patch
be9c219
Patch15: SDL-1.2.8-gcc4.patch
017fcc5
Patch17: SDL-1.2.8-libdir.patch
98dd7f3
Patch18: SDL-1.2.9-yuv_mmx_gcc4.patch
c20ec01
Patch19: SDL-1.2.8-preferalsa.patch
a849014
Patch20: SDL-1.2.9-no_exec_stack.patch
cvsdist f463012
URL: http://www.libsdl.org/
cvsdist f463012
License: LGPL
cvsdist f463012
Group: System Environment/Libraries
cvsdist f463012
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist bd70e75
BuildRequires: nasm arts-devel audiofile-devel
cvsdist bd70e75
BuildRequires: esound-devel alsa-lib-devel
481a3b7
BuildRequires: libXext-devel libX11-devel
cvsdist f463012
cvsdist f463012
%description
cvsdist edee187
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
cvsdist edee187
designed to provide fast access to the graphics frame buffer and audio
cvsdist edee187
device.
cvsdist f463012
cvsdist f463012
%package devel
cvsdist edee187
Summary: Files needed to develop Simple DirectMedia Layer applications.
cvsdist f463012
Group: Development/Libraries
923966e
Requires: SDL = %{version}-%{release} alsa-lib-devel
923966e
Requires: libX11-devel
923966e
Requires: libXext-devel
cvsdist f463012
cvsdist f463012
%description devel
cvsdist edee187
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
cvsdist edee187
designed to provide fast access to the graphics frame buffer and audio
cvsdist 988452d
device. This package provides the libraries, include files, and other
cvsdist edee187
resources needed for developing SDL applications.
cvsdist f463012
cvsdist f463012
%prep
cvsdist f463012
rm -rf %{buildroot}
cvsdist f463012
cvsdist f463012
%setup -q 
cvsdist edee187
%patch0 -p1 -b .byte
cvsdist 88335b7
%patch13 -p1 -b .ppc_modes
be9c219
%patch15 -p1 -b .gcc4
017fcc5
%patch17 -p1 -b .libdir
98dd7f3
%patch18 -p1 -b .yuv_mmx_gcc4
c20ec01
%patch19 -p1 -b .prefer
a849014
%patch20 -p1 -b .no_exec_stack
cvsdist f463012
cvsdist f463012
%build
9528c96
#libtoolize --copy --force
9528c96
#aclocal
9528c96
#autoconf
9528c96
#automake --foreign --include-deps --add-missing --force-missing --copy -a
cvsdist 8da0c70
CFLAGS="$RPM_OPT_FLAGS -O3" CXXFLAGS="$RPM_OPT_FLAGS -O3" \
cvsdist 359f74e
./configure \
cvsdist bd70e75
   --prefix=%{_prefix} \
cvsdist bd70e75
   --disable-video-svga --disable-video-ggi --disable-video-aalib \
cvsdist 359f74e
   --disable-debug \
cvsdist bd70e75
   --sysconfdir=%{_sysconfdir} \
cvsdist bd70e75
   --enable-sdl-dlopen \
cvsdist 359f74e
   --enable-dlopen \
cvsdist 359f74e
   --enable-arts-shared \
cvsdist 359f74e
   --libdir=%{_libdir} \
cvsdist bd70e75
   --enable-esd-shared \
98dd7f3
   --enable-alsa \
98dd7f3
   --disable-rpath
cvsdist 359f74e
export tagname=CC
cvsdist bce6143
make %{?_smp_mflags}
cvsdist f463012
cvsdist f463012
%install
cvsdist f463012
rm -rf %{buildroot}
cvsdist 359f74e
cvsdist 359f74e
export tagname=CC
cvsdist f463012
%makeinstall
cvsdist f463012
057bfe5
# remove libtool .la file
057bfe5
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
057bfe5
cvsdist f463012
%clean
cvsdist f463012
rm -rf %{buildroot}
cvsdist f463012
cvsdist f463012
%post -p /sbin/ldconfig
cvsdist f463012
cvsdist f463012
%postun -p /sbin/ldconfig
cvsdist f463012
cvsdist f463012
%files
cvsdist f463012
%defattr(-,root,root)
cvsdist f463012
%doc README-SDL.txt COPYING CREDITS BUGS
cvsdist f463012
%{_libdir}/lib*.so.*
cvsdist f463012
cvsdist f463012
%files devel
cvsdist f463012
%defattr(-,root,root)
cvsdist edee187
%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html docs/html
cvsdist edee187
%doc docs/index.html
cvsdist f463012
%{_bindir}/*-config
cvsdist f463012
%{_libdir}/lib*.so
cvsdist f463012
%{_libdir}/*a
cvsdist bce6143
%{_includedir}/SDL
cvsdist f463012
%{_datadir}/aclocal/*
cvsdist bce6143
%{_mandir}/man3/SDL*.3*
cvsdist f463012
cvsdist f463012
%changelog
e7c8638
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-5.2.1
e7c8638
- rebump for build order issues during double-long bump
e7c8638
5490277
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-5.2
5490277
- bump again for double-long bug on ppc(64)
5490277
7d265bb
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-5.1
7d265bb
- rebuilt for new gcc4.1 snapshot and glibc changes
7d265bb
a849014
* Fri Jan 27 2006 Thomas Woerner <twoerner@redhat.com> 1.2.9-5
a849014
- added upstream no exec stack patch
a849014
c20ec01
* Thu Jan 26 2006 Thomas Woerner <twoerner@redhat.com> 1.2.9-4
c20ec01
- prefer alsa sound output, then artsd and esd
c20ec01
057bfe5
* Tue Jan 24 2006 Thomas Woerner <twoerner@redhat.com> 1.2.9-3
057bfe5
- dropped libtool .la files from devel package
057bfe5
4d034a6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4d034a6
- rebuilt
4d034a6
481a3b7
* Wed Nov 16 2005 Thomas Woerner <twoerner@redhat.com> 1.2.9-2.1
481a3b7
- fixed build requires
481a3b7
923966e
* Tue Nov 15 2005 Warren Togami <wtogami@redhat.com> 1.2.9-2
923966e
- -devel req actual X libs
923966e
98dd7f3
* Mon Nov  7 2005 Thomas Woerner <twoerner@redhat.com> 1.2.9-1
98dd7f3
- new version 1.2.9 with additional gcc4 fixes
98dd7f3
- using xorg-x11-devel instead of XFree86-devel
98dd7f3
017fcc5
* Thu May 26 2005 Bill Nottingham <notting@redhat.com> 1.2.8-3.2
017fcc5
- fix configure script for libdir so library deps are identical on all
017fcc5
  arches (#158346)
017fcc5
3cb2de5
* Thu Apr 14 2005 Thomas Woerner <twoerner@redhat.com> 1.2.8-3.1
3cb2de5
- new version of the gcc4 fix
3cb2de5
be9c219
* Tue Apr 12 2005 Thomas Woerner <twoerner@redhat.com> 1.2.8-3
be9c219
- fixed gcc4 compile problems
3af6240
- fixed x86_64 endian problem
be9c219
132090e
* Wed Feb  9 2005 Thomas Woerner <twoerner@redhat.com> 1.2.8-2
132090e
- rebuild
132090e
6f1184d
* Fri Dec 17 2004 Thomas Woerner <twoerner@redhat.com> 1.2.8-1
6f1184d
- new version 1.2.8
6f1184d
39539fc
* Thu Oct 14 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-8
39539fc
- added patch from SDL CVS for arts detection/initialization problem (#113831)
39539fc
9528c96
* Wed Sep 29 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-7.1
9528c96
- moved to new autofoo utils
9528c96
cvsdist 88335b7
* Fri Jul  9 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-7
cvsdist 88335b7
- fixed resolution switching for ppc (#127254)
cvsdist 88335b7
cvsdist 9fd37b7
* Mon Jun 21 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-6
cvsdist 9fd37b7
- fixed gcc34 build problems
cvsdist 9fd37b7
cvsdist 9fd37b7
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 9fd37b7
- rebuilt
cvsdist 9fd37b7
cvsdist c1226d8
* Mon May 24 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-4
cvsdist c1226d8
- added requires for alsa-lib-devel (#123374)
cvsdist c1226d8
cvsdist 9bfef81
* Wed Mar 31 2004 Harald Hoyer <harald@redhat.com> - 1.2.7-3
cvsdist 9bfef81
- fixed gcc34 compilation issues
cvsdist 9bfef81
cvsdist bd70e75
* Wed Mar 10 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-2.1
cvsdist bd70e75
- added buildrequires for alsa-lib-devel
cvsdist bd70e75
- now using automake 1.5
cvsdist bd70e75
cvsdist bd70e75
* Tue Mar  9 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-2
cvsdist bd70e75
- Fixed SDL requires for devel package
cvsdist bd70e75
cvsdist bd70e75
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bd70e75
- rebuilt
cvsdist bd70e75
- Revive SDL-ppc64.patch
cvsdist bd70e75
cvsdist bd70e75
* Mon Mar  1 2004 Thomas Woerner <twoerner@redhat.com> 1.2.7-1
cvsdist bd70e75
- new version 1.2.7
cvsdist bd70e75
cvsdist bd70e75
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bd70e75
- rebuilt
cvsdist bd70e75
cvsdist bd70e75
* Thu Feb  5 2004 Thomas Woerner <twoerner@redhat.com> 1.2.6-3.1
cvsdist bd70e75
- disabled several video modes, hopefuilly fixes (#113831)
cvsdist bd70e75
cvsdist 8da0c70
* Thu Jan 29 2004 Thomas Woerner <twoerner@redhat.com> 1.2.6-3
cvsdist 8da0c70
- fix for alsa 1.0
cvsdist 8da0c70
cvsdist 8da0c70
* Tue Nov 25 2003 Thomas Woerner <twoerner@redhat.com> 1.2.6-2
cvsdist 8da0c70
- removed rpath
cvsdist 8da0c70
- using O3 instead of O2, now (SDL_RLEaccel.c compile error)
cvsdist 8da0c70
- added BuildRequires for nasm
cvsdist 8da0c70
cvsdist 8da0c70
* Tue Sep  2 2003 Thomas Woerner <twoerner@redhat.com> 1.2.6-1
cvsdist 8da0c70
- new version 1.2.6
cvsdist 8da0c70
cvsdist 359f74e
* Thu Aug  7 2003 Elliot Lee <sopwith@redhat.com> 1.2.5-9
cvsdist 359f74e
- Fix libtool
cvsdist 359f74e
cvsdist 359f74e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 359f74e
- rebuilt
cvsdist 359f74e
cvsdist 359f74e
* Wed Jun  4 2003 Than Ngo <than@redhat.com> 1.2.5-7
cvsdist 359f74e
- fix build problem with gcc 3.3
cvsdist 359f74e
- clean up specfile
cvsdist 359f74e
cvsdist 359f74e
* Mon May 19 2003 Thomas Woerner  <twoerner@redhat.com> 1.2.5-5
cvsdist 359f74e
- rebuild
cvsdist 359f74e
cvsdist 359f74e
* Tue Apr 15 2003 Thomas Woerner  <twoerner@redhat.com> 1.2.5-4
cvsdist 359f74e
- X11 modes fix (use more than 60 Hz, when possible)
cvsdist 359f74e
cvsdist 359f74e
* Mon Feb 17 2003 Elliot Lee <sopwith@redhat.com> 1.2.5-3.5
cvsdist 359f74e
- ppc64 fix
cvsdist 359f74e
cvsdist bce6143
* Mon Feb 10 2003 Thomas Woerner  <twoerner@redhat.com> 1.2.5-3
cvsdist bce6143
- added -fPIC to LDFLAGS
cvsdist bce6143
cvsdist bce6143
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist bce6143
- rebuilt
cvsdist bce6143
cvsdist bce6143
* Tue Dec 10 2002 Thomas Woerner <twoerner@redhat.com> 1.2.5-1
cvsdist bce6143
- new version 1.2.5
cvsdist bce6143
- disabled conflicting automake16 patch
cvsdist bce6143
- dgavideo modes fix (#78861)
cvsdist bce6143
cvsdist bce6143
* Sun Dec 01 2002 Elliot Lee <sopwith@redhat.com> 1.2.4-7
cvsdist bce6143
- Fix unpackaged files by including them.
cvsdist bce6143
- _smp_mflags
cvsdist bce6143
cvsdist bce6143
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1.2.4-6
cvsdist bce6143
- remove unpackaged files from the buildroot
cvsdist bce6143
- lib64'ize
cvsdist bce6143
cvsdist 87233d3
* Sat Jul 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 87233d3
- do not require nasm for mainframe
cvsdist 87233d3
cvsdist f35dc94
* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.4-4
cvsdist f35dc94
- Fix bug #67255
cvsdist f35dc94
cvsdist f35dc94
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist f35dc94
- automated rebuild
cvsdist f35dc94
cvsdist f35dc94
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist f35dc94
- automated rebuild
cvsdist f35dc94
cvsdist f35dc94
* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.4-1
cvsdist f35dc94
- 1.2.4
cvsdist f35dc94
- Fix build with automake 1.6
cvsdist d30e1d4
cvsdist 82e1d04
* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-7
cvsdist 82e1d04
- Fix AM_PATH_SDL automake macro with AC_LANG(c++) (#60533)
cvsdist 82e1d04
cvsdist 957ba6c
* Thu Feb 28 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-6
cvsdist 957ba6c
- Rebuild in current environment
cvsdist 957ba6c
cvsdist 957ba6c
* Thu Jan 24 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-5
cvsdist 957ba6c
- dlopen() aRts and esd rather than linking directly to them.
cvsdist 957ba6c
- make sure aRts and esd are actually used if they're running.
cvsdist 957ba6c
cvsdist 957ba6c
* Mon Jan 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-4
cvsdist 957ba6c
- Don't crash without xv optimization: BuildRequire a version of nasm that
cvsdist 957ba6c
  works.
cvsdist 957ba6c
cvsdist 957ba6c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 957ba6c
- automated rebuild
cvsdist 957ba6c
cvsdist 957ba6c
* Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-2
cvsdist 957ba6c
- Rebuild with new aRts, require arts-devel rather than kdelibs-sound-devel
cvsdist 957ba6c
- Temporarily exclude alpha (compiler bugs)
cvsdist 957ba6c
cvsdist 957ba6c
* Thu Nov 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.3-1
cvsdist 957ba6c
- 1.2.3
cvsdist 957ba6c
cvsdist 957ba6c
* Sat Nov 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-5
cvsdist 957ba6c
- Add workaround for automake 1.5 asm bugs
cvsdist 957ba6c
cvsdist 957ba6c
* Tue Oct 30 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-4
cvsdist 957ba6c
- Make sure -fPIC is used on all architectures (#55039)
cvsdist 957ba6c
- Fix build with autoconf 2.5x
cvsdist 957ba6c
cvsdist d962f7a
* Fri Aug 31 2001 Bill Nottingham <notting@redhat.com> 1.2.2-3
cvsdist d962f7a
- rebuild (fixes #50750??)
cvsdist d962f7a
cvsdist 988452d
* Thu Aug  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-2
cvsdist 988452d
- SDL-devel should require esound-devel and kdelibs-sound-devel (#44884)
cvsdist 988452d
cvsdist edee187
* Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-1
cvsdist edee187
- Update to 1.2.2; this should fix #47941
cvsdist edee187
- Add build dependencies
cvsdist edee187
cvsdist edee187
* Tue Jul 10 2001 Elliot Lee <sopwith@redhat.com> 1.2.1-3
cvsdist edee187
- Rebuild to eliminate libXv/libXxf86dga deps.
cvsdist edee187
cvsdist edee187
* Fri Jun 29 2001 Preston Brown <pbrown@redhat.com>
cvsdist edee187
- output same libraries for sdl-config whether --libs or --static-libs 
cvsdist edee187
  selected.  Fixes compilation of most SDL programs.
cvsdist edee187
- properly packaged new HTML documentation
cvsdist edee187
cvsdist edee187
* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.1-1
cvsdist edee187
- 1.2.1
cvsdist edee187
cvsdist edee187
* Mon May  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.0-2
cvsdist edee187
- Add Bill's byteorder patch
cvsdist edee187
cvsdist edee187
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist edee187
- 1.2.0
cvsdist 9fb596d
cvsdist 1990745
* Tue Feb 27 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 1990745
- SDL-devel requires SDL
cvsdist 1990745
cvsdist 1990745
* Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 1990745
- Require arts rather than kdelibs-sound
cvsdist 1990745
cvsdist 1990745
* Sun Jan  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 1990745
- 1.1.7
cvsdist 1990745
cvsdist 1990745
* Tue Oct 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 1990745
- 1.1.6
cvsdist 1990745
cvsdist f463012
* Mon Aug  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist f463012
- build against new DGA
cvsdist f463012
- update to 1.1.4, remove patches (they're now in the base release)
cvsdist f463012
cvsdist f463012
* Tue Aug  1 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist f463012
- %%post -p /sbin/ldconfig (Bug #14928)
cvsdist f463012
- add URL
cvsdist f463012
cvsdist f463012
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist f463012
- automatic rebuild
cvsdist f463012
cvsdist f463012
* Sun Jun 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist f463012
- replace patch that fell out of SRPM
cvsdist f463012
cvsdist f463012
* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
cvsdist f463012
- FHS paths
cvsdist f463012
- use 1.1 (development) version; everything even from Loki links to it!
cvsdist f463012
cvsdist f463012
* Thu May  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist f463012
- autoconf fixes for ia64
cvsdist f463012
cvsdist f463012
* Mon Apr 24 2000 Tim Powers <timp@redhat.com>
cvsdist f463012
- updated to 1.0.8
cvsdist f463012
cvsdist f463012
* Tue Feb 15 2000 Tim Powers <timp@redhat.com>
cvsdist f463012
- updated to 1.0.4, fixes problems when run in 8bpp
cvsdist f463012
cvsdist f463012
* Tue Feb 01 2000 Tim  Powers <timp@redhat.com>
cvsdist f463012
- applied patch from Hans de Goede <hans@highrise.nl> for fullscreen toggling.
cvsdist f463012
- using  --enable-video-x11-dgamouse since it smoothes the mouse some.
cvsdist f463012
cvsdist f463012
* Sun Jan 30 2000 Tim Powers <timp@redhat.com>
cvsdist f463012
- updated to 1.0.3, bugfix update
cvsdist f463012
cvsdist f463012
* Fri Jan 28 2000 Tim Powers <timp@redhat.com>
cvsdist f463012
- fixed group etc
cvsdist f463012
cvsdist f463012
* Fri Jan 21 2000 Tim Powers <timp@redhat.com>
cvsdist f463012
- build for 6.2 Powertools
cvsdist f463012
cvsdist f463012
* Wed Jan 19 2000 Sam Lantinga <slouken@devolution.com>
cvsdist f463012
- Re-integrated spec file into SDL distribution
cvsdist f463012
- 'name' and 'version' come from configure 
cvsdist f463012
- Some of the documentation is devel specific
cvsdist f463012
- Removed SMP support from %build - it doesn't work with libtool anyway
cvsdist f463012
cvsdist f463012
* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
cvsdist f463012
- Hacked Mandrake sdl spec to build 1.1
cvsdist f463012
cvsdist f463012
* Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
cvsdist f463012
- Build Release
cvsdist f463012
cvsdist f463012
* Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
cvsdist f463012
- Add symlink for libSDL-1.0.so.0 required by sdlbomber
cvsdist f463012
- Added docs
cvsdist f463012
cvsdist f463012
* Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
cvsdist f463012
- v 1.0.0
cvsdist f463012
cvsdist f463012
* Mon Nov  1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
cvsdist f463012
- First spec file for Mandrake distribution.
cvsdist f463012
cvsdist f463012
# end of file