]> 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 2dcbe35cb6e487cbddcac8fbceab84c8084559ce..22d00f474d7724e46e85d7618ce8dd75bdbe0a08 100644 (file)
@@ -1,15 +1,16 @@
-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
 License:       GPL
 Group:         Applications/Games
 Source0:       http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
 Name:          astwar
 Version:       0.4.5
 Release:       1
 License:       GPL
 Group:         Applications/Games
 Source0:       http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
-URL:           http://www.freesoftware.fsf.org/%{name}/index.html
+# Source0-md5: 09f9cccaea530e78eeb0bcfef796142e
+URL:           http://www.freesoftware.fsf.org/astwar/index.html
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 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.
 %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.
@@ -17,36 +18,38 @@ 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.
 
 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
 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
 
 %prep
 %setup -q
 
 %build
-%configure2_13 
+%configure2_13
+
 %{__make} INCLUDES=-I/usr/include/ncurses
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} INCLUDES=-I/usr/include/ncurses
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 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)
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/astwar
 %attr(755,root,root) %{_bindir}/astwar
-%doc AUTHORS COPYING ChangeLog README
-%{_infodir}/*
+%{_infodir}/*.info*
 %{_mandir}/man1/*
 %{_mandir}/man1/*
This page took 0.13812 seconds and 4 git commands to generate.