Name: sdl12-compat Version: 1.2.68 Release: 1mamba Summary: An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/libsdl-org/sdl12-compat Source: https://github.com/libsdl-org/sdl12-compat.git/release-%{version}/sdl12-compat-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} Provides: libSDL Obsoletes: libSDL <= 1.2.15-2mamba %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libSDL-devel Obsoletes: libSDL-devel <= 1.2.15-2mamba %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %cmake %cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %cmake_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libSDL-1.2.so.* %files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/sdl-config %dir %{_includedir}/SDL %{_includedir}/SDL/*.h %{_libdir}/libSDL-1.2.so %{_libdir}/libSDL.so %{_libdir}/libSDLmain.a %{_libdir}/pkgconfig/sdl12_compat.pc %{_datadir}/aclocal/sdl.m4 %doc README.md %changelog * Mon Apr 01 2024 Silvan Calarco 1.2.68-1mamba - package created using the webbuild interface