Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37760131
en ru br
ALT Linux repos
S:2.0-alt8
5.0: 2.0-alt5
4.1: 2.0-alt4.qa1
4.0: 2.0-alt3
3.0: 1.0-alt3

Other repositories

Group :: Games/Puzzles
RPM: einstein

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# this is not a relocatable package.
Name : einstein
Version : 1.0
Release : alt3
License : GPL
Group : Games/Puzzles
URL : http://www.babichev.info/ru/projects/einstein/
Source : http://www.babichev.info/files/einstein/%name-%version-src.tar.gz
Source1 : %name-%version-html-pages.tgz
# how to get Source1
# wget -r -l1 -np -nH http://www.babichev.info/en/projects/einstein/index.html --cut-dirs=2
# wget http://www.babichev.info/ru/projects/einstein/index.html -O einstein/index.ru.html
Patch : einstein-optimize.patch
Patch1 : einstein-math_h.patch
Summary : Open source remake of old DOS game Sherlock which was inspired by Albert Einstein's puzzle.

Summary(ru_RU.KOI8-R): Логическая головоломка, написанная по мотивам старой игры Sherlock, которая в свою очередь была написана по мотивам задачи Эйнштейна

# Automatically added by buildreq on Fri Jan 07 2005

BuildRequires: XFree86-devel XFree86-libs freetype2-devel gcc-c++ libSDL-devel libSDL_ttf-devel libstdc++-devel zlib-devel

%description
Einstein puzzle is cross-platform open source remake of old DOS game Sherlock
which was inspired by Albert Einstein's puzzle. Einstein said that only those
with an intelligence quotient of 98 percentile and higher should be able to
solve it.

The game goal is to open all cards in square of 6x6 cards.
Every row of square contains cards of one type only. For example, first row
contains arabic digits, second - letters, third - rome digits, fouths - dices,
fifth - geometric figures, sixs - mathematic symbols.

%description -l ru_RU.KOI8-R
Einstein - это логическая головоломка, написанная по мотивам старой игры
Sherlock, которая в свою очередь была написана по мотивам задачи Эйнштейна.
Эйнштейн утверждал что только 3% людей обладают интеллектом достаточным для ее
решения.

Правила игры очень простые: надо открыть все фишки в квадрате 6x6 фишек.
В каждой строке квадрата находятся фишки одного типа. Например, в первой строке
квадрата находятся арабские цифры, во второй - латинские буквы, в третьей -
римские цифры, в четвертой - игральные кости, в пятой - геометрические фигуры,
в шестой - математические символы.

%prep
%setup
%setup -q -a 1
%__mv %name doc
%patch
%patch1

%build
%make depend
%make PREFIX=/usr

%install
%__mkdir -p %buildroot%_bindir
%__install -s %name %buildroot%_bindir
%__mkdir -p %buildroot/%_defaultdocdir/%name-%version
%__install doc/* %buildroot/%_defaultdocdir/%name-%version
%__mkdir -p %buildroot/%_datadir/%name
%__install %name.res %buildroot/%_datadir/%name

%files
%_bindir/*
%doc %_datadir/doc/%name-%version/*
%_datadir/%name/*

%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