]> 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.2b
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Games
8 Source0:        http://www.muppetlabs.com/~breadbox/pub/software/%{name}-%{version}.tar.gz
9 # Source0-md5:  02e9ac92557257d5f4ed5b7391d640fd
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 %{__sed} -i -e 's/-g games //' cblocks/Makefile.in csokoban/Makefile.in
43
44 %build
45 %{__aclocal}
46 %{__autoconf}
47 cp -f /usr/share/automake/config.* .
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         prefix=$RPM_BUILD_ROOT%{_prefix} \
56         bindir=$RPM_BUILD_ROOT%{_bindir} \
57         mandir=$RPM_BUILD_ROOT%{_mandir}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changelog README
65 %attr(755,root,root) %{_bindir}/cblocks
66 %attr(755,root,root) %{_bindir}/cmines
67 %attr(755,root,root) %{_bindir}/csokoban
68 %{_datadir}/csokoban
69 %{_datadir}/cblocks
70 %{_mandir}/man6/cblocks.6*
71 %{_mandir}/man6/cmines.6*
72 %{_mandir}/man6/csokoban.6*
This page took 0.057358 seconds and 4 git commands to generate.