2024-01-06 03:37:49 +01:00
|
|
|
Name: libSDL2
|
2024-01-06 03:37:49 +01:00
|
|
|
Version: 2.0.3
|
2024-01-06 03:37:49 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://libsdl.org/
|
|
|
|
Source: http://libsdl.org/release/SDL2-%{version}.tar.gz
|
|
|
|
License: zlib/libpng
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libaudio-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libts-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SDL2-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libSDL2-2.0.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/sdl2-config
|
|
|
|
%dir %{_includedir}/SDL2
|
|
|
|
%{_includedir}/SDL2/SDL.h
|
|
|
|
%{_includedir}/SDL2/SDL_*.h
|
|
|
|
%{_includedir}/SDL2/begin_code.h
|
|
|
|
%{_includedir}/SDL2/close_code.h
|
|
|
|
%{_libdir}/libSDL2-2.0.so
|
|
|
|
%{_libdir}/libSDL2.a
|
|
|
|
%{_libdir}/libSDL2.so
|
|
|
|
%{_libdir}/libSDL2main.a
|
|
|
|
%{_libdir}/pkgconfig/sdl2.pc
|
|
|
|
%{_datadir}/aclocal/sdl2.m4
|
|
|
|
%doc README-android.txt README-cmake.txt README-directfb.txt README-gesture.txt README-hg.txt README-ios.txt README-macosx.txt README-pandora.txt README-platforms.txt README-porting.txt README-psp.txt README-raspberrypi.txt README-SDL.txt README-touch.txt README.txt README-wince.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:37:49 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:37:49 +01:00
|
|
|
* Thu Nov 28 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- package created using the webbuild interface
|