Fix packaging static cmake config

epel9
Sandro Mani 3 years ago
parent d22cadf064
commit bae17ad797

@ -2,7 +2,7 @@
Name: mingw-SDL2
Version: 2.0.22
Release: 1%{?dist}
Release: 2%{?dist}
Summary: MinGW Windows port of SDL2 cross-platform multimedia library
License: LGPLv2+
@ -101,6 +101,7 @@ device.
%{mingw32_libdir}/libSDL2.dll.a
%{mingw32_libdir}/libSDL2main.a
%{mingw32_libdir}/cmake/SDL2/
%exclude %{mingw32_libdir}/cmake/SDL2/*static*
%{mingw32_libdir}/pkgconfig/sdl2.pc
%{mingw32_datadir}/aclocal/sdl2.m4
%{mingw32_includedir}/SDL2
@ -108,6 +109,7 @@ device.
# Win32 (static)
%files -n mingw32-SDL2-static
%{mingw32_libdir}/libSDL2.a
%{mingw32_libdir}/cmake/SDL2/*static*
# Win64
%files -n mingw64-SDL2
@ -117,6 +119,7 @@ device.
%{mingw64_libdir}/libSDL2.dll.a
%{mingw64_libdir}/libSDL2main.a
%{mingw64_libdir}/cmake/SDL2/
%exclude %{mingw64_libdir}/cmake/SDL2/*static*
%{mingw64_libdir}/pkgconfig/sdl2.pc
%{mingw64_datadir}/aclocal/sdl2.m4
%{mingw64_includedir}/SDL2
@ -124,9 +127,13 @@ device.
# Win64 (static)
%files -n mingw64-SDL2-static
%{mingw64_libdir}/libSDL2.a
%{mingw64_libdir}/cmake/SDL2/*static*
%changelog
* Thu Jun 23 2022 Sandro Mani <manisandro@gmail.com> - 2.0.22-2
- Fix packaging static cmake config
* Sat Apr 30 2022 Neal Gompa <ngompa@fedoraproject.org> - 2.0.22-1
- Update to 2.0.22

Loading…
Cancel
Save