forked from pool/SDL2_net
Accepting request 628555 from games
- Update to 2.0.1 OBS-URL: https://build.opensuse.org/request/show/628555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2_net?expand=0&rev=4
This commit is contained in:
commit
4d9d4b235f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab
|
|
||||||
size 345724
|
|
3
SDL2_net-2.0.1.tar.gz
Normal file
3
SDL2_net-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21
|
||||||
|
size 347436
|
@ -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
|
Thu Jan 8 09:32:23 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL2_net
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,24 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: SDL2_net
|
|
||||||
%define lname libSDL2_net-2_0-0
|
%define lname libSDL2_net-2_0-0
|
||||||
Version: 2.0.0
|
Name: SDL2_net
|
||||||
|
Version: 2.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SDL2 networking library
|
Summary: SDL2 networking library
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Development/Libraries/C and C++
|
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/
|
#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
|
Source2: baselibs.conf
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%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
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer 2 – Networking library
|
Summary: Simple DirectMedia Layer 2 – Networking library
|
||||||
@ -41,7 +40,7 @@ Group: System/Libraries
|
|||||||
Provides: SDL2_net = %version
|
Provides: SDL2_net = %version
|
||||||
|
|
||||||
%description -n %lname
|
%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
|
%package -n libSDL2_net-devel
|
||||||
Summary: Development files for the SDL2 networking library
|
Summary: Development files for the SDL2 networking library
|
||||||
@ -50,7 +49,7 @@ Requires: %lname = %version
|
|||||||
Provides: SDL2_net-devel = %version
|
Provides: SDL2_net-devel = %version
|
||||||
|
|
||||||
%description -n libSDL2_net-devel
|
%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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -58,21 +57,21 @@ This is a small cross-platform networking library for use with SDL.
|
|||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
dos2unix CHANGES.txt README.txt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
find %buildroot -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%license COPYING.txt
|
||||||
%doc CHANGES.txt COPYING.txt README.txt
|
%doc CHANGES.txt README.txt
|
||||||
%_libdir/libSDL2_net-2*.so.*
|
%_libdir/libSDL2_net-2*.so.*
|
||||||
|
|
||||||
%files -n libSDL2_net-devel
|
%files -n libSDL2_net-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/SDL2/
|
%_includedir/SDL2/
|
||||||
%_libdir/libSDL2_net.so
|
%_libdir/libSDL2_net.so
|
||||||
%_libdir/pkgconfig/SDL2_net.pc
|
%_libdir/pkgconfig/SDL2_net.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user