Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > f8efc780eecf870341f89435aec94362 > files > 2

enigma-0.40a-2mdk.src.rpm

Summary: Enigma is a puzzle game similar to Oxyd
Name: enigma
Version: 0.40a
Release: 2mdk
Source0: http://freesoftware.fsf.org/download/enigma/%{name}-%{version}.tar.bz2
License: GPL
Group: Games/Boards
URL: http://www.freesoftware.fsf.org/enigma/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: lua4-devel
BuildRequires: libSDL1.2-devel
BuildRequires: libSDL_image1.2-devel
BuildRequires: libSDL_mixer1.2-devel
BuildRequires: libSDL_ttf2.0-devel

%description
Enigma is a tribute to and a re-implementation of one of the most
original and intriguing computer games of the 1990's: Oxyd.  Your
objective is easily explained: find and uncover all pairs of identical
Oxyd stones in each landscape.  Sounds simple?  It would be, if it
weren't for hidden traps, vast mazes, insurmountable obstacles and
innumerable puzzles blocking your direct way to the Oxyd stones...

%prep
%setup -q

%build

%configure

%make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

mkdir -p $RPM_BUILD_ROOT%{_menudir}

cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}): \
	command="%{_bindir}/%{name}" \
	needs="x11" \
	section="Amusement/Boards" \
	title="Enigma" \
	icon="boards_section.png" \
	longtitle="Enigma is a puzzle game similar to Oxyd"
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files
%defattr(-,root,root)
%doc README ChangeLog AUTHORS TODO 
%{_bindir}/*
%{_datadir}/enigma
%{_mandir}/man6/*
%{_menudir}/*

%changelog
* Mon Sep 02 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.40a-2mdk
- rebuild

* Tue Jul 30 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.40a-1mdk
- Release 0.40a

* Mon Apr 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.39a-1mdk
- First Mdk package


# end of file