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