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