Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > 8769c1fc68a107e1515b943063802fd2 > files > 2

enigma-1.03-3mdk.src.rpm

Summary: Enigma is a puzzle game
Name: enigma
Version: 1.03
Release: 3mdk
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Games/Boards
URL: http://www.chiark.greenend.org.uk/~sgtatham/enigma/
BuildRequires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

%description
Enigma is a puzzle game with elements of Boulderdash and elements 
of Sokoban, but is possibly most similar to the old Spectrum game XOR.

%prep
%setup -q

%build

%configure

%make

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%_bindir

%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" \
	startup_notify="false"
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files
%defattr(-,root,root)
%doc README 
%{_bindir}/*
%{_datadir}/enigma
%{_menudir}/*

%changelog

* Wed Sep 03 2003 Michael Scherer <scherer.michael@free.fr> 1.03-3mdk
- BuildRequires ncurses-devel 

* Thu Aug 14 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.03-2mdk
- fix desc. and changelog to reflect what this package is (regarding the 
 enigma-freeoxyd that will be uploaded)

* Mon Mar 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.03-1mdk
- 1.03