]> git.pld-linux.org Git - packages/crawl.git/blob - crawl.spec
- initial release
[packages/crawl.git] / crawl.spec
1 Summary:        Roguelike game.
2 Summary(pl):    Gra roguelike.
3 Name:           crawl
4 Version:        400beta22
5 Release:        1
6 License:        Crawl GPL
7 Group:          Applications/Games
8 Group(de):      Applikationen/Spiele
9 Group(pl):      Aplikacje/Gry
10 Source0:        ftp://ftp.dungeoncrawl.org/LATEST/devteam/cr%{version}-src.tar.bz2
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-makefile.patch
14 Patch1:         %{name}-savedir.patch
15 BuildRequires:  ncurses-devel
16 Requires:       zip
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define _datadir        /var/games/crawl
20 %define _bindir         /usr/games
21
22 %description
23 Crawl is a large and very random game of subterranean exploration in a
24 fantasy world of magic and frequent violence. Your quest is to travel
25 into the depths of the Dungeon (which is different each time you play)
26 and retrieve the Orb of Zot.
27
28 Crawl is an RPG of the 'rogue-like' type, one of the descendants of
29 Rogue. Its graphics are simple but highly informative, designed to be
30 understood at a glance, and control is exercised largely through
31 one-keystroke commands.
32
33 %description -l pl
34 Crawl jest du¿± i bardzo losow± gr± podziemnej eksploracji w
35 fantastycznym ¶wiecie magii i czêstej przemocy. Twoim zadaniem jest
36 podró¿ w g³±b Lochu (który w ka¿dej grze jest inny) i odzyskanie Kuli
37 Zota.
38
39 Crawl jest gr± RPG typu 'rogue-like', jednym z potomków Rogue. Grafika
40 jest prosta, ale wysoce informatywna, zaprojektowana by byæ zrozumia³±
41 od pierwszego spojrzenia. Sterowanie odbywa siê g³ównie jedno
42 klawiszowymi poleceniami.
43
44 %prep
45 %setup -q -n cr%{version}-src
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 cd source
51 %{__make} -f makefile.lnx EXTRA_FLAGS="%{rpmcflags}"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_applnkdir}/Games/Roguelike,%{_pixmapsdir}}
57 install source/crawl $RPM_BUILD_ROOT%{_bindir}
58 install docs/crawl.6 $RPM_BUILD_ROOT%{_mandir}/man6
59
60 gzip -9nf init.txt licence.txt macro.txt readme.txt docs/buglist.txt docs/changes.* docs/crawl.txt docs/todo.txt docs/versions.txt
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Roguelike
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
64
65 touch $RPM_BUILD_ROOT%{_datadir}/scores
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(2755,root,games) %{_bindir}/crawl
73 %attr(2775,root,games) %dir %{_datadir}
74 %attr(664,root,games) %config(noreplace) %verify(not md5 size mtime) %{_datadir}/scores
75
76 %{_mandir}/man6/*
77 %doc *.gz
78 %doc docs/*.gz
79
80 %{_applnkdir}/Games/Roguelike/*
81 %{_pixmapsdir}/*
This page took 0.087899 seconds and 4 git commands to generate.