Accepting request 186961 from home:jengelh:branches:games
- Some metadata spruce-up: add current URLs, softer wildcarding in the files list, more robust make install call - Reduce build dependencies (xorg-x11-devel drew in a lot) - Optional signature verification in local builds OBS-URL: https://build.opensuse.org/request/show/186961 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=14
This commit is contained in:
parent
a0304e4d16
commit
810bab89e1
BIN
SDL2-2.0.0.tar.gz.sig
Normal file
BIN
SDL2-2.0.0.tar.gz.sig
Normal file
Binary file not shown.
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Some metadata spruce-up: add current URLs, softer wildcarding
|
||||
in the files list, more robust make install call
|
||||
- Reduce build dependencies
|
||||
- Optional signature verification in local builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 11:27:54 UTC 2013 - prusnak@opensuse.org
|
||||
|
||||
|
28
SDL2.keyring
Normal file
28
SDL2.keyring
Normal file
@ -0,0 +1,28 @@
|
||||
pub 1024D/A7763BE6 2001-01-05
|
||||
uid Sam Lantinga <slouken@libsdl.org>
|
||||
sub 1024g/06F8768C 2001-01-05
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQGiBDpWOb0RBADQwd3d9mzt6KzqlsgXf9mikBuMbpKzYs1SBKYpdzUs9sRY0CnH
|
||||
vCQTrL5sI57yKLnqEl6SbIiE75ZwrSWwvUDFFTh35Jew5nPZwv64en2kw2y4qrnJ
|
||||
kBZCHDSU4KgfUZtoJ25Tmeru5MLNbXxCOoMszO5L5OchwMrGMtmFLRA/bwCgy5Th
|
||||
d1/vJo+bej9tbgv++SJ05o0D/3MPK7EBoxWkQ0I+ScqOsvSMRQXWc/hXy4lyIp8e
|
||||
xJByBApkv0LiiT3KlPpq/K2gTlDlCZ/JTt6Rv8Ug0g47R3a0aoz9kfc15Uj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||||
Name: SDL2
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: esound-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpulse-devel
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: nasm
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
%ifarch ppc ppc64
|
||||
BuildRequires: libspe2-devel
|
||||
%endif
|
||||
%define lname libSDL2-2_0-0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Simple DirectMedia Layer Library
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
Url: http://www.libsdl.org/
|
||||
Source: http://www.libsdl.org/tmp/release/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Group: Development/Libraries/X11
|
||||
Url: http://libsdl.org/
|
||||
|
||||
#DL-URL: http://libsdl.org/download-2.0.php
|
||||
Source: http://libsdl.org/release/%name-%version.tar.gz
|
||||
Source2: http://libsdl.org/release/%name-%version.tar.gz.sig
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: Mesa-libEGL-devel
|
||||
BuildRequires: Mesa-libGL-devel
|
||||
BuildRequires: Mesa-libGLESv1_CM-devel
|
||||
BuildRequires: Mesa-libGLESv2-devel
|
||||
BuildRequires: alsa-devel >= 0.9.0
|
||||
BuildRequires: esound-devel >= 0.2.8
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXScrnSaver-devel
|
||||
BuildRequires: libXcursor-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXxf86vm-devel
|
||||
BuildRequires: nasm
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(libpulse-simple) >= 0.9
|
||||
%ifarch ppc ppc64
|
||||
BuildRequires: libspe2-devel
|
||||
%endif
|
||||
|
||||
%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.
|
||||
|
||||
%package -n libSDL2-2_0-0
|
||||
%package -n %lname
|
||||
Summary: Simple DirectMedia Layer Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libSDL2-2_0-0
|
||||
%description -n %lname
|
||||
This is the "Simple DirectMedia Layer" library. It provides a generic
|
||||
API for access to audio, keyboard, mouse, and display framebuffer
|
||||
across multiple platforms.
|
||||
@ -58,20 +72,22 @@ across multiple platforms.
|
||||
%package -n libSDL2-devel
|
||||
Summary: SDL2 Library Developer Files
|
||||
Group: Development/Libraries/X11
|
||||
Requires: Mesa-devel
|
||||
Requires: alsa-devel
|
||||
Requires: gcc
|
||||
Requires: libSDL2-2_0-0 = %{version}
|
||||
Requires: libstdc++-devel
|
||||
Requires: %lname = %{version}
|
||||
Requires: c_compiler
|
||||
Requires: pkgconfig
|
||||
Requires: xorg-x11-devel
|
||||
Requires: pkgconfig(gl)
|
||||
Requires: pkgconfig(glesv1_cm)
|
||||
Requires: pkgconfig(glesv2)
|
||||
Requires: pkgconfig(glu)
|
||||
Requires: pkgconfig(x11)
|
||||
Requires: pkgconfig(xproto)
|
||||
|
||||
%description -n libSDL2-devel
|
||||
This package contains files needed for development with the SDL2
|
||||
library.
|
||||
|
||||
%prep
|
||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
@ -85,23 +101,23 @@ library.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libSDL2-2_0-0 -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n libSDL2-2_0-0 -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n libSDL2-2_0-0
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc BUGS.txt COPYING.txt CREDITS.txt README.txt README-SDL.txt
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libSDL2-2*.so.*
|
||||
|
||||
%files -n libSDL2-devel
|
||||
%defattr(-,root,root)
|
||||
%doc TODO.txt WhatsNew.txt
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_bindir}/sdl2-config
|
||||
%{_libdir}/libSDL2.so
|
||||
%{_libdir}/libSDL2.a
|
||||
%{_libdir}/libSDL2main.a
|
||||
%{_libdir}/libSDL2_test.a
|
||||
|
Loading…
Reference in New Issue
Block a user