Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37424373
en ru br
ALT Linux repos
S:5.3.2-alt2

Group :: Games/Adventure
RPM: unnethack

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: unnethack
Version: 5.3.2
Release: alt2
Summary: An enhancement to the dungeon exploration game NetHack
Group: Games/Adventure
Url: https://unnethack.wordpress.com
License: NGPL
Source: %version.tar.gz
Patch: bison3.7.patch

# Automatically added by buildreq on Sat Nov 26 2011

# optimized out: libtinfo-devel
BuildRequires: flex groff-base libgsl-devel libncurses-devel

%description
UnNetHack is a variant of NetHack.

It features more randomness, more levels, more challenges and more fun
than vanilla NetHack.

%prep
%setup
%patch -p1

%build
LIBS=-lgsl %configure --enable-curses-graphics
# Parallel build races
make include/autoconf_paths.h
make -C src ../include/date.h
%make_build
#make
make -C util recover lev_comp dgn_comp

%install
%make install DESTDIR=%buildroot CHOWN=echo CHGRP=echo CHMOD=echo
mv %buildroot%_datadir/%name/recover %buildroot%_bindir/%name.recover && \
 ln -rs %_bindir/%name.recover %buildroot%_datadir/%name/recover
mv %buildroot%_datadir/%name/%name %buildroot%_bindir/%name.bin && \
 ln -rs %_bindir/%name.bin %buildroot%_datadir/%name/%name
for u in dlb dgn_comp lev_comp tilemap; do
 install util/$u %buildroot%_bindir/%name.$u &&
 ln -rs %buildroot%_bindir/%name.$u %buildroot%_datadir/%name/$u
done

%files
%doc doc README
%attr(2711,root,games) %_bindir/*.bin
%_bindir/*[^n]
%_datadir/%name
%_defaultdocdir/%name
%dir %attr(775,root,games) %_localstatedir/%name
%attr(775,root,games) %_localstatedir/%name/[sbl]*
%attr(664,root,games) %_localstatedir/%name/[^sbl]*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin