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