1 %define file_version 331
2 Summary: NetHack - An adventure into the Mazes of Menace
3 Summary(no): NetHack - Et eventyr i en faretruende labyrint
4 Summary(pl): NetHack - Przygoda w Labiryntach Gro¼by
8 Group: Applications/Games
9 Group(de): Applikationen/Spiele
10 Group(pl): Aplikacje/Gry
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 Patch0: %{name}-pld.patch
17 URL: http://www.nethack.org/
19 BuildRequires: XFree86-devel
20 BuildRequires: ncurses-devel
21 BuildRequires: qt-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 NetHack - An adventure into the Mazes of Menace.
27 NetHack 3.3.1 is a new enhancement to the dungeon exploration game
28 NetHack. It is a distant descendent of Rogue and Hack, and a direct
29 descendent of NetHack 3.1 and 3.0.
31 Compiled with: QT and ncurses support.
34 NetHack 3.3.1 -- Et eventyr i en faretruende labyrint.
36 NetHack 3.3.1 er siste utvidelse til NetHack, et tøm og røm eventyr
37 spill. Det er basert på spill som Rouge og Hack, og er etterfølgeren
38 til versjon 3.0 og 3.1 av NetHack.
40 Denne utgaven er kopilert støtte for følgende utvidelser: QT og
44 NetHack 3.3.1 -- Przygoda w Labiryntach Gro¼by.
46 NetHack 3.3.1 jest przygodow± gr±, której akcja toczy siê w
47 podziemnych labiryntach. Wywodzi siê ze starszych gier, Rouge i Hack,
48 i zawiera wiele nowych rozszerzeñ w stosunku do poprzednich wersji 3.0
51 Kompilowany ze wsparciem dla QT i ncurses.
54 Summary: Spoilers to NetHack
55 Summary(pl): Spoilery dla NetHacka
56 Group: Applications/Games
57 Group(de): Applikationen/Spiele
58 Group(pl): Aplikacje/Gry
61 Spoilers - a set of texts which explain many secrets in the game.
62 Beware: the game after reading it becomes even more addictive!!!
64 %description spoilers -l pl
65 Spoilery - zbiór tekstów wyja¶niaj±cych wiele sekretów w grze. Uwaga:
66 po przeczytaniu gra staje siê jeszcze bardziej uzale¿niaj±ca!
73 ./sys/unix/setup.sh links
75 %{__make} OPTFLAGS="%{rpmcflags}" all
77 %{__make} -C util OPTFLAGS="%{rpmcflags}" recover
80 rm -rf $RPM_BUILD_ROOT
82 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84 %{__make} -C doc manpages DESTDIR=$RPM_BUILD_ROOT
86 install util/recover $RPM_BUILD_ROOT%{_datadir}/games/nethack
87 install util/*_comp $RPM_BUILD_ROOT%{_datadir}/games/nethack
89 gzip -9nf doc/Guidebook.txt doc/Guidebook README doc/window.doc
91 gzip -9nf nhspoilers/README nhspoilers/*.txt nhspoilers/gazetteer/README
94 rm -rf $RPM_BUILD_ROOT
97 %defattr(644,root,root,755)
98 %doc README.gz doc/{Guidebook.txt,Guidebook,window.doc}.gz
99 %attr(2750,root,games) %{_prefix}/games/nethack
100 %attr(2750,root,games) %{_datadir}/games/nethack/nethack
101 %attr(2750,root,games) %{_datadir}/games/nethack/recover
102 %attr(2750,root,games) %{_datadir}/games/nethack/*_comp
104 %attr(2770,root,games) %dir %{_datadir}/games/nethack
105 %attr(640,root,games) %{_datadir}/games/nethack/nhdat
106 %attr(640,root,games) %{_datadir}/games/nethack/license
107 %attr(640,root,games) %{_datadir}/games/nethack/*.xpm
108 %attr(640,root,games) %{_datadir}/games/nethack/x11tiles
110 %attr(775,root,games) %dir /var/games/nethack
111 %attr(775,root,games) %dir /var/games/nethack/save
112 %attr(664,root,games) /var/games/nethack/perm
113 %attr(664,root,games) /var/games/nethack/record
114 %attr(664,root,games) /var/games/nethack/logfile
119 %defattr(644,root,root,755)
120 %doc nhspoilers/README.gz nhspoilers/*.txt.gz
121 %doc %dir nhspoilers/gazetteer