mirror of
https://abf.rosa.ru/djam/SDL3.git
synced 2025-02-23 13:52:54 +00:00
New version 2.0.5
New library major 1
This commit is contained in:
parent
1e73e6ae0d
commit
978d5a454b
2 changed files with 17 additions and 15 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
SDL2-2.0.4.tar.gz: 470a23dfc4b6220c687925ebbe5fe96287f8fb08
|
||||
SDL2-2.0.5.tar.gz: c4f87580630387796df4ac87c362b4f9a721457e
|
||||
|
|
30
SDL2.spec
30
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}.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue