diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..d87f5613ec4234f82f8eaeebc563711f587fdf88 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.xz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..24000bbfd207d6ced43051f0b942964d1292971c --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/SDL2 diff --git a/SDL2-2.30.11.tar.gz b/SDL2-2.30.11.tar.gz deleted file mode 100644 index eeb15821e93438a7d7328963a2f88c20cfd98b73..0000000000000000000000000000000000000000 Binary files a/SDL2-2.30.11.tar.gz and /dev/null differ diff --git a/SDL2-2.30.12.tar.xz b/SDL2-2.30.12.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..db3277a2cdb3e48c96dbed039c6b18cbf3f1577b --- /dev/null +++ b/SDL2-2.30.12.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7040a7908d700d2abefba154166cb04bbf0bfdf4c33b741711850bbc79efbfce +size 5371336 diff --git a/SDL2.spec b/SDL2.spec index 3cfdc4951becf55ba04cb97a3d33f8ea1e664527..1f1f79e79252e3460df38936a9634abbb7050f46 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,10 +1,10 @@ Name: SDL2 -Version: 2.30.11 +Version: 2.30.12 Release: 1 Summary: Cross-platform multimedia library License: zlib and MIT -URL: http://www.libsdl.org/ -Source0: https://github.com/libsdl-org/SDL/releases/download/release-%{version}/%{name}-%{version}.tar.gz +URL: https://www.libsdl.org/ +Source0: https://github.com/libsdl-org/SDL/releases/download/release-%{version}/%{name}-%{version}.tar.xz Source1: SDL_config.h Patch0000: multilib.patch # Prefer Wayland by default @@ -66,18 +66,15 @@ sed -i -e 's/.*AM_PATH_ESD.*//' configure.ac --enable-lasx=no --enable-lsx=no %endif -make %{?_smp_mflags} +%make_build %install %make_install +%delete_la mv %{buildroot}%{_includedir}/SDL2/SDL_config.h %{buildroot}%{_includedir}/SDL2/SDL_config-%{_arch}.h install -pm 0644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h -rm -vf %{buildroot}%{_libdir}/*.la - -%ldconfig_scriptlets - %files %doc BUGS.txt CREDITS.txt README-SDL.txt %{_libdir}/lib*.so.* @@ -95,6 +92,9 @@ rm -vf %{buildroot}%{_libdir}/*.la %{_libdir}/lib*.a %changelog +* Mon Feb 03 2025 Funda Wang - 2.30.12-1 +- update to 2.30.12 + * Fri Jan 17 2025 wangkai <13474090681@163.com> - 2.30.11-1 - Upgrade version to 2.30.11 diff --git a/SDL2.yaml b/SDL2.yaml index 0d4c8f810fbb10f755f59acdb904840224dc023d..71a849f47d22d38d4f3e8b95be9766d34c283ade 100644 --- a/SDL2.yaml +++ b/SDL2.yaml @@ -1,4 +1,4 @@ -version_control: hg -src_repo: https://hg.libsdl.org/SDL +version_control: github +src_repo: libsdl-org/SDL tag_prefix: ^release- -seperator: . +separator: .