SHA256
1
0
forked from pool/SDL2_net

- created package (version 2.0.0) - based on SDL_net package

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_net?expand=0&rev=2
This commit is contained in:
Pavol Rusnak 2013-08-13 11:56:21 +00:00 committed by Git OBS Bridge
parent 8f5f2fa355
commit 4d247b3482
6 changed files with 42 additions and 154 deletions

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

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

5
SDL2_net.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Aug 13 11:27:54 UTC 2013 - prusnak@opensuse.org
- created package (version 2.0.0) - based on SDL_net package

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_net
# spec file for package SDL2_net
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@ -16,41 +16,37 @@
#
Name: SDL_net
BuildRequires: libSDL-devel
Url: http://www.libsdl.org/projects/SDL_net/
License: LGPL-2.1+
Group: System/Libraries
Version: 1.2.7
Release: 154
Name: SDL2_net
Version: 2.0.0
Release: 0
Summary: Simple DirectMedia Layer - Networking Library
Source: %{name}-%{version}.tar.bz2
License: Zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_net/
Source: http://www.libsdl.org/tmp/SDL_net/release/%{name}-%{version}.tar.gz
Source2: baselibs.conf
BuildRequires: libSDL2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a small cross-platform networking library for use with SDL.
%package -n libSDL_net-1_2-0
Group: System/Libraries
%package -n libSDL2_net-2_0-0
Summary: Simple DirectMedia Layer - Networking Library
License: LGPL-2.1+
Provides: SDL_net = %{version}
Obsoletes: SDL_net <= %{version}
Group: System/Libraries
Provides: SDL2_net = %{version}
%description -n libSDL_net-1_2-0
%description -n libSDL2_net-2_0-0
This is a small cross-platform networking library for use with SDL.
%package -n libSDL_net-devel
License: LGPL-2.1+
%package -n libSDL2_net-devel
Summary: Simple DirectMedia Layer - Networking Library
Group: Development/Libraries/C and C++
Requires: libSDL_net-1_2-0 = %{version} libSDL-devel
Provides: SDL_net-devel = %{version}
Obsoletes: SDL_net-devel <= %{version}
Requires: libSDL2-devel
Requires: libSDL2_net-2_0-0 = %{version}
Provides: SDL2_net-devel = %{version}
%description -n libSDL_net-devel
%description -n libSDL2_net-devel
This is a small cross-platform networking library for use with SDL.
%prep
@ -61,21 +57,22 @@ This is a small cross-platform networking library for use with SDL.
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
%make_install
rm -f %{buildroot}%{_libdir}/*.la
%post -n libSDL_net-1_2-0 -p /sbin/ldconfig
%post -n libSDL2_net-2_0-0 -p /sbin/ldconfig
%postun -n libSDL_net-1_2-0 -p /sbin/ldconfig
%postun -n libSDL2_net-2_0-0 -p /sbin/ldconfig
%files -n libSDL_net-1_2-0
%files -n libSDL2_net-2_0-0
%defattr(-,root,root)
%doc CHANGES COPYING README
%doc CHANGES.txt COPYING.txt README.txt
%{_libdir}/lib*.so.*
%files -n libSDL_net-devel
%files -n libSDL2_net-devel
%defattr(-,root,root)
%{_includedir}/SDL/*
%{_includedir}/SDL2/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/SDL2_net.pc
%changelog

View File

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

View File

@ -1,114 +0,0 @@
-------------------------------------------------------------------
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 <kdelibs-artsd> to <kdelibs3-artsd>
-------------------------------------------------------------------
Tue Aug 7 16:53:11 CEST 2001 - uli@suse.de
- initial package

View File

@ -1,6 +1,6 @@
libSDL_net-1_2-0
provides "SDL_net-<targettype> = <version>"
obsoletes "SDL_net-<targettype> <= <version>"
libSDL_net-devel
requires -libSDL_net-<targettype>
requires "libSDL_net-1_2-0-<targettype> = <version>"
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>"