From c7f7eeb789e0f952af62c31ef59717fd14edbad1588dd8c5c7b48ceed8569245 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 21 Aug 2024 12:26:02 +0000 Subject: [PATCH] [info=63c59fd4192e87e7d0050b33ea363eb52a310efe67eed8f6fa5718217deb0b28] OBS-URL: https://build.opensuse.org/package/show/games/SDL_net?expand=0&rev=21 --- .gitattributes | 23 ++++++ .gitignore | 1 + SDL_net-1.2.8-repack.tar.bz2 | 3 + SDL_net.changes | 143 +++++++++++++++++++++++++++++++++++ SDL_net.spec | 82 ++++++++++++++++++++ _scmsync.obsinfo | 4 + baselibs.conf | 6 ++ build.specials.obscpio | 3 + 8 files changed, 265 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 SDL_net-1.2.8-repack.tar.bz2 create mode 100644 SDL_net.changes create mode 100644 SDL_net.spec create mode 100644 _scmsync.obsinfo create mode 100644 baselibs.conf create mode 100644 build.specials.obscpio diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SDL_net-1.2.8-repack.tar.bz2 b/SDL_net-1.2.8-repack.tar.bz2 new file mode 100644 index 0000000..440c68a --- /dev/null +++ b/SDL_net-1.2.8-repack.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af7dca8e1abe0d00de74a15fe235b401c5d05cf47a3276c3979a3f884997af3f +size 278713 diff --git a/SDL_net.changes b/SDL_net.changes new file mode 100644 index 0000000..f067268 --- /dev/null +++ b/SDL_net.changes @@ -0,0 +1,143 @@ +------------------------------------------------------------------- +Thu Jan 8 09:32:15 UTC 2015 - jengelh@inai.de + +- Improve package summary and description. Drop --with-pic which + is enabled implicitly anyway, remove redundant Requires. + +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + +------------------------------------------------------------------- +Tue Aug 13 11:39:07 UTC 2013 - prusnak@opensuse.org + +- updated to 1.2.8 + * Added the definition for INADDR_LOOPBACK + * Added an Xcode project for iOS + * SDL_net is now under the zlib license + * Added SDLNet_UDP_SetPacketLoss() to simulate random packet loss + * Added SDLNet_GetLocalAddresses() to query local interfaces + * Removed obsolete OpenTransport code + * Added Android.mk to build on the Android platform + * Fixed to compile cleanly with g++ + * Fixed the code to use socklen_t where appropriate + * Added pkg-config support + * Fixed C++ compilation with -Wold-style-cast + * Enable multicast receiving on 224.0.0.1 on Windows (already worked on UNIX) + +------------------------------------------------------------------- +Sat Sep 17 10:23:20 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + +------------------------------------------------------------------- +Mon Aug 1 09:38:04 UTC 2011 - jengelh@medozas.de + +- Update baselibs.conf to also ship libSDL_net-devel-32bit + +------------------------------------------------------------------- +Sat Jul 2 14:53:38 UTC 2011 - jengelh@medozas.de + +- Use %_smp_mflags for parallel building +- Strip %clean section (not needed on BS) + +------------------------------------------------------------------- +Sat Dec 19 19:13:31 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Wed Oct 7 14:52:35 CEST 2009 - prusnak@suse.cz + +- fix provides and obsoletes [bnc#544957] + +------------------------------------------------------------------- +Wed May 20 16:32:01 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + +------------------------------------------------------------------- +Wed Feb 25 16:04:00 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Wed Jul 25 18:11:19 CEST 2007 - prusnak@suse.cz + +- updated to 1.2.7 + * set server TCP sockets to blocking mode + +------------------------------------------------------------------- +Sun Jul 22 18:56:54 CEST 2007 - aj@suse.de + +- Cleanup build requires. + +------------------------------------------------------------------- +Fri Mar 2 12:39:27 CET 2007 - prusnak@suse.cz + +- cleaned spec file + +------------------------------------------------------------------- +Thu Feb 22 15:38:08 CET 2007 - prusnak@suse.cz + +- updated to 1.2.6 +- created devel subpackage + +------------------------------------------------------------------- +Thu Oct 26 11:17:41 CEST 2006 - sndirsch@suse.de + +- removed wrong 'extra ;' in SDL_net.h (Bug #214645) + +------------------------------------------------------------------- +Fri Jan 27 10:46:06 CET 2006 - nadvornik@suse.cz + +- fixed BuildRequires + +------------------------------------------------------------------- +Wed Jan 25 21:33:57 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sat Jan 10 21:45:49 CET 2004 - adrian@suse.de + +- add %defattr and %run_ldconfig + +------------------------------------------------------------------- +Fri Jul 25 12:29:04 CEST 2003 - nadvornik@suse.cz + +- updated to 1.2.5 +- added buildroot + +------------------------------------------------------------------- +Mon Dec 16 17:48:41 CET 2002 - ro@suse.de + +- fix build with automake, use "AUTOMAKE_OPTIONS = foreign" + +------------------------------------------------------------------- +Mon Sep 2 14:36:43 CEST 2002 - uli@suse.de + +- use %_libdir (bug #18726) + +------------------------------------------------------------------- +Thu Jun 13 14:15:36 CEST 2002 - uli@suse.de + +- update -> 1.2.4 (bugfixes) + +------------------------------------------------------------------- +Wed Jun 12 00:28:08 CEST 2002 - ro@suse.de + +- run autoreconf (fixes build on ppc64) + +------------------------------------------------------------------- +Tue Jan 22 18:23:53 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Tue Aug 7 16:53:11 CEST 2001 - uli@suse.de + +- initial package + diff --git a/SDL_net.spec b/SDL_net.spec new file mode 100644 index 0000000..66cd7c0 --- /dev/null +++ b/SDL_net.spec @@ -0,0 +1,82 @@ +# +# spec file for package SDL_net +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +Name: SDL_net +%define lname libSDL_net-1_2-0 +Version: 1.2.8 +Release: 0 +Summary: SDL networking library +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Url: http://libsdl.org/projects/SDL_net/release-1.2.html + +# removed VisualC, Xcode, Xcode-iOS and Watcom-OS2.zip from the upstream tarball [bnc#508084] +Source: %name-%version-repack.tar.bz2 +Source2: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config +BuildRequires: pkgconfig(sdl) + +%description +This is a small cross-platform networking library for use with SDL. + +%package -n %lname +Summary: Simple DirectMedia Layer – Networking library +Group: System/Libraries +Provides: SDL_net = %version +Obsoletes: SDL_net <= %version + +%description -n %lname +This is a small cross-platform networking library for use with SDL. + +%package -n libSDL_net-devel +Summary: Development files for the SDL networking library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Provides: SDL_net-devel = %version +Obsoletes: SDL_net-devel <= %version + +%description -n libSDL_net-devel +This is a small cross-platform networking library for use with SDL. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc CHANGES COPYING README +%_libdir/libSDL_net-1*.so.* + +%files -n libSDL_net-devel +%defattr(-,root,root) +%_includedir/SDL/ +%_libdir/libSDL_net.so +%_libdir/pkgconfig/SDL_net.pc + +%changelog diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..9dd28a4 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1420754598 +commit: 63c59fd4192e87e7d0050b33ea363eb52a310efe67eed8f6fa5718217deb0b28 +url: https://src.opensuse.org/jengelh/SDL_net +revision: master diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..8fadaa4 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,6 @@ +libSDL_net-1_2-0 + provides "SDL_net- = " + obsoletes "SDL_net- <= " +libSDL_net-devel + requires -libSDL_net- + requires "libSDL_net-1_2-0- = " diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..13639e4 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bad818603510994b5cbb159db87bd431167ac730c549d87d524d5553181b886 +size 256