Group :: Jogos/Enigmas
RPM: einstein
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# this is not a relocatable package.
Name : einstein
Version : 2.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-1.0-html-pages.tgz
Source2 : %name-wrapper
# 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
Patch2 : einstein-Makefile.patch
Patch3 : einstein-formatter_cpp.patch
Packager: Fr. Br. George <george at altlinux.ru>
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 Mon Dec 26 2005
BuildRequires: freetype2-devel gcc-c++ libSDL-devel libSDL_mixer-devel libSDL_ttf-devel libstdc++-devel xorg-x11-devel zlib-devel libSDL-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 97 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
%patch2
%patch3 -p2
%build
%make depend
%make PREFIX=/usr
%install
%__mkdir_p %buildroot%_bindir
%__mkdir_p %buildroot/%_datadir/%name/res
%makeinstall PREFIX=%buildroot%_usr
%__mv %buildroot%_bindir/%name %buildroot%_bindir/%name.bin
%__install %SOURCE2 %buildroot%_bindir/%name
%__chmod 755 %buildroot%_bindir/%name
#%__install -s %name %buildroot%_bindir
%__mkdir -p %buildroot/%_defaultdocdir/%name-%version
%__install doc/* %buildroot/%_defaultdocdir/%name-%version
#%__install %name.res %buildroot/%_datadir/%name
%files
%_bindir/*
%doc %_datadir/doc/%name-%version/*
%_datadir/%name/
%changelog
…
Todas as alterações você pod ver aqui
Name : einstein
Version : 2.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-1.0-html-pages.tgz
Source2 : %name-wrapper
# 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
Patch2 : einstein-Makefile.patch
Patch3 : einstein-formatter_cpp.patch
Packager: Fr. Br. George <george at altlinux.ru>
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 Mon Dec 26 2005
BuildRequires: freetype2-devel gcc-c++ libSDL-devel libSDL_mixer-devel libSDL_ttf-devel libstdc++-devel xorg-x11-devel zlib-devel libSDL-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 97 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
%patch2
%patch3 -p2
%build
%make depend
%make PREFIX=/usr
%install
%__mkdir_p %buildroot%_bindir
%__mkdir_p %buildroot/%_datadir/%name/res
%makeinstall PREFIX=%buildroot%_usr
%__mv %buildroot%_bindir/%name %buildroot%_bindir/%name.bin
%__install %SOURCE2 %buildroot%_bindir/%name
%__chmod 755 %buildroot%_bindir/%name
#%__install -s %name %buildroot%_bindir
%__mkdir -p %buildroot/%_defaultdocdir/%name-%version
%__install doc/* %buildroot/%_defaultdocdir/%name-%version
#%__install %name.res %buildroot/%_datadir/%name
%files
%_bindir/*
%doc %_datadir/doc/%name-%version/*
%_datadir/%name/
%changelog
…
Todas as alterações você pod ver aqui