1 Summary: Orb of Zot-retrieval-quest
2 Summary(pl.UTF-8): Zdobądź Kulę Zota
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
13 Patch0: %{name}-makefile.patch
14 Patch1: %{name}-savedir.patch
15 Patch2: %{name}-fix_build.patch
16 Patch3: %{name}-gcc43.patch
17 Patch4: %{name}-link.patch
18 URL: http://dungeoncrawl.org/
19 BuildRequires: libstdc++-devel
20 BuildRequires: ncurses-devel
22 Conflicts: applnk < 1.5.13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _datadir /var/games/crawl
28 Crawl is a large and very random game of subterranean exploration in a
29 fantasy world of magic and frequent violence. Your quest is to travel
30 into the depths of the Dungeon (which is different each time you play)
31 and retrieve the Orb of Zot.
33 Crawl is an RPG of the 'rogue-like' type, one of the descendants of
34 Rogue. Its graphics are simple but highly informative, designed to be
35 understood at a glance, and control is exercised largely through
36 one-keystroke commands.
38 %description -l pl.UTF-8
39 Crawl jest dużą i bardzo losową grą podziemnej eksploracji w
40 fantastycznym świecie magii i częstej przemocy. Twoim zadaniem jest
41 podróż w głąb Lochu (który w każdej grze jest inny) i odzyskanie Kuli
44 Crawl jest grą RPG typu 'rogue-like', jednym z potomków Rogue. Grafika
45 jest prosta, ale wysoce informatywna, zaprojektowana by być zrozumiałą
46 od pierwszego spojrzenia. Sterowanie odbywa się głównie jedno
47 klawiszowymi poleceniami.
50 %setup -q -n dc%{version}-src
59 %{__make} -f makefile.lnx \
60 CFLAGS="-DLINUX %{rpmcflags} -fno-rtti -fno-exceptions" \
61 LDFLAGS="%{rpmldflags}" \
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_desktopdir},%{_pixmapsdir}}
68 install source/crawl $RPM_BUILD_ROOT%{_bindir}
69 install docs/crawl.6 $RPM_BUILD_ROOT%{_mandir}/man6
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
72 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
74 :> $RPM_BUILD_ROOT%{_datadir}/scores
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %doc init.txt licence.txt macro.txt readme.txt docs/buglist.txt
82 %doc docs/changes.* docs/crawl.txt docs/todo.txt docs/versions.txt
83 %attr(2755,root,games) %{_bindir}/crawl
84 %attr(2775,root,games) %dir %{_datadir}
85 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) %{_datadir}/scores
86 %{_mandir}/man6/crawl.6*
87 %{_desktopdir}/crawl.desktop
88 %{_pixmapsdir}/crawl.png