]>
Commit | Line | Data |
---|---|---|
818c70dd | 1 | Summary: Games for the Linux console |
96fef4f0 | 2 | Summary(pl.UTF-8): Gry na linuksową konsolę |
818c70dd | 3 | Name: cgames |
69a5301f JB |
4 | Version: 2.2b |
5 | Release: 1 | |
6 | License: GPL v2+ | |
818c70dd SZ |
7 | Group: Applications/Games |
8 | Source0: http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz | |
69a5301f | 9 | # Source0-md5: 02e9ac92557257d5f4ed5b7391d640fd |
818c70dd | 10 | URL: http://www.muppetlabs.com/~breadbox/software/cgames.html |
1debb200 | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
818c70dd SZ |
13 | BuildRequires: gpm-devel |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
92b4e20d | 17 | The programs in this distribution are re-implementations of games for |
18 | the Linux console. Included please find three games: | |
818c70dd | 19 | |
69a5301f JB |
20 | * cblocks - sliding-block puzzles |
21 | * cmines - minesweeper | |
22 | * csokoban - sokoban | |
818c70dd | 23 | |
92b4e20d | 24 | The games make use of the Linux console font (this means they won't |
25 | work in any xterm!) and mouse support to improve the user interface. | |
818c70dd | 26 | |
6f1abdfe | 27 | %description -l pl.UTF-8 |
92b4e20d | 28 | |
29 | Programy w tym pakiecie to reimplementacja gier dla linuksowej | |
6f1abdfe | 30 | konsoli. Można tu znaleźć trzy gry: |
818c70dd | 31 | |
69a5301f JB |
32 | * cblocks - łamigłówka z przesuwaniem klocków |
33 | * cmines - saper | |
34 | * csokoban - sokoban | |
818c70dd | 35 | |
6f1abdfe JR |
36 | Gry wykorzystują fonty konsolowe (to oznacza, że nie będą działać w |
37 | żadnym xtermie!) i myszkę do usprawnienia interfejsu użytkownika. | |
818c70dd SZ |
38 | |
39 | %prep | |
40 | %setup -q | |
41 | ||
69a5301f JB |
42 | %{__sed} -i -e 's/-g games //' cblocks/Makefile.in csokoban/Makefile.in |
43 | ||
818c70dd | 44 | %build |
131ba50c | 45 | %{__aclocal} |
88e789a3 | 46 | %{__autoconf} |
1debb200 | 47 | cp -f /usr/share/automake/config.* . |
818c70dd SZ |
48 | %configure |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
818c70dd | 53 | |
69a5301f JB |
54 | %{__make} install \ |
55 | prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
56 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
57 | mandir=$RPM_BUILD_ROOT%{_mandir} | |
818c70dd | 58 | |
818c70dd SZ |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
c36c68be | 64 | %doc Changelog README |
69a5301f JB |
65 | %attr(755,root,root) %{_bindir}/cblocks |
66 | %attr(755,root,root) %{_bindir}/cmines | |
67 | %attr(755,root,root) %{_bindir}/csokoban | |
818c70dd | 68 | %{_datadir}/csokoban |
23ec0970 | 69 | %{_datadir}/cblocks |
69a5301f JB |
70 | %{_mandir}/man6/cblocks.6* |
71 | %{_mandir}/man6/cmines.6* | |
72 | %{_mandir}/man6/csokoban.6* |