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