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