Add devel dependencies expected by SDL packages to devel subpackage

This commit is contained in:
Neal Gompa 2021-06-20 08:05:13 -04:00
parent f0c7d424f1
commit bf015874c4

View File

@ -11,7 +11,7 @@
Name: sdl12-compat
Version: 0.0.1~git.%{commitdate}.%{shortcommit}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: SDL 1.2 runtime compatibility library using SDL 2.0
# mp3 decoder code is MIT-0/PD
# SDL_opengl.h is SGI-Free-B-1.1 but is upgraded to SGI-Free-B-2.0 for Fedora
@ -62,6 +62,15 @@ Obsoletes: SDL-devel < 1.2.15-47
Conflicts: SDL-devel < 1.2.50
Provides: SDL-devel = 1.2.50
Provides: SDL-devel%{?_isa} = 1.2.50
# Add deps required to compile SDL apps
Requires: pkgconfig(gl)
Requires: pkgconfig(glu)
# Add deps previously required by SDL-devel
Requires: pkgconfig(alsa)
Requires: pkgconfig(x11)
Requires: pkgconfig(xext)
Requires: pkgconfig(xrandr)
Requires: pkgconfig(xrender)
%description devel
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
@ -137,6 +146,9 @@ install -m644 %{SOURCE1} %{buildroot}/%{_includedir}/SDL/SDL_config.h
%changelog
* Sun Jun 20 2021 Neal Gompa <ngompa13@gmail.com> - 0.0.1~git.20210618.f44f295-2
- Add devel dependencies expected by SDL packages to devel subpackage
* Fri Jun 18 2021 Neal Gompa <ngompa13@gmail.com> - 0.0.1~git.20210618.f44f295-1
- Update to new snapshot release