Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
SDL
SDL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SDL.spec of Package SDL
# # spec file for package SDL (Version 1.2.14) # # Copyright (c) 2010 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: esound-devel nasm %if 0%{?suse_version} > 1100 BuildRequires: libpulse-devel %endif %if 0%{?suse_version} < 1120 BuildRequires: arts-devel %else BuildRequires: Mesa-devel alsa-devel gcc-c++ glib2-devel libstdc++-devel pkgconfig xorg-x11-devel %endif %if 0%{?aalib} == 1 BuildRequires: aalib-devel %endif %ifarch ppc ppc64 BuildRequires: libspe2-devel %endif License: LGPLv2.1+ Group: System/Libraries Version: 1.2.14 Release: 9 Summary: Simple DirectMedia Layer Library Source: http://www.libsdl.org/release/SDL-%{version}.tar.gz Source2: baselibs.conf Patch0: SDL-1.2.13-x11-keytounicode.patch # PATCH-FIX-UPSTREAM SDL-1.2.14-wesnoth_clicks.patch http://bugzilla.libsdl.org/show_bug.cgi?id=894 -- See bug report, fixes Wesnoth Patch1: SDL-1.2.14-wesnoth_clicks.patch # PATCH-FIX-UPSTREAM SDL-1.2.14-joystick-crash.patch https://bugzilla.novell.com/show_bug.cgi?id=632271 -- See bug report, fixes joystick crash Patch2: SDL-1.2.14-joystick-crash.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 -n libSDL-1_2-0 Summary: Simple DirectMedia Layer Library Group: System/Libraries License: LGPLv2.1+ # SDL was used last in 11.1 Provides: SDL = %{version} Obsoletes: SDL < %{version} # bnc437293 %ifarch ppc64 Obsoletes: SDL-64bit %endif %description -n libSDL-1_2-0 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 -n libSDL-devel License: LGPLv2.1+ Summary: SDL Library Developer Files Group: Development/Libraries/X11 # SDL-devel was used last in 11.1 Provides: SDL-devel = %{version} Obsoletes: SDL-devel < %{version} # bnc437293 %ifarch ppc64 Obsoletes: SDL-devel-64bit %endif Requires: libSDL-1_2-0 = %{version} Requires: gcc libstdc++-devel alsa-devel xorg-x11-devel Mesa-devel pkgconfig %if 0%{?aalib} == 1 Requires: aalib-devel %endif %description -n libSDL-devel This package contains files needed for development with the SDL library. Authors: -------- Sam Lantinga <slouken@libsdl.org> %prep %setup -q %patch0 %patch1 -p1 %patch2 -p1 # remove the file to provide sufficient evidence that we are # not using this file during the build [bnc#508111] rm -f src/joystick/darwin/10.3.9-FIX/IOHIDLib.h %build ./autogen.sh %configure \ --disable-static \ --with-pic \ --disable-rpath \ --disable-alsa-shared \ %if 0%{?aalib} --enable-video-aalib \ %endif --disable-video-svga \ --disable-video-ps3 make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf "$RPM_BUILD_ROOT" %post -n libSDL-1_2-0 -p /sbin/ldconfig %postun -n libSDL-1_2-0 -p /sbin/ldconfig %files -n libSDL-1_2-0 %defattr(-,root,root) %doc BUGS COPYING CREDITS README README-SDL.txt %{_libdir}/*.so.* %files -n libSDL-devel %defattr(-,root,root) %doc docs.html README.SVN TODO WhatsNew %doc docs/index.html docs/html docs/images %{_bindir}/* %{_libdir}/*.so %{_libdir}/libSDLmain.a %{_includedir}/SDL %{_datadir}/aclocal/* %{_mandir}/*/* %{_libdir}/pkgconfig/sdl.pc %changelog
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