]> git.pld-linux.org Git - packages/astwar.git/blob - astwar.spec
- many small fixes, inspired by kloczek
[packages/astwar.git] / astwar.spec
1 Summary:        AstWar is a terminal based 2D space shooter
2 Summary(pl):    AstWar to terminalowa strzelanina kosmiczna 2D
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
9 # Source0-md5:  09f9cccaea530e78eeb0bcfef796142e
10 URL:            http://www.freesoftware.fsf.org/%{name}/index.html
11 BuildRequires:  ncurses-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13  
14 %description
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
21 %description -l pl
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
25 graczy i pozwala na rozszerzenia w Scheme (poprzez Guile), aby
26 zaprogramowaæ statek, by robi³ niektóre rzeczy automatycznie.
27
28 %prep
29 %setup -q
30
31 %build
32 %configure2_13 
33 %{__make} INCLUDES=-I/usr/include/ncurses
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %post
44 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
45
46 %postun
47 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
48
49 %files
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/astwar
52 %doc AUTHORS COPYING ChangeLog README
53 %{_infodir}/*
54 %{_mandir}/man1/*
This page took 0.068309 seconds and 4 git commands to generate.