]> git.pld-linux.org Git - packages/astwar.git/blobdiff - astwar.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/astwar.git] / astwar.spec
index 3a3b5540c7c10aed0576cfddc7ddde9a34437909..22d00f474d7724e46e85d7618ce8dd75bdbe0a08 100644 (file)
@@ -1,5 +1,5 @@
-Summary:       AstWar is a terminal based 2D space shooter
-Summary(pl):   AstWar to terminalowa strzelanina kosmiczna 2D
+Summary:       AstWar is a terminal based 2D space shooter
+Summary(pl.UTF-8):     AstWar to terminalowa strzelanina kosmiczna 2D
 Name:          astwar
 Version:       0.4.5
 Release:       1
@@ -7,10 +7,10 @@ License:      GPL
 Group:         Applications/Games
 Source0:       http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
 # Source0-md5: 09f9cccaea530e78eeb0bcfef796142e
-URL:           http://www.freesoftware.fsf.org/%{name}/index.html
+URL:           http://www.freesoftware.fsf.org/astwar/index.html
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
 %description
 Astwar is a ncurses based simple space shooter; two little ships
 (asterisks), each on one side of the screen, try to shoot each other.
@@ -18,18 +18,19 @@ There is network support with several multiplayer options and user
 extension with Scheme (via Guile) to program the little ship to do
 some things automatically are in the works.
 
-%description -l pl
-Astwar to oparta na ncurses prosta strzelanina kosmiczna. Dwa ma³e
-statki (gwiazdki), ka¿dy z innej strony ekranu, próbuj± siê
-zastrzeliæ. Gra ma obs³ugê sieci z kilkoma opcjami gry dla wielu
+%description -l pl.UTF-8
+Astwar to oparta na ncurses prosta strzelanina kosmiczna. Dwa małe
+statki (gwiazdki), każdy z innej strony ekranu, próbują się
+zastrzelić. Gra ma obsługę sieci z kilkoma opcjami gry dla wielu
 graczy i pozwala na rozszerzenia w Scheme (poprzez Guile), aby
-zaprogramowaæ statek, by robi³ niektóre rzeczy automatycznie.
+zaprogramować statek, by robił niektóre rzeczy automatycznie.
 
 %prep
 %setup -q
 
 %build
-%configure2_13 
+%configure2_13
+
 %{__make} INCLUDES=-I/usr/include/ncurses
 
 %install
@@ -40,15 +41,15 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/astwar
-%doc AUTHORS COPYING ChangeLog README
-%{_infodir}/*
+%{_infodir}/*.info*
 %{_mandir}/man1/*
This page took 0.077687 seconds and 4 git commands to generate.