]> git.pld-linux.org Git - packages/astwar.git/commitdiff
- pl description
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Sep 2002 22:56:36 +0000 (22:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added post/postun with info page (de)registation

Changed files:
    astwar.spec -> 1.2

astwar.spec

index 446f174809476f1be80afe7c9b72cc69bb8febd0..2dcbe35cb6e487cbddcac8fbceab84c8084559ce 100644 (file)
@@ -1,4 +1,5 @@
-Summary:       AstWar is a terminal based 2D space shooter.
+Summary:       AstWar is a terminal based 2D space shooter
+Summary(pl):   AstWar to terminalowa strzelanina kosmiczna 2D
 Name:          astwar
 Version:       0.4.5
 Release:       1
@@ -7,23 +8,28 @@ Group:                Applications/Games
 Source0:       http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
 URL:           http://www.freesoftware.fsf.org/%{name}/index.html
 BuildRequires: ncurses-devel
-Requires:      ncurses
 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. 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.
+Astwar is a ncurses based simple space shooter; two little ships
+(asterisks), each on one side of the screen, try to shoot each other.
+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
+graczy i pozwala na rozszerzenia w Scheme (poprzez Guile), aby
+zaprogramowaæ statek, by robi³ niektóre rzeczy automatycznie.
 
 %prep
 %setup -q
 
 %build
 %configure2_13 
-%{__make} INCLUDES=-I%{_includedir}/ncurses
+%{__make} INCLUDES=-I/usr/include/ncurses
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -32,9 +38,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
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/astwar
 %doc AUTHORS COPYING ChangeLog README
 %{_infodir}/*
-%lang(en) %{_mandir}/man1/*
+%{_mandir}/man1/*
This page took 0.086191 seconds and 4 git commands to generate.