]> git.pld-linux.org Git - packages/nethack.git/blob - nethack.spec
- -spoilers pl description
[packages/nethack.git] / nethack.spec
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
5 Name:           nethack
6 Version:        3.3.1
7 Release:        1
8 Group:          Applications/Games
9 Group(de):      Applikationen/Spiele
10 Group(pl):      Aplikacje/Gry
11 License:        GPL
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
16 Icon:           roguelike.gif
17 URL:            http://www.nethack.org/
18 BuildRequires:  bison
19 BuildRequires:  XFree86-devel
20 BuildRequires:  ncurses-devel
21 BuildRequires:  qt-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 NetHack - An adventure into the Mazes of Menace.
26
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.
30
31 Compiled with: QT and ncurses support.
32
33 %description -l no
34 NetHack 3.3.1 -- Et eventyr i en faretruende labyrint.
35
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.
39
40 Denne utgaven er kopilert støtte for følgende utvidelser: QT og
41 ncurses.
42
43 %description -l pl
44 NetHack 3.3.1 -- Przygoda w Labiryntach Gro¼by.
45
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
49 i 3.1.
50
51 Kompilowany ze wsparciem dla QT i ncurses.
52
53 %package spoilers
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
59
60 %description spoilers
61 Spoilers - a set of texts which explain many secrets in the game.
62 Beware: the game after reading it becomes even more addictive!!!
63
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!
67
68 %prep
69 %setup -q -a 1 -a 2
70 %patch0 -p1
71
72 %build
73 ./sys/unix/setup.sh links
74
75 %{__make} OPTFLAGS="%{rpmcflags}" all
76
77 %{__make} -C util OPTFLAGS="%{rpmcflags}" recover
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install DESTDIR=$RPM_BUILD_ROOT
83
84 %{__make} -C doc manpages DESTDIR=$RPM_BUILD_ROOT
85
86 install util/recover    $RPM_BUILD_ROOT%{_datadir}/games/nethack
87 install util/*_comp     $RPM_BUILD_ROOT%{_datadir}/games/nethack
88
89 gzip -9nf doc/Guidebook.txt doc/Guidebook README doc/window.doc 
90
91 gzip -9nf nhspoilers/README nhspoilers/*.txt nhspoilers/gazetteer/README
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
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
103
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
109
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
115
116 %{_mandir}/man6/*
117
118 %files spoilers
119 %defattr(644,root,root,755)
120 %doc nhspoilers/README.gz nhspoilers/*.txt.gz
121 %doc %dir nhspoilers/gazetteer
This page took 0.060545 seconds and 4 git commands to generate.