]> git.pld-linux.org Git - packages/crawl.git/blame - crawl.spec
- converted to UTF-8
[packages/crawl.git] / crawl.spec
CommitLineData
a7916df6 1Summary: Orb of Zot-retrieval-quest
c58d810c 2Summary(pl.UTF-8): Zdobądź Kulę Zota
800f0be4 3Name: crawl
70685249 4Version: 400b26
636e7550 5Release: 3
780962c5 6Epoch: 1
800f0be4 7License: Crawl GPL
8Group: Applications/Games
87ea8cd6 9Source0: ftp://ftp.dungeoncrawl.org/dev/4.0.x/src/dc%{version}-src.tbz2
3f7fecf9 10# Source0-md5: 807810185ff93f06bd4e169067644d8f
800f0be4 11Source1: %{name}.desktop
12Source2: %{name}.png
13Patch0: %{name}-makefile.patch
14Patch1: %{name}-savedir.patch
d2398227 15URL: http://dungeoncrawl.org/
800f0be4 16BuildRequires: ncurses-devel
17Requires: zip
7bcf8b5d 18Conflicts: applnk < 1.5.13
800f0be4 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
431a6e03 21%define _datadir /var/games/crawl
800f0be4 22
23%description
24Crawl is a large and very random game of subterranean exploration in a
25fantasy world of magic and frequent violence. Your quest is to travel
26into the depths of the Dungeon (which is different each time you play)
27and retrieve the Orb of Zot.
28
29Crawl is an RPG of the 'rogue-like' type, one of the descendants of
30Rogue. Its graphics are simple but highly informative, designed to be
31understood at a glance, and control is exercised largely through
32one-keystroke commands.
33
c58d810c
JR
34%description -l pl.UTF-8
35Crawl jest dużą i bardzo losową grą podziemnej eksploracji w
36fantastycznym świecie magii i częstej przemocy. Twoim zadaniem jest
37podróż w głąb Lochu (który w każdej grze jest inny) i odzyskanie Kuli
800f0be4 38Zota.
39
c58d810c
JR
40Crawl jest grą RPG typu 'rogue-like', jednym z potomków Rogue. Grafika
41jest prosta, ale wysoce informatywna, zaprojektowana by być zrozumiałą
42od pierwszego spojrzenia. Sterowanie odbywa się głównie jedno
800f0be4 43klawiszowymi poleceniami.
44
45%prep
780962c5 46%setup -q -n dc%{version}-src
800f0be4 47%patch0 -p1
48%patch1 -p1
49
50%build
51cd source
87ea8cd6 52%{__make} -f makefile.lnx \
53 CFLAGS="-DLINUX %{rpmcflags} -fno-rtti -fno-exceptions" \
54 LDFLAGS="%{rpmldflags}" \
55 CXX="%{__cxx}"
800f0be4 56
57%install
58rm -rf $RPM_BUILD_ROOT
8cacffaf 59install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_desktopdir},%{_pixmapsdir}}
431a6e03 60
800f0be4 61install source/crawl $RPM_BUILD_ROOT%{_bindir}
62install docs/crawl.6 $RPM_BUILD_ROOT%{_mandir}/man6
63
8cacffaf 64install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
800f0be4 65install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
66
ff44ccfc 67:> $RPM_BUILD_ROOT%{_datadir}/scores
68
800f0be4 69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
092be576 74%doc init.txt licence.txt macro.txt readme.txt docs/buglist.txt
c62f6e0e 75%doc docs/changes.* docs/crawl.txt docs/todo.txt docs/versions.txt
800f0be4 76%attr(2755,root,games) %{_bindir}/crawl
77%attr(2775,root,games) %dir %{_datadir}
c58d69e0 78%attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) %{_datadir}/scores
800f0be4 79%{_mandir}/man6/*
c6237f31 80%{_desktopdir}/*.desktop
800f0be4 81%{_pixmapsdir}/*
This page took 0.092865 seconds and 4 git commands to generate.