]> git.pld-linux.org Git - packages/atakks.git/blobdiff - atakks.spec
- massive attack: source-md5
[packages/atakks.git] / atakks.spec
index b3f12e69adb35f8beff682cd8574b293cc416919..27cfd3b56fe451b1ef8f103201c03618f1fffe3f 100644 (file)
@@ -1,24 +1,29 @@
-Summary:       atakks
+Summary:       atakks game
+Summary(pl):   Gra atakks
 Name:          atakks
 Version:       1.0
 Release:       1
 License:       GPL
 Group:         X11/Applications/Games
-Source0:       http://team.gcu-squad.org/~fab/down/atakks.tgz
+Source0:       http://team.gcu-squad.org/~fab/down/%{name}.tgz
+# Source0-md5: 9153c731620bf85bb60d00a1c93b621e
 Source1:       %{name}.desktop
 Patch0:                %{name}-dir.patch
 URL:           http://team.gcu-squad.org/~fab/
-BuildRequires: SDL-devel
+BuildRequires: SDL-devel >= 1.2.4
 BuildRequires: SDL_image-devel
 Requires:      SDL >= 1.2.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/X11R6
 
 %description
-Ataxx is some old chinese reflexion game, like othello, and can be
+Ataxx is some old Chinese reflexion game, like othello, and can be
 played by two players.
 
+%description -l pl
+Ataxx to stara chiñska gra umys³owa, jak otello, w któr± mo¿e graæ
+dwóch graczy.
+
 %prep
 %setup -q -n %{name}_%{version}
 %patch0 -p1
@@ -26,9 +31,9 @@ played by two players.
 %build
 rm -f atakks
 
-LDFLAGS="-lSDL -lpthread -s -L/usr/X11R6/lib"
-CFLAGS="-Wall -ansi -DUS"
-gcc $LDFLAGS $CFLAGS -o %{name} *.c -I%{_includedir}
+LDFLAGS="%{rpmldflags} -lSDL -lpthread -L/usr/X11R6/lib"
+CFLAGS="%{rpmcflags} -Wall -ansi -DUS -I/usr/X11R6/include"
+%{__cc} $LDFLAGS $CFLAGS -o %{name} *.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -47,7 +52,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%dir %{_datadir}/%{name}
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}/*.bmp
+%{_datadir}/%{name}
 %{_applnkdir}/Games/*
This page took 0.127126 seconds and 4 git commands to generate.