diff --git a/SDL_bgi.spec b/SDL_bgi.spec index 8f397d3..1c76f16 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -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