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