- set proper path to GFX/ dir master
authorlisu <lisu@pld-linux.org>
Thu, 2 Apr 2009 11:23:24 +0000 (11:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- clean up

Changed files:
    XorGramana.spec -> 1.2

XorGramana.spec

index e503e6b..44916e9 100644 (file)
@@ -11,6 +11,7 @@ Patch0:               %{name}-ldflags.patch
 URL:           http://www.jwm-art.net/XorGramana/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: SDL_image-devel
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,12 +30,13 @@ inne wybuchają, a jeszcze inne mogą zabić gracza.
 %prep
 %setup -q
 %patch0 -p1
+%{__sed} -i -e 's#GFX/#%{_datadir}/%{name}/GFX/#' icons.c
 
 %build
 SDL_CFLAGS=$(sdl-config --cflags)
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} $SDL_CFLAGS -DDATADIR=\'%{_datadir}/%{name}\'" \
+       CFLAGS="%{rpmcflags} $SDL_CFLAGS -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
        LDFLAGS="%{rpmldflags}" \
        LIBS="-lGLU -lSDL_image"
 
This page took 0.067813 seconds and 4 git commands to generate.