- Update to release 2.2.0

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=12
This commit is contained in:
Jan Engelhardt 2022-08-20 08:12:59 +00:00 committed by Git OBS Bridge
parent 0a8344fb36
commit 5e4910525e
5 changed files with 29 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21
size 347436

3
SDL2_net-2.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb
size 8707169

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Aug 19 18:02:46 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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

View File

@ -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

View File

@ -1,6 +1,3 @@
libSDL2_net-2_0-0
provides "SDL2_net-<targettype> = <version>"
obsoletes "SDL2_net-<targettype> <= <version>"
libSDL2_net-devel
requires -libSDL2_net-<targettype>
requires "libSDL2_net-2_0-0-<targettype> = <version>"
provides "SDL2_net-<targettype> = <version>"
obsoletes "SDL2_net-<targettype> <= <version>"