From 78508d8ad3bf19b784cef84b5ec3464a0b7d72c9651bb71399f3359ca5fa1ab4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Aug 2018 08:02:09 +0000 Subject: [PATCH 1/3] Accepting request 628474 from home:susnux:branches:games - Update to 2.0.1 * Use of SDL provided function rather then depending on system provided functions OBS-URL: https://build.opensuse.org/request/show/628474 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=8 --- SDL2_net-2.0.0.tar.gz | 3 --- SDL2_net-2.0.1.tar.gz | 3 +++ SDL2_net.changes | 7 +++++++ SDL2_net.spec | 25 ++++++++++++------------- 4 files changed, 22 insertions(+), 16 deletions(-) delete mode 100644 SDL2_net-2.0.0.tar.gz create mode 100644 SDL2_net-2.0.1.tar.gz diff --git a/SDL2_net-2.0.0.tar.gz b/SDL2_net-2.0.0.tar.gz deleted file mode 100644 index c6ac836..0000000 --- a/SDL2_net-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab -size 345724 diff --git a/SDL2_net-2.0.1.tar.gz b/SDL2_net-2.0.1.tar.gz new file mode 100644 index 0000000..50b2139 --- /dev/null +++ b/SDL2_net-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 +size 347436 diff --git a/SDL2_net.changes b/SDL2_net.changes index a7848f0..4a7a413 100644 --- a/SDL2_net.changes +++ b/SDL2_net.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 9 14:42:12 UTC 2018 - rpm@fthiessen.de + +- Update to 2.0.1 + * Use of SDL provided function rather then depending + on system provided functions + ------------------------------------------------------------------- Thu Jan 8 09:32:23 UTC 2015 - jengelh@inai.de diff --git a/SDL2_net.spec b/SDL2_net.spec index bfcd117..4503c03 100644 --- a/SDL2_net.spec +++ b/SDL2_net.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2_net # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,26 @@ # -Name: SDL2_net %define lname libSDL2_net-2_0-0 -Version: 2.0.0 +Name: SDL2_net +Version: 2.0.1 Release: 0 Summary: SDL2 networking library License: Zlib Group: Development/Libraries/C and C++ -Url: http://libsdl.org/projects/SDL_net/ - +URL: http://libsdl.org/projects/SDL_net/ #Hg-Clone: http://hg.libsdl.org/SDL_net/ -Source: http://libsdl.org/projects/SDL_net/release/%name-%version.tar.gz +Source: http://www.libsdl.org/projects/SDL_net/release/SDL2_net-%version.tar.gz Source2: baselibs.conf -BuildRequires: pkg-config +BuildRequires: dos2unix +BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl2) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a small cross-platform networking library for use with SDL. %package -n %lname -Summary: Simple DirectMedia Layer 2 – Networking library +Summary: Simple DirectMedia Layer 2 – Networking library Group: System/Libraries Provides: SDL2_net = %version @@ -58,21 +57,21 @@ This is a small cross-platform networking library for use with SDL. %build %configure --disable-static make %{?_smp_mflags} +dos2unix CHANGES.txt README.txt %install %make_install -rm -f "%buildroot/%_libdir"/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc CHANGES.txt COPYING.txt README.txt +%license COPYING.txt +%doc CHANGES.txt README.txt %_libdir/libSDL2_net-2*.so.* %files -n libSDL2_net-devel -%defattr(-,root,root) %_includedir/SDL2/ %_libdir/libSDL2_net.so %_libdir/pkgconfig/SDL2_net.pc From f6b85db2e04b99ce801f0711ebc6124ff11fd89630ef7c1acf1d9af6bd7e3c7e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Aug 2018 09:17:50 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=9 --- SDL2_net.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SDL2_net.spec b/SDL2_net.spec index 4503c03..8c8c638 100644 --- a/SDL2_net.spec +++ b/SDL2_net.spec @@ -25,22 +25,22 @@ License: Zlib Group: Development/Libraries/C and C++ URL: http://libsdl.org/projects/SDL_net/ #Hg-Clone: http://hg.libsdl.org/SDL_net/ -Source: http://www.libsdl.org/projects/SDL_net/release/SDL2_net-%version.tar.gz +Source: http://www.libsdl.org/projects/SDL_net/release/%name-%version.tar.gz Source2: baselibs.conf BuildRequires: dos2unix BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl2) %description -This is a small cross-platform networking library for use with SDL. +This is a networking library for use with SDL. %package -n %lname -Summary: Simple DirectMedia Layer 2 – Networking library +Summary: Simple DirectMedia Layer 2 – Networking library Group: System/Libraries Provides: SDL2_net = %version %description -n %lname -This is a small cross-platform networking library for use with SDL. +This is a networking library for use with SDL. %package -n libSDL2_net-devel Summary: Development files for the SDL2 networking library @@ -49,7 +49,7 @@ Requires: %lname = %version Provides: SDL2_net-devel = %version %description -n libSDL2_net-devel -This is a small cross-platform networking library for use with SDL. +This is a networking library for use with SDL. %prep %setup -q @@ -61,7 +61,7 @@ dos2unix CHANGES.txt README.txt %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find %buildroot -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig From 0a8344fb36799429bf4469d496e3af6ee2e9507587631bbf1924d3f187088d6a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Aug 2018 09:24:56 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=10 --- SDL2_net.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL2_net.spec b/SDL2_net.spec index 8c8c638..3d81772 100644 --- a/SDL2_net.spec +++ b/SDL2_net.spec @@ -28,7 +28,7 @@ URL: http://libsdl.org/projects/SDL_net/ Source: http://www.libsdl.org/projects/SDL_net/release/%name-%version.tar.gz Source2: baselibs.conf BuildRequires: dos2unix -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: pkgconfig(sdl2) %description