From 5e4910525ed58bbf98c7a5e55fd70d363a083a1f9d5b62c9d5e2d3941ce339b1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 20 Aug 2022 08:12:59 +0000 Subject: [PATCH] - Update to release 2.2.0 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=12 --- SDL2_net-2.0.1.tar.gz | 3 --- SDL2_net-2.2.0.tar.gz | 3 +++ SDL2_net.changes | 9 +++++++++ SDL2_net.spec | 28 +++++++++++++++------------- baselibs.conf | 7 ++----- 5 files changed, 29 insertions(+), 21 deletions(-) delete mode 100644 SDL2_net-2.0.1.tar.gz create mode 100644 SDL2_net-2.2.0.tar.gz diff --git a/SDL2_net-2.0.1.tar.gz b/SDL2_net-2.0.1.tar.gz deleted file mode 100644 index 50b2139..0000000 --- a/SDL2_net-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 -size 347436 diff --git a/SDL2_net-2.2.0.tar.gz b/SDL2_net-2.2.0.tar.gz new file mode 100644 index 0000000..80e8104 --- /dev/null +++ b/SDL2_net-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb +size 8707169 diff --git a/SDL2_net.changes b/SDL2_net.changes index 4a7a413..1752af7 100644 --- a/SDL2_net.changes +++ b/SDL2_net.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 19 18:02:46 UTC 2022 - Jan Engelhardt + +- Update to release 2.2.0 + * Build procedure updates only +- Rename devel package to just %name-devel, which is what most + our packages do. +- Trim baselibs.conf, stop producing SDL2_net-devel + ------------------------------------------------------------------- Thu Aug 9 14:42:12 UTC 2018 - rpm@fthiessen.de diff --git a/SDL2_net.spec b/SDL2_net.spec index 3d81772..a18ae4d 100644 --- a/SDL2_net.spec +++ b/SDL2_net.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2_net # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define lname libSDL2_net-2_0-0 Name: SDL2_net -Version: 2.0.1 +Version: 2.2.0 Release: 0 Summary: SDL2 networking library License: Zlib @@ -27,9 +27,9 @@ URL: http://libsdl.org/projects/SDL_net/ #Hg-Clone: http://hg.libsdl.org/SDL_net/ Source: http://www.libsdl.org/projects/SDL_net/release/%name-%version.tar.gz Source2: baselibs.conf +BuildRequires: SDL2-devel >= 2.24 BuildRequires: dos2unix BuildRequires: pkg-config -BuildRequires: pkgconfig(sdl2) %description This is a networking library for use with SDL. @@ -42,21 +42,22 @@ Provides: SDL2_net = %version %description -n %lname This is a networking library for use with SDL. -%package -n libSDL2_net-devel +%package devel Summary: Development files for the SDL2 networking library Group: Development/Libraries/C and C++ -Requires: %lname = %version -Provides: SDL2_net-devel = %version +Requires: %lname = %version-%release +Obsoletes: libSDL2_net-devel < %version-%release +Provides: libSDL2_net-devel = %version-%release -%description -n libSDL2_net-devel +%description devel This is a networking library for use with SDL. %prep -%setup -q +%autosetup -p1 %build %configure --disable-static -make %{?_smp_mflags} +%make_build dos2unix CHANGES.txt README.txt %install @@ -67,13 +68,14 @@ find %buildroot -type f -name "*.la" -delete -print %postun -n %lname -p /sbin/ldconfig %files -n %lname -%license COPYING.txt -%doc CHANGES.txt README.txt +%license LICENSE.txt %_libdir/libSDL2_net-2*.so.* -%files -n libSDL2_net-devel +%files devel +%doc CHANGES.txt README.txt %_includedir/SDL2/ %_libdir/libSDL2_net.so %_libdir/pkgconfig/SDL2_net.pc +%_libdir/cmake/ %changelog diff --git a/baselibs.conf b/baselibs.conf index eaf40af..eda5911 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,3 @@ libSDL2_net-2_0-0 - provides "SDL2_net- = " - obsoletes "SDL2_net- <= " -libSDL2_net-devel - requires -libSDL2_net- - requires "libSDL2_net-2_0-0- = " + provides "SDL2_net- = " + obsoletes "SDL2_net- <= "