]> git.pld-linux.org Git - packages/cgames.git/blob - cgames.spec
- updated to 2.2b
[packages/cgames.git] / cgames.spec
1 Summary:        Games for the Linux console
2 Summary(pl.UTF-8):      Gry na linuksową konsolę
3 Name:           cgames
4 Version:        2.2
5 Release:        3
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz
9 # Source0-md5:  6e260e87728bd67975cafbf09d480a01
10 URL:            http://www.muppetlabs.com/~breadbox/software/cgames.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gpm-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The programs in this distribution are re-implementations of games for
18 the Linux console. Included please find three games:
19
20 * cblocks -- sliding-block puzzles
21 * cmines -- minesweeper
22 * csokoban -- sokoban
23
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.
26
27 %description -l pl.UTF-8
28
29 Programy w tym pakiecie to reimplementacja gier dla linuksowej
30 konsoli. Można tu znaleźć trzy gry:
31
32 * cblocks -- łamigłówka z przesuwaniem klocków
33 * cmines -- saper
34 * csokoban -- sokoban
35
36 Gry wykorzystują fonty konsolowe (to oznacza, że nie będą działać w
37 żadnym xtermie!) i myszkę do usprawnienia interfejsu użytkownika.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 cp -f /usr/share/automake/config.* .
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} \
52         $RPM_BUILD_ROOT%{_datadir}/{csokoban,cblocks}
53
54 install csokoban/csokoban $RPM_BUILD_ROOT%{_bindir}
55 install cmines/cmines $RPM_BUILD_ROOT%{_bindir}
56 install cblocks/cblocks $RPM_BUILD_ROOT%{_bindir}
57 install */*.6 $RPM_BUILD_ROOT%{_mandir}/man6
58 install csokoban/series/* $RPM_BUILD_ROOT%{_datadir}/csokoban
59 install cblocks/series/* $RPM_BUILD_ROOT%{_datadir}/cblocks
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changelog README
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/csokoban
69 %{_datadir}/cblocks
70 %{_mandir}/man6/*
This page took 0.078908 seconds and 3 git commands to generate.