diff --git a/.abf.yml b/.abf.yml index 789bac4..8395aa9 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - SDL2-2.0.4.tar.gz: 470a23dfc4b6220c687925ebbe5fe96287f8fb08 + SDL2-2.0.5.tar.gz: c4f87580630387796df4ac87c362b4f9a721457e diff --git a/SDL2.spec b/SDL2.spec index 3403a2f..7efb76b 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,18 +1,20 @@ +%define oversion 0.4.1 + %define api 2.0 -%define major 0 +%define major 1 %define libname %mklibname %{name}_ %{api} %{major} %define devname %mklibname %{name} -d Summary: Simple DirectMedia Layer Name: SDL2 -Version: 2.0.4 -Release: 2 +Version: 2.0.5 +Release: 1 License: Zlib Group: System/Libraries Url: http://www.libsdl.org/ Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz Patch0: SDL2-2.0.3-cmake.patch -#Patch1: SDL2-2.0.1-cmake-joystick.patch +BuildRequires: cmake BuildRequires: nas-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(dbus-1) @@ -29,36 +31,36 @@ BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(zlib) -BuildRequires: cmake - -#---------------------------------------------------------------------------- %description This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. -%package -n %{libname} +#---------------------------------------------------------------------------- + +%package -n %{libname} Summary: Main library for %{name} Group: System/Libraries -%description -n %{libname} +%description -n %{libname} This package contains the library needed to run programs dynamically linked with %{name}. %files -n %{libname} %doc README.txt README-SDL.txt CREDITS.txt COPYING.txt BUGS.txt WhatsNew.txt -%{_libdir}/libSDL2-%{api}.so.%{major}* +%{_libdir}/libSDL2-%{api}.so.%{major} +%{_libdir}/libSDL2-%{api}.so.%{oversion} #---------------------------------------------------------------------------- -%package -n %{devname} +%package -n %{devname} Summary: Headers for developing programs that will use %{name} Group: Development/C -Requires: %{libname} = %{version}-%{release} -Provides: %{name}-devel = %{version}-%{release} +Requires: %{libname} = %{EVRD} +Provides: %{name}-devel = %{EVRD} -%description -n %{devname} +%description -n %{devname} This package contains the headers that programmers will need to develop applications which will use %{name}.