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..3d81772 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,24 +16,23 @@ # -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/%name-%version.tar.gz Source2: baselibs.conf +BuildRequires: dos2unix BuildRequires: pkg-config BuildRequires: pkgconfig(sdl2) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 @@ -41,7 +40,7 @@ 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 @@ -50,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 @@ -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