]> git.pld-linux.org Git - packages/cgames.git/blob - cgames.spec
- release 2
[packages/cgames.git] / cgames.spec
1 Summary:        Games for the Linux console
2 Summary(pl):    Gry na linuksow± konsolê
3 Name:           cgames
4 Version:        2.2
5 Release:        2
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 the
18 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 work
25 in any xterm!) and mouse support to improve the user interface.
26
27 %description -l pl
28 Programy w tym pakiecie to reimplementacja gier dla linuksowej konsoli.
29 Mo¿na tu znale¼æ trzy gry:
30
31 * cblocks -- ³amig³ówka z przesuwaniem klocków
32 * cmines -- saper
33 * csokoban -- sokoban
34
35 Gry wykorzystuj± fonty konsolowe (to oznacza, ¿e nie bêd± dzia³aæ w ¿adnym
36 xtermie!) i myszkê do usprawnienia interfejsu u¿ytkownika.
37
38 %prep
39 %setup -q
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 cp -f /usr/share/automake/config.* .
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} \
51         $RPM_BUILD_ROOT%{_datadir}/{csokoban,cblocks}
52
53 install csokoban/csokoban $RPM_BUILD_ROOT%{_bindir}
54 install cmines/cmines $RPM_BUILD_ROOT%{_bindir}
55 install cblocks/cblocks $RPM_BUILD_ROOT%{_bindir}
56 install */*.6 $RPM_BUILD_ROOT%{_mandir}/man6
57 install csokoban/series/* $RPM_BUILD_ROOT%{_datadir}/csokoban
58 install cblocks/series/* $RPM_BUILD_ROOT%{_datadir}/cblocks
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changelog
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/csokoban
68 %{_datadir}/cblocks
69 %{_mandir}/man6/*
This page took 0.073893 seconds and 3 git commands to generate.