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