]> git.pld-linux.org Git - packages/cgames.git/blobdiff - cgames.spec
- updated to 2.2b
[packages/cgames.git] / cgames.spec
index 3d1546fa89cd296a7c4530060ca8368ac3c63136..8c7c6b8c9b804768aee7a4c4da08a0cb3a11d17a 100644 (file)
@@ -1,11 +1,12 @@
 Summary:       Games for the Linux console
-Summary(pl):   Gry na linuksow± konsolê
+Summary(pl.UTF-8):     Gry na linuksową konsolę
 Name:          cgames
-Version:       2.2
+Version:       2.2b
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/Games
 Source0:       http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz
+# Source0-md5: 02e9ac92557257d5f4ed5b7391d640fd
 URL:           http://www.muppetlabs.com/~breadbox/software/cgames.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -13,32 +14,35 @@ BuildRequires:      gpm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The programs in this distribution are re-implementations of games for the
-Linux console. Included please find three games:
+The programs in this distribution are re-implementations of games for
+the Linux console. Included please find three games:
 
-* cblocks -- sliding-block puzzles
-* cmines -- minesweeper
-* csokoban -- sokoban
+* cblocks - sliding-block puzzles
+* cmines - minesweeper
+* csokoban - sokoban
 
-The games make use of the Linux console font (this means they won't work
-in any xterm!) and mouse support to improve the user interface.
+The games make use of the Linux console font (this means they won't
+work in any xterm!) and mouse support to improve the user interface.
 
-%description -l pl
-Programy w tym pakiecie to reimplementacja gier dla linuksowej konsoli.
-Mo¿na tu znale¼æ trzy gry:
+%description -l pl.UTF-8
 
-* cblocks -- ³amig³ówka z przesuwaniem klocków
-* cmines -- saper
-* csokoban -- sokoban
+Programy w tym pakiecie to reimplementacja gier dla linuksowej
+konsoli. Można tu znaleźć trzy gry:
 
-Gry wykorzystuj± fonty konsolowe (to oznacza, ¿e nie bêd± dzia³aæ w ¿adnym
-xtermie!) i myszkê do usprawnienia interfejsu u¿ytkownika.
+* cblocks - łamigłówka z przesuwaniem klocków
+* cmines - saper
+* csokoban - sokoban
+
+Gry wykorzystują fonty konsolowe (to oznacza, że nie będą działać w
+żadnym xtermie!) i myszkę do usprawnienia interfejsu użytkownika.
 
 %prep
 %setup -q
 
+%{__sed} -i -e 's/-g games //' cblocks/Makefile.in csokoban/Makefile.in
+
 %build
-aclocal
+%{__aclocal}
 %{__autoconf}
 cp -f /usr/share/automake/config.* .
 %configure
@@ -46,25 +50,23 @@ cp -f /usr/share/automake/config.* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} \
-       $RPM_BUILD_ROOT%{_datadir}/{csokoban,cblocks}
-
-install csokoban/csokoban $RPM_BUILD_ROOT%{_bindir}
-install cmines/cmines $RPM_BUILD_ROOT%{_bindir}
-install cblocks/cblocks $RPM_BUILD_ROOT%{_bindir}
-install */*.6 $RPM_BUILD_ROOT%{_mandir}/man6
-install csokoban/series/* $RPM_BUILD_ROOT%{_datadir}/csokoban
-install cblocks/series/* $RPM_BUILD_ROOT%{_datadir}/cblocks
 
-gzip -9nf Changelog
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       bindir=$RPM_BUILD_ROOT%{_bindir} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/*
+%doc Changelog README
+%attr(755,root,root) %{_bindir}/cblocks
+%attr(755,root,root) %{_bindir}/cmines
+%attr(755,root,root) %{_bindir}/csokoban
 %{_datadir}/csokoban
 %{_datadir}/cblocks
-%{_mandir}/man6/*
+%{_mandir}/man6/cblocks.6*
+%{_mandir}/man6/cmines.6*
+%{_mandir}/man6/csokoban.6*
This page took 0.05644 seconds and 4 git commands to generate.