Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37847680
en ru br
ALT Linux repos
S:1.21-alt1_22.20160222git0027b3b8e694
5.0: 1.01-alt3
4.0: 1.0-alt1
3.0: 0.92-alt1

Group :: Games/Arcade
RPM: enigma

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: enigma
Version: 0.92
Release: alt1
Summary: Find and uncover all pairs of identical Oxyd stones in each landscape
License: GPL
Group: Games/Arcade
Url: http://www.nongnu.org/enigma/
Source0: %name-%version.tar.bz2
Source4: %name.menu
Source5: %name.xpm

Patch0: %name-build-doc.patch

# Automatically added by buildreq on Thu Nov 18 2004

BuildRequires: esound freetype2 gcc-c++ hostinfo libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libpng-devel libstdc++-devel xorg-x11-devel xorg-x11-libs zlib-devel

BuildRequires: libSDL-devel >= 1.2
BuildRequires: libSDL_mixer-devel >= 1.2.5
BuildRequires: libSDL_image-devel >= 1.2.0

Requires: libSDL >= 1.2
Requires: libSDL_mixer >= 1.2.4
Requires: libSDL_image >= 1.2.0
Requires: libSDL_ttf >= 2.0.6

%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 -n enigma-0.92

%patch0 -p1
%build
%__aclocal --force
%__autoconf
%__automake

%configure --enable-optimize
%make_build

%install
%makeinstall pngdir=$RPM_BUILD_ROOT%_docdir/%name-%version/images \
            htmldir=$RPM_BUILD_ROOT%_docdir/%name-%version \
            docdir=$RPM_BUILD_ROOT%_docdir/%name-%version

%__rm -f $RPM_BUILD_ROOT%_docdir/%name-%version/COPYING
%__ln_s /usr/share/license/GPL-2 $RPM_BUILD_ROOT%_docdir/%name-%version/COPYING

install -D -m644 %SOURCE4 $RPM_BUILD_ROOT%_menudir/%name

%find_lang %{name}

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%_docdir/*
%_bindir/*
%_menudir/*
%_datadir/pixmaps/*
%_datadir/%name
%_datadir/applications/*
%_mandir/man6/*
%_iconsdir/hicolor/*

%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