SHA256
1
0
forked from pool/SDL_bgi
Jan Engelhardt 2020-05-23 14:47:40 +00:00 committed by Git OBS Bridge
parent 94a4b0e45d
commit b38e50882b

View File

@ -25,6 +25,7 @@ License: Zlib AND GPL-2.0-or-later
Group: Development/Libraries/X11
URL: http://libXbgi.sf.net/
#Git-Web: https://github.com/genpfault/sdl-bgi
Source: http://downloads.sf.net/libxbgi/%name-%version.tar.gz
Source9: %name-rpmlintrc
Patch1: sdlbgi-cmake.diff
@ -61,8 +62,7 @@ introduction to SDL-based graphics: SDL and BGI commands can be mixed
together.
%prep
%setup -q
%patch -P 1 -p1
%autosetup -p1
%build
%cmake
@ -73,6 +73,8 @@ together.
b="%buildroot"
mkdir -p "$b/%_defaultdocdir"
mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/"
# just a forwarder and conflicts with xbgi
rm -v "%buildroot/%_includedir/graphics.h"
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig