]> git.pld-linux.org Git - packages/astwar.git/blame - astwar.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/astwar.git] / astwar.spec
CommitLineData
de05e7d1 1Summary: AstWar is a terminal based 2D space shooter
2a60aef3 2Summary(pl.UTF-8): AstWar to terminalowa strzelanina kosmiczna 2D
baa7354f 3Name: astwar
4Version: 0.4.5
5Release: 1
6License: GPL
7Group: Applications/Games
8Source0: http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
376f2ed2 9# Source0-md5: 09f9cccaea530e78eeb0bcfef796142e
e75ffb24 10URL: http://www.freesoftware.fsf.org/astwar/index.html
baa7354f 11BuildRequires: ncurses-devel
baa7354f 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e6f3db8f 13
baa7354f 14%description
c415223b
JB
15Astwar is a ncurses based simple space shooter; two little ships
16(asterisks), each on one side of the screen, try to shoot each other.
17There is network support with several multiplayer options and user
18extension with Scheme (via Guile) to program the little ship to do
19some things automatically are in the works.
20
1dc58eec
JR
21%description -l pl.UTF-8
22Astwar to oparta na ncurses prosta strzelanina kosmiczna. Dwa małe
23statki (gwiazdki), każdy z innej strony ekranu, próbują się
24zastrzelić. Gra ma obsługę sieci z kilkoma opcjami gry dla wielu
c415223b 25graczy i pozwala na rozszerzenia w Scheme (poprzez Guile), aby
1dc58eec 26zaprogramować 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
37rm -rf $RPM_BUILD_ROOT
658eabad
PG
38%{__make} install \
39 DESTDIR=$RPM_BUILD_ROOT
baa7354f 40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
892aab61
ER
44%post -p /sbin/postshell
45-/usr/sbin/fix-info-dir -c %{_infodir}
c415223b 46
892aab61
ER
47%postun -p /sbin/postshell
48-/usr/sbin/fix-info-dir -c %{_infodir}
c415223b 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/*
This page took 0.039058 seconds and 5 git commands to generate.