SHA256
1
0
forked from pool/SDL2_net
Jan Engelhardt 2018-08-10 09:17:50 +00:00 committed by Git OBS Bridge
parent 78508d8ad3
commit f6b85db2e0

View File

@ -25,22 +25,22 @@ 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://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 Source2: baselibs.conf
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
%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
Group: System/Libraries 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
@ -49,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
@ -61,7 +61,7 @@ dos2unix CHANGES.txt README.txt
%install %install
%make_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 %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig