Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
SDL
SDL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SDL.spec of Package SDL
# # spec file for package SDL (Version 1.2.13) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define aalib 0 Name: SDL BuildRequires: arts-devel esound-devel libpulse-devel nasm %if 0%{?aalib} == 1 BuildRequires: aalib-devel %endif License: LGPL v2.1 or later Group: System/Libraries # bug437293 %ifarch ppc64 Obsoletes: SDL-64bit %endif %ifarch ppc Obsoletes: SDL-32bit %endif # AutoReqProv: on Version: 1.2.13 Release: 104 Summary: Simple DirectMedia Layer Library Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-rpath.patch Patch1: %{name}-%{version}-autoconf.patch Patch2: %{name}-%{version}-no_anonymus_enum.patch Patch3: %{name}-%{version}-try_alsa_first.patch Patch4: %{name}-%{version}-no_asm_stretch.patch Patch5: %{name}-%{version}-x11-keytounicode.patch Patch6: %{name}-%{version}-aliasing.patch Url: http://www.libsdl.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is the "Simple DirectMedia Layer" library. It provides a generic API for access to audio, keyboard, mouse, and display framebuffer across multiple platforms. Authors: -------- Sam Lantinga <slouken@libsdl.org> %package devel License: LGPL v2.1 or later Summary: SDL Library Developer Files Group: Development/Libraries/X11 # bug437293 %ifarch ppc64 Obsoletes: SDL-devel-64bit %endif %ifarch ppc Obsoletes: SDL-devel-32bit %endif # Provides: sdl-devel Obsoletes: sdl-devel Requires: SDL = %{version} Requires: gcc libstdc++-devel alsa-devel xorg-x11-devel Mesa-devel %if 0%{?aalib} == 1 Requires: aalib-devel %endif %description devel This package contains files needed for development with the SDL library. Authors: -------- Sam Lantinga <slouken@libsdl.org> %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %build # Check for which CPU requirement we opimize and # set _target_cpu to the CPU requirement or if no CPU # requirement opimizations, just the architecture: %define _target_cpu %(OPT_ARCH=`echo "%optflags"|sed -n "s/.*-march=\\([^[:space:]]*\\).*/\\1/p"`; echo ${OPT_ARCH:-%{_arch}}) export CFLAGS="$RPM_OPT_FLAGS" # -fomit-frame-pointer breaks the MMX YV12 conversion on gcc 2.95.2, # so only add -fomit-frame-pointer if we are not in i386: %ifnarch %ix86 export CFLAGS="$CFLAGS -fomit-frame-pointer" %endif export CXXFLAGS="$CFLAGS" ./autogen.sh %configure \ --build=%{_target_platform} \ --disable-video-svga \ --disable-video-ggi \ %if 0%{?aalib} --enable-video-aalib \ %endif --disable-debug \ --enable-xfree86-glidehack \ --enable-dlopen make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT %clean if [ "$RPM_BUILD_ROOT" != / ];then rm -rf "$RPM_BUILD_ROOT";fi %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc BUGS COPYING CREDITS README README-SDL.txt %{_libdir}/libSDL-1.2.so.0* %files devel %defattr(-,root,root) %doc docs.html README.SVN TODO WhatsNew %doc docs/index.html docs/html docs/images %{_libdir}/libSDL.a %{_libdir}/libSDL.la %{_libdir}/libSDL.so %{_libdir}/libSDLmain.a %{_bindir}/* %{_includedir}/SDL %{_datadir}/aclocal/* %{_mandir}/*/* %{_libdir}/pkgconfig/sdl.pc %changelog * Tue Dec 09 2008 ro@suse.de - remove ix86 from ifarch statement obsoleting 32bit package * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Mon Jul 07 2008 schwab@suse.de - Fix aliasing bugs. * Tue May 27 2008 wberrier@novell.com - Build with pulseaudio support to fix some sdl apps (xmoto in this case) (bnc#394721) - Fix dynamic loading on x86_64 for pulse and libasound. This is mainly done so that libsdl doesn't linked against libpulse, but it also fixes libasound on x86_64. (updated SDL-1.2.13-autoconf.patch) * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Tue Mar 25 2008 prusnak@suse.cz - remove aalib support [#373565] - change line "%%define aalib 0" to "%%define aalib 1" in .spec file and rebuild src.rpm if you want it back * Tue Mar 11 2008 prusnak@suse.cz - export X11_KeyToUnicode function but warn to stderr (x11-keytounicode.patch) - some games use this function although it is an internal one which should not be used by new SDL-using code * Tue Jan 15 2008 prusnak@suse.cz - updated to 1.2.13 (minor bug fix release) * fixed link error when building with Intel Compiler 10 * removed stray C++ comment from public headers * fixed crash in SDL_SoftStretch() on secure operating systems * fixed undefined symbol on X11 implementations without UTF-8 support * worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver * scan for all joysticks on Linux instead of stopping at one that was removed * fixed use of sdl-config arguments in sdl.m4 * Tue Sep 25 2007 prusnak@suse.cz - added Mesa-devel to Requires of -devel subpackage * Thu Sep 13 2007 prusnak@suse.cz - disabled assembly stretch for %%ix86 architectures [#309075] (no_asm_stretch.patch) * Wed Jul 25 2007 prusnak@suse.cz - updated to 1.2.22 * added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X and X11 * Fri Mar 02 2007 prusnak@suse.cz - cleaned spec file * Tue Sep 19 2006 dmueller@suse.de - remove slang requires * Fri Sep 08 2006 nadvornik@suse.cz - updated to 1.2.11 * API enhancements * dynamic X11 loading * upstream Xinerama support * pkgconfig configuration support * Thu Jun 01 2006 nadvornik@suse.cz - use upstream patch for 32 visuals bug [#178725] * Wed May 31 2006 nadvornik@suse.cz - do not use depth 32 visuals [#178725] * Fri Mar 10 2006 bk@suse.de - remove the ifnarch s390 s390x for Requires: alsa-devel (obsolete) * Thu Mar 09 2006 bk@suse.de - remove esound-devel from Requires of SDL-devel [#115205] - remove gcc-c++ from Requires of SDL-devel (moved to the packages) - add libstdc++ and gcc to Requires of SDL-devel(req. by libSDL.la) * Fri Feb 10 2006 schwab@suse.de - Fix inconsistent use of structure padding. * Tue Jan 31 2006 aj@suse.de - Reduce BuildRequires. - Fix requires of SDL-devel. * Mon Jan 30 2006 nadvornik@suse.cz - added gcc-c++ to Requires of SDL-devel (it should be possible to build SDL with arts support and without c++ dependency, but this is more safe for now) * Thu Jan 26 2006 nadvornik@suse.cz - removed arts-devel from Requires: of SDL-devel [#115205] * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Dec 15 2005 nadvornik@suse.cz - updated to 1.2.9 - use alsa by default [#114750] * Tue Nov 01 2005 dmueller@suse.de - build libSDL with nonexecutable stack * Mon Oct 10 2005 nadvornik@suse.cz - used -fno-strict-aliasing, removed possibly broken fix * Tue Jul 19 2005 nadvornik@suse.cz - fixed Requires of devel subpackage * Thu Apr 14 2005 sbrabec@suse.cz - Added audiofile-devel to neededforbuild. * Wed Apr 13 2005 pth@suse.de - Give the anonymous enums in SDL_events.h a name so that they're acceptable even for an operator<<. * Mon Apr 04 2005 nadvornik@suse.cz - fixed to compile with gcc4 * Wed Jan 12 2005 schwab@suse.de - Fix asm constraints for x86_64. * Thu Jan 06 2005 nadvornik@suse.cz - updated to 1.2.8: * libasound is dlopened * many bugfixes * Thu Nov 18 2004 nadvornik@suse.cz - do not add rpath to sdl-config --libs [#48331] * Wed Jul 07 2004 sndirsch@suse.de - SDL-1.2.7-xinerama.patch: * use first monitor for fullscreen mode in Xinerama mode (instead of both, which is very annoying!); SDL_VIDEO_X11_XINERAMA_SCREEN environment variable needs to be set for this, so it shouldn't hurt, if the patch isn't perfect * Wed Mar 03 2004 nadvornik@suse.cz - updated to 1.2.7 * Fri Feb 20 2004 nadvornik@suse.cz - fixed underquoted definitions [#34764] * Thu Feb 05 2004 nadvornik@suse.cz - updated to 1.2.6 - arts and esound libs are dlopened - fixed dangerous compiler warnings * Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig * Fri Nov 21 2003 ro@suse.de - compile with -DALSA_PCM_OLD_HW_PARAMS_API * Mon Oct 06 2003 ro@suse.de - added glib2(-devel) to neededforbuild (arts) * Wed Sep 17 2003 tiwai@suse.de - fixed the detection of ALSA device using non-blocking open mode. * Tue Jul 29 2003 aj@suse.de - Fix problems exposed by unit-at-a-time. * Thu Jun 19 2003 ro@suse.de - fix build with current automake * Mon May 26 2003 ro@suse.de - fix problem with target_cpu macro definition in specfile - fix head calling syntax in configure.in * Tue May 13 2003 ro@suse.de - hack to build with current libtool * Mon Mar 31 2003 ro@suse.de - use mesa-devel-packages in neededforbuild * Wed Nov 20 2002 ro@suse.de - work around problem with latest automake * Tue Nov 12 2002 nadvornik@suse.cz updated to 1.2.5: bugfix release * Sun Nov 10 2002 ro@suse.de - fix deprecated multiline string literal for gcc-3.3 * Tue Sep 24 2002 froh@suse.de - %%-ifarch'ed Requires: alsa-devel for all but s390 and s390x (#18647) * Mon Sep 09 2002 kukuk@suse.de - Remove kdelibs3-devel from neededforbuild * Tue Aug 20 2002 tiwai@suse.de - fixed endian check using endian.h [bug #18106] * Mon Aug 12 2002 ro@suse.de - remove OBJCDEPFLAGS from configure.in * Mon Jun 10 2002 meissner@suse.de - use system AM_PROG_LIBTOOL, so we get a newer libtool. * Tue May 21 2002 nadvornik@suse.cz - added SDL-devel requires aalib-devel [bug #15699] * Wed May 15 2002 ro@suse.de - fix rpath for lib64 in sdl-config * Tue Apr 30 2002 bk@suse.de - update to 1.2.4 - remove obsolete -malign stuff(opt_flags use -mcpu=i686 now) * Tue Apr 02 2002 nadvornik@suse.cz - fixed to compile with new autoconf * Fri Feb 15 2002 ro@suse.de - changed neededforbuild <kdelibs3-artsd> to <arts arts-devel> * Mon Feb 04 2002 egmont@suselinux.hu - enable aalib support * Tue Jan 22 2002 uli@suse.de - build with KDE 3 * Wed Jan 09 2002 nadvornik@suse.cz - used macros %%{_lib} and %%{_libdir} * Mon Dec 03 2001 tiwai@suse.de - added support for ALSA 0.9.0. * Mon Nov 26 2001 nadvornik@suse.cz - update to 1.2.3: - added X11 Xinerama support - added platform independent OpenGL header - SDL_opengl.h - added support for DirectFB video on Linux - added initial NVidia acceleration on framebuffer console * Wed Nov 07 2001 nadvornik@suse.cz - fixed src/hermes/Makefile.am for new automake - SDL_devel requires alsa-devel and esound-devel [bug #8630] * Tue Nov 06 2001 nadvornik@suse.cz - fixed to compile with new automake * Tue Sep 04 2001 nadvornik@suse.cz - do not use -fomit-frame-pointer on i386 arch * Tue Aug 07 2001 nadvornik@suse.cz - installed correctly * Thu Aug 02 2001 nadvornik@suse.cz - renamed sdl -> SDL - changed kdelibs -> kdelibs-artsd in neededforbuild - updated to 1.2.2 * Mon Jun 18 2001 nadvornik@suse.cz - compiled with aRts support (bug #8601) - added nasm to neededforbuild * Thu May 17 2001 nadvornik@suse.cz - fixed cast warnings and include files for ia64 * Wed May 09 2001 mfabian@suse.de - bzip2 sources * Sat Apr 14 2001 schwab@suse.de - Run autoconf prior to configuring. * Thu Apr 12 2001 nadvornik@suse.cz - update to 1.2.0 * Mon Mar 26 2001 kkaempf@suse.de - package split -devel * Wed Mar 07 2001 ro@suse.de - changed neededforbuild <mesadev> to <mesa-devel> * Tue Mar 06 2001 bk@suse.de - fix _target_platform: set _target_cpu from arch and optflags - does not use -mcpu=pentiumpro any longer, uses other optimisations - fix broken 486 case in configure(.in): -march=486 -> -march=i486 - remove duplicate entries from %%doc lines * Sun Feb 18 2001 bk@suse.de - update to 1.1.8, use RPM_OPT_FLAGS and enable sdl optimisations - fix manuals installation and simplify documentation installation - SDL-1.1.8.dif: disable -march=pentium, allowing -mcpu=pentiumpro * Sat Nov 04 2000 kukuk@suse.de - fix neededforbuild * Tue Oct 24 2000 nadvornik@suse.cz - update to 1.1.6 * Tue Sep 05 2000 nadvornik@suse.cz - back to suse_update_config -f (with libtool 1.3.5 it works) * Thu Aug 31 2000 nadvornik@suse.cz - used suse_update_config -fl - removed -lXv from sdl-config * Mon Aug 28 2000 nadvornik@suse.cz - removed xdevel3 from neededforbuild (1.1.4 does not need it) - added mesa, mesadev, mesasoft to neededforbuild - added -lXv to sdl-config * Wed Aug 16 2000 uli@suse.de - update -> 1.1.4 (need this for smpeg-xmms) * Fri Jul 28 2000 nadvornik@suse.cz - compiled with xdevel3 to work with xf86 3.3.6 * Tue May 23 2000 freitag@suse.de - new version 1.1.2 - xdevel to neededforbuild to get libXx... * Wed May 03 2000 kukuk@suse.de - Fix configure for new libtool - use defaultdocdir macro * Sat Apr 08 2000 bk@suse.de - added suse update config macro * Sun Apr 02 2000 sndirsch@suse.de - update to version 1.0.8 (e.g. required by aleclone 1.16.1) * Mon Feb 28 2000 freitag@suse.de - spec-cleanup * Wed Dec 15 1999 freitag@suse.de - update to version 1.0.1 * Mon Sep 27 1999 bs@suse.de - fixed requirements for sub packages * Tue Sep 21 1999 uli@suse.de - run Configure.sh on PPC * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon May 31 1999 ro@suse.de - added code to build on alpha (copied from linuxthreads-0.6 like the rest) * Wed May 26 1999 uli@suse.de - added sdldev subpack * Fri May 21 1999 uli@suse.de - fixed #includes/definitions for glibc 2.1 * Mon Mar 22 1999 uli@suse.de - new package, version 0.9.9
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor