2 Summary(pl): Gra atakks
7 Group: X11/Applications/Games
8 Source0: http://team.gcu-squad.org/~fab/down/%{name}.tgz
9 Source1: %{name}.desktop
10 Patch0: %{name}-dir.patch
11 URL: http://team.gcu-squad.org/~fab/
12 BuildRequires: SDL-devel >= 1.2.4
13 BuildRequires: SDL_image-devel
14 Requires: SDL >= 1.2.4
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
20 Ataxx is some old Chinese reflexion game, like othello, and can be
21 played by two players.
24 Ataxx to stara chiñska gra umys³owa, jak otello, w któr± mo¿e graæ
28 %setup -q -n %{name}_%{version}
34 LDFLAGS="%{rpmldflags} -lSDL -lpthread -L/usr/X11R6/lib"
35 CFLAGS="%{rpmcflags} -Wall -ansi -DUS -I/usr/X11R6/include"
36 %{__cc} $LDFLAGS $CFLAGS -o %{name} *.c
39 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT%{_applnkdir}/Games
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
44 install *.bmp $RPM_BUILD_ROOT%{_datadir}/%{name}
45 install %{name} $RPM_BUILD_ROOT%{_bindir}
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*