]> git.pld-linux.org Git - packages/nethack.git/blob - nethack.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/nethack.git] / nethack.spec
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
7 Name:           nethack
8 Version:        3.3.1
9 Release:        2
10 License:        Nethack GPL
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
16 Source4:        %{name}.png
17 Source5:        Guidebook-3.2pl.ps.gz
18 Patch0:         %{name}-pld.patch
19 Icon:           roguelike.gif
20 URL:            http://www.nethack.org/
21 BuildRequires:  bison
22 BuildRequires:  XFree86-devel
23 BuildRequires:  ncurses-devel
24 BuildRequires:  qt-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define _nhdir  %{_datadir}/games/nethack
28 %define _dyndir /var/games/nethack
29
30 %description
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.
34
35 %description -l pt_BR
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.
39
40 %description -l es
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
44 individuos.
45
46 %description -l no
47 NetHack - Et eventyr i en faretruende labyrint.
48
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.
52
53 Denne utgaven er kopilert støtte for følgende utvidelser: QT og
54 ncurses.
55
56 %description -l pl
57 NetHack -- Przygoda w Labiryntach Gro¼by.
58
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.
62
63 %package spoilers
64 Summary:        Spoilers to NetHack
65 Summary(pl):    Spoilery dla NetHacka
66 Group:          Applications/Games
67
68 %description spoilers
69 Spoilers - a set of texts which explain many secrets in the game.
70 Beware: the game after reading it becomes even more addictive!!!
71
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!
75
76 %prep
77 %setup -q -a 1 -a 2
78 %patch0 -p1
79
80 %build
81 ./sys/unix/setup.sh links
82
83 %{__make} OPTFLAGS="%{rpmcflags}" all
84
85 %{__make} -C util OPTFLAGS="%{rpmcflags}" recover
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Games/Roguelike}
90
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
92
93 %{__make} -C doc manpages DESTDIR=$RPM_BUILD_ROOT
94
95 rm $RPM_BUILD_ROOT%{_mandir}/man6/{dlb.6,dgn_comp.6,lev_comp.6}
96
97 install util/recover    $RPM_BUILD_ROOT%{_nhdir}
98
99 cp %{SOURCE5} .
100 gzip -9nf doc/Guidebook README doc/window.doc \
101         $RPM_BUILD_ROOT%{_nhdir}/license \
102         nhspoilers/README nhspoilers/*.txt nhspoilers/gazetteer/README
103
104 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Games/Roguelike
105 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %files
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
115
116 %attr(2755,root,games) %{_prefix}/games/nethack
117 %attr(2755,root,games) %{_nhdir}/nethack
118 %attr(2755,root,games) %{_nhdir}/recover
119
120 %attr(755,root,root) %dir %{_nhdir}
121 %{_nhdir}/nhdat
122 %{_nhdir}/*.xpm
123 %{_nhdir}/x11tiles
124
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
130
131 %{_mandir}/man6/*
132
133 %{_applnkdir}/Games/Roguelike/*
134 %{_pixmapsdir}/*
135
136 %files spoilers
137 %defattr(644,root,root,755)
138 %doc nhspoilers/README.gz nhspoilers/*.txt.gz
139 %doc %dir nhspoilers/gazetteer
This page took 0.049766 seconds and 3 git commands to generate.