]> 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 fb977d4811816dbf3dbc5b93bd24f6fc30a74143..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(pl.UTF-8):     AstWar to terminalowa strzelanina kosmiczna 2D
 Name:          astwar
 Version:       0.4.5
 Release:       1
@@ -10,7 +10,7 @@ Source0:      http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
 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,18 @@ 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
 
@@ -41,11 +41,11 @@ 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)
This page took 0.122777 seconds and 4 git commands to generate.