1 %define file_version 331
2 Summary: NetHack - An adventure into the Mazes of Menace
3 Summary(es): Juego estilo rogue que se basa en Dungeons and Dragons (calabozos y dragones)
4 Summary(no): NetHack - Et eventyr i en faretruende labyrint
5 Summary(pl): NetHack - Przygoda w Labiryntach Gro¼by
6 Summary(pt_BR): Jogo estilo rogue baseado no Dungeons and Dragons
11 Group: Applications/Games
12 Source0: ftp://ftp.nethack.org/pub/nethack/nh331/src/%{name}-%{file_version}.tgz
13 Source1: http://www.spod-central.org/~psmith/nh/spoi-%{file_version}.tar.gz
14 Source2: http://www.spod-central.org/~psmith/nh/gazetteer.tar.gz
15 Source3: %{name}.desktop
17 Source5: Guidebook-3.2pl.ps.gz
18 Patch0: %{name}-pld.patch
20 URL: http://www.nethack.org/
22 BuildRequires: XFree86-devel
23 BuildRequires: ncurses-devel
24 BuildRequires: qt-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _nhdir %{_datadir}/games/nethack
28 %define _dyndir /var/games/nethack
31 NetHack - An adventure into the Mazes of Menace. Nethack is a
32 D&D-inspired, roguelike game. It is a very elaborate and deep game,
33 developed over the years by the same team of individuals.
36 Nethack é um jogo clássico estilo rogue, baseado no Dungeons and
37 Dragons. Ele é um jogo muito elaborado e profundo, desenvolvido há
38 anos pelo mesmo time de indivíduos.
41 Nethack es un juego clásico estilo rogue, basado en el juego Dungeons
42 and Dragons (calabozos y dragones). Es un juego muy elaborado y
43 profundo, desarrollado desde hace muchos años por el mismo grupo de
47 NetHack - Et eventyr i en faretruende labyrint.
49 NetHack 3.3.1 er siste utvidelse til NetHack, et tøm og røm eventyr
50 spill. Det er basert på spill som Rouge og Hack, og er etterfølgeren
51 til versjon 3.0 og 3.1 av NetHack.
53 Denne utgaven er kopilert støtte for følgende utvidelser: QT og
57 NetHack -- Przygoda w Labiryntach Gro¼by.
59 NetHack jest gr± przygodow±, której akcja toczy siê w podziemnych
60 labiryntach. Wywodzi siê ze starszych gier, Rouge i Hack, i zawiera
61 wiele nowych rozszerzeñ w stosunku do poprzednich wersji.
64 Summary: Spoilers to NetHack
65 Summary(pl): Spoilery dla NetHacka
66 Group: Applications/Games
69 Spoilers - a set of texts which explain many secrets in the game.
70 Beware: the game after reading it becomes even more addictive!!!
72 %description spoilers -l pl
73 Spoilery - zbiór tekstów wyja¶niaj±cych wiele sekretów w grze. Uwaga:
74 po przeczytaniu gra staje siê jeszcze bardziej uzale¿niaj±ca!
81 ./sys/unix/setup.sh links
83 %{__make} OPTFLAGS="%{rpmcflags}" all
85 %{__make} -C util OPTFLAGS="%{rpmcflags}" recover
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Games/Roguelike}
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
93 %{__make} -C doc manpages DESTDIR=$RPM_BUILD_ROOT
95 rm $RPM_BUILD_ROOT%{_mandir}/man6/{dlb.6,dgn_comp.6,lev_comp.6}
97 install util/recover $RPM_BUILD_ROOT%{_nhdir}
100 gzip -9nf doc/Guidebook README doc/window.doc \
101 $RPM_BUILD_ROOT%{_nhdir}/license \
102 nhspoilers/README nhspoilers/*.txt nhspoilers/gazetteer/README
104 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Games/Roguelike
105 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
108 rm -rf $RPM_BUILD_ROOT
111 %defattr(644,root,root,755)
112 %doc README.gz doc/{Guidebook,window.doc}.gz
113 %doc $RPM_BUILD_ROOT%{_nhdir}/license.gz
114 %lang(pl) %doc Guidebook-3.2pl.ps.gz
116 %attr(2755,root,games) %{_prefix}/games/nethack
117 %attr(2755,root,games) %{_nhdir}/nethack
118 %attr(2755,root,games) %{_nhdir}/recover
120 %attr(755,root,root) %dir %{_nhdir}
125 %attr(2775,root,games) %dir %{_dyndir}
126 %attr(2775,root,games) %dir %{_dyndir}/save
127 %attr(664,root,games) %{_dyndir}/perm
128 %attr(664,root,games) %config(noreplace) %verify(not,md5,size,mtime) %{_dyndir}/record
129 %attr(664,root,games) %config(noreplace) %verify(not,md5,size,mtime) %{_dyndir}/logfile
133 %{_applnkdir}/Games/Roguelike/*
137 %defattr(644,root,root,755)
138 %doc nhspoilers/README.gz nhspoilers/*.txt.gz
139 %doc %dir nhspoilers/gazetteer