
%define name gnomehack
%define version 1.0.5
%define release 2
%define prefix /usr
Summary : This is a port of Nethack for GNOME, using gnome-libs and the amazingly popular and exceptionally cool GTK+ toolkit.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Amusements/Games
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
This port is based on nethack_3.2.2.tar.gz, and almost all the code contained here is _exactly_ the same. The most interesting differences will be found in the directory nethack/win/gnome, where the Gnome port is taking place.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc AUTHORS COPYING COPYING.read-this ChangeLog LICENSE NEWS README
/usr/games/dgn_comp_gnomehack
/usr/games/lev_comp_gnomehack
/usr/games/recover_gnomehack
/usr/games/gnomehack
/usr/lib/gnomehack/nhdat
/usr/lib/gnomehack/x11tiles
/usr/lib/gnomehack/t32-1024.xpm
/usr/lib/gnomehack/license
/usr/lib/gnomehack/save/perm
/usr/lib/gnomehack/save/record
/usr/lib/gnomehack/save/logfile
/usr/lib/gnomehack/pet_mark.xbm
/usr/lib/gnomehack/rip.xpm
/usr/lib/gnomehack/nh_icon.xpm
/usr/lib/gnomehack/mapbg.xpm
/usr/man/man6/dgn_comp_gnomehack.6
/usr/man/man6/lev_comp_gnomehack.6
/usr/man/man6/gnomehack.6
/usr/man/man6/recover_gnomehack.6
/usr/doc/gnomehack/Guidebook
/usr/share/gnome/apps/Games/gnomehack.desktop

%changelog

* Thu May 30 2000 Georges Seguin crow@planete.net 
- Link gnomehack with the Red Hat 6.2 ncurses 5.0 version and gnome-games-devel-1.2.0

* Mon May 29 2000 Georges Seguin crow@planete.net 
- First RPM
