]> git.pld-linux.org Git - packages/cgames.git/blob - cgames.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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:        1
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz
9 URL:            http://www.muppetlabs.com/~breadbox/software/cgames.html
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  gpm-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The programs in this distribution are re-implementations of games for the
17 Linux console. Included please find three games:
18
19 * cblocks -- sliding-block puzzles
20 * cmines -- minesweeper
21 * csokoban -- sokoban
22
23 The games make use of the Linux console font (this means they won't work
24 in any xterm!) and mouse support to improve the user interface.
25
26 %description -l pl
27 Programy w tym pakiecie to reimplementacja gier dla linuksowej konsoli.
28 Mo¿na tu znale¼æ trzy gry:
29
30 * cblocks -- ³amig³ówka z przesuwaniem klocków
31 * cmines -- saper
32 * csokoban -- sokoban
33
34 Gry wykorzystuj± fonty konsolowe (to oznacza, ¿e nie bêd± dzia³aæ w ¿adnym
35 xtermie!) i myszkê do usprawnienia interfejsu u¿ytkownika.
36
37 %prep
38 %setup -q
39
40 %build
41 aclocal
42 %{__autoconf}
43 cp -f /usr/share/automake/config.* .
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} \
50         $RPM_BUILD_ROOT%{_datadir}/{csokoban,cblocks}
51
52 install csokoban/csokoban $RPM_BUILD_ROOT%{_bindir}
53 install cmines/cmines $RPM_BUILD_ROOT%{_bindir}
54 install cblocks/cblocks $RPM_BUILD_ROOT%{_bindir}
55 install */*.6 $RPM_BUILD_ROOT%{_mandir}/man6
56 install csokoban/series/* $RPM_BUILD_ROOT%{_datadir}/csokoban
57 install cblocks/series/* $RPM_BUILD_ROOT%{_datadir}/cblocks
58
59 gzip -9nf Changelog
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/csokoban
69 %{_datadir}/cblocks
70 %{_mandir}/man6/*
This page took 0.077784 seconds and 4 git commands to generate.