]>
Commit | Line | Data |
---|---|---|
de05e7d1 | 1 | Summary: AstWar is a terminal based 2D space shooter |
1dc58eec | 2 | Summary(pl.UTF-8): AstWar to terminalowa strzelanina kosmiczna 2D |
baa7354f | 3 | Name: astwar |
4 | Version: 0.4.5 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Games | |
8 | Source0: http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz | |
376f2ed2 | 9 | # Source0-md5: 09f9cccaea530e78eeb0bcfef796142e |
e75ffb24 | 10 | URL: http://www.freesoftware.fsf.org/astwar/index.html |
baa7354f | 11 | BuildRequires: ncurses-devel |
baa7354f | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e6f3db8f | 13 | |
baa7354f | 14 | %description |
c415223b JB |
15 | Astwar is a ncurses based simple space shooter; two little ships |
16 | (asterisks), each on one side of the screen, try to shoot each other. | |
17 | There is network support with several multiplayer options and user | |
18 | extension with Scheme (via Guile) to program the little ship to do | |
19 | some things automatically are in the works. | |
20 | ||
1dc58eec JR |
21 | %description -l pl.UTF-8 |
22 | Astwar to oparta na ncurses prosta strzelanina kosmiczna. Dwa małe | |
23 | statki (gwiazdki), każdy z innej strony ekranu, próbują się | |
24 | zastrzelić. Gra ma obsługę sieci z kilkoma opcjami gry dla wielu | |
c415223b | 25 | graczy i pozwala na rozszerzenia w Scheme (poprzez Guile), aby |
1dc58eec | 26 | zaprogramować statek, by robił niektóre rzeczy automatycznie. |
baa7354f | 27 | |
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
e6f3db8f | 32 | %configure2_13 |
e75ffb24 | 33 | |
c415223b | 34 | %{__make} INCLUDES=-I/usr/include/ncurses |
baa7354f | 35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
658eabad PG |
38 | %{__make} install \ |
39 | DESTDIR=$RPM_BUILD_ROOT | |
baa7354f | 40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
c415223b JB |
44 | %post |
45 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
46 | ||
47 | %postun | |
48 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
49 | ||
baa7354f | 50 | %files |
51 | %defattr(644,root,root,755) | |
560b1ee6 | 52 | %doc AUTHORS ChangeLog README |
baa7354f | 53 | %attr(755,root,root) %{_bindir}/astwar |
560b1ee6 | 54 | %{_infodir}/*.info* |
c415223b | 55 | %{_mandir}/man1/* |