]> git.pld-linux.org Git - packages/crawl.git/blob - crawl.spec
- massive attack: adding Source-md5
[packages/crawl.git] / crawl.spec
1 Summary:        Orb of Zot-retrieval-quest
2 Summary(pl):    Zdob±d¼ Kulê Zota
3 Name:           crawl
4 Version:        400b26
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 # Source0-md5:  807810185ff93f06bd4e169067644d8f
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-makefile.patch
14 Patch1:         %{name}-savedir.patch
15 BuildRequires:  ncurses-devel
16 Requires:       applnk >= 1.5.13
17 Requires:       zip
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _datadir        /var/games/crawl
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 dc%{version}-src
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 cd source
51 %{__make} -f makefile.lnx \
52         CFLAGS="-DLINUX %{rpmcflags} -fno-rtti -fno-exceptions" \
53         LDFLAGS="%{rpmldflags}" \
54         CXX="%{__cxx}"
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_applnkdir}/Games/RPG,%{_pixmapsdir}}
59
60 install source/crawl $RPM_BUILD_ROOT%{_bindir}
61 install docs/crawl.6 $RPM_BUILD_ROOT%{_mandir}/man6
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/RPG
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
65
66 :> $RPM_BUILD_ROOT%{_datadir}/scores
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc init.txt licence.txt macro.txt readme.txt docs/buglist.txt 
74 %doc docs/changes.* docs/crawl.txt docs/todo.txt docs/versions.txt
75 %attr(2755,root,games) %{_bindir}/crawl
76 %attr(2775,root,games) %dir %{_datadir}
77 %attr(664,root,games) %config(noreplace) %verify(not md5 size mtime) %{_datadir}/scores
78 %{_mandir}/man6/*
79 %{_applnkdir}/Games/RPG/*
80 %{_pixmapsdir}/*
This page took 0.819694 seconds and 3 git commands to generate.