This commit is contained in:
parent
94a4b0e45d
commit
b38e50882b
@ -25,6 +25,7 @@ License: Zlib AND GPL-2.0-or-later
|
|||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
URL: http://libXbgi.sf.net/
|
URL: http://libXbgi.sf.net/
|
||||||
|
|
||||||
|
#Git-Web: https://github.com/genpfault/sdl-bgi
|
||||||
Source: http://downloads.sf.net/libxbgi/%name-%version.tar.gz
|
Source: http://downloads.sf.net/libxbgi/%name-%version.tar.gz
|
||||||
Source9: %name-rpmlintrc
|
Source9: %name-rpmlintrc
|
||||||
Patch1: sdlbgi-cmake.diff
|
Patch1: sdlbgi-cmake.diff
|
||||||
@ -61,8 +62,7 @@ introduction to SDL-based graphics: SDL and BGI commands can be mixed
|
|||||||
together.
|
together.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
@ -73,6 +73,8 @@ together.
|
|||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
mkdir -p "$b/%_defaultdocdir"
|
mkdir -p "$b/%_defaultdocdir"
|
||||||
mv "$b/%_datadir/doc/%name" "$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
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user