Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37373711
en ru br
Репозитории ALT
S:20180227-alt1
5.1: 8690-alt1
4.1: 6907-alt1
4.0: 6907-alt1
www.altlinux.org/Changes

Группа :: Игры/Головоломки
Пакет: tatham-puzzles

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: tatham-puzzles
Version: 20170925
Release: alt1
License: MIT
Group: Games/Puzzles
Url: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
Source: puzzles-r%version.tar.gz
Source1: %name.patchmakefile.sed
# See Makefile for obtaining wget command
Source2: www.chiark.greenend.org.uk.tar
Source3: %name.sh
Source4: CHANGELOG.txt

Summary: A collection of small one-player puzzle games
Summary(ru_RU.UTF-8): п п╬п╩п╩п╣п╨я├п╦я▐ п╫п╣п╠п╬п╩я▄я┬п╦я┘ п╩п╬пЁп╦я┤п╣я│п╨п╦я┘ пЁп╬п╩п╬п╡п╬п╩п╬п╪п╬п╨

# Automatically added by buildreq on Sun Oct 11 2009

BuildRequires: ImageMagick-tools fonts-type1-urw libgtk+2-devel xvfb-run xauth halibut
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
A collection of little puzzle games you can pop up in a window and play for two or three minutes while you take a break from whatever else you were doing.
Their names: Black Box, Bridges, Cube, Dominosa, Fifteen, Filling, Flip, Flood, Galaxies, Guess, Inertia, Keen, Light Up, Loopy, Magnets, Map, Mines, Net, Netslide, Palisade, Pattern, Pearl, Pegs, Range, Rectangles, Same Game, Signpost, Singles, Sixteen, Slant, Solo, Tents, Towers, Tracks, Twiddle, Undead, Unequal, Unruly, Untangle. Rules, descriptions and tips can be found in documentation.

%description -l ru_RU.UTF-8
п п╬п╩п╩п╣п╨я├п╦я▐ п╦п╥ п╫п╣п╠п╬п╩я▄я┬п╦я┘ п╩п╬пЁп╦я┤п╣я│п╨п╦я┘ пЁп╬п╩п╬п╡п╬п╩п╬п╪п╬п╨ п╨п╩п╟я│я│п╟ "п╬я┌п╨я─п╬п╧ п╡ п╬п╨п╬я┬п╨п╣, п©п╬я┌я▀п╨п╟п╧ п©я▐я┌я▄ п╪п╦п╫я┐я┌ -- п╬я┌п╢п╬я┘п╫п╦"; я│п╩п╬п╤п╫п╬я│я┌я▄ п╪п╬п╤п╫п╬ п╫п╟я│я┌я─п╬п╦я┌я▄.
п²п╟п╥п╡п╟п╫п╦я▐ пЁп╬п╩п╬п╡п╬п╩п╬п╪п╬п╨: Black Box, Bridges, Cube, Dominosa, Fifteen, Filling, Flip, Flood, Galaxies, Guess, Inertia, Keen, Light Up, Loopy, Magnets, Map, Mines, Net, Netslide, Palisade, Pattern, Pearl, Pegs, Range, Rectangles, Same Game, Signpost, Singles, Sixteen, Slant, Solo, Tents, Towers, Tracks, Twiddle, Undead, Unequal, Unruly, Untangle. Rules, descriptions and tips can be found in documentation.
п·п©п╦я│п╟п╫п╦я▐, п©я─п╟п╡п╦п╩п╟ п╦ п©п╬п╢я│п╨п╟п╥п╨п╦ -- п╡ п╢п╬п╨я┐п╪п╣я┌п╟я├п╦п╦.
%package -n %name-solvers
Summary: Stand-alone solvers for some of the %name puzzles
Summary(ru_RU.UTF-8): п²п╟п╠п╬я─ "я─п╣я┬п╟п╩п╬п╨" п╨ п╫п╣п╨п╬я┌п╬я─я▀п╪ пЁп╬п╩п╬п╡п╬п╩п╬п╪п╨п╟п╪ п╦п╥ %name
Group: Games/Puzzles

%description -n %name-solvers
Stand-alone solvers for some of the %name puzzles.

%description -l ru_RU.UTF-8 -n %name-solvers
п²п╟п╠п╬я─ "я─п╣я┬п╟п╩п╬п╨" п╨ п╫п╣п╨п╬я┌п╬я─я▀п╪ пЁп╬п╩п╬п╡п╬п╩п╬п╪п╨п╟п╪ п╦п╥ %name.

# TODO separate puzzles/js into another package

# TODO separate docs
# TODO add help links and/or text into launcher
# TODO separate all the desktop files into mandatory package in the sake of launcher

%prep
%setup -n puzzles-r%version -a2
./mkfiles.pl

sed '/^IN=/s at .* at IN="%_defaultdocdir/%name-%version/index.html" at
/^GBD=/s at .* at GBD="%_gamesbindir" at ' < %SOURCE3 > %name

cat > mkicons << at  at  at
( cd icons
make
%make_build web pngicons
for S in 16 32 48; do
 mkdir \$S
 for N in *\${S}d24.png; do
   ln \$N \$S/\${N%%-*}.png
 done
done
)
at  at  at
chmod +x mkicons

cp %SOURCE4 .

%build
%autoreconf
%configure --bindir=%_gamesbindir
%make_build

xvfb-run ./mkicons
sh %SOURCE3 desktop

# hack a little

##sed -i 's/Icon=rectangles/Icon=rect/' rectangles.desktop

halibut --info=%name.info puzzles.but
sed -i '/^$/a\
INFO-DIR-SECTION Games\
START-INFO-DIR-ENTRY\
* %name: (%name). A collection of small one-player puzzle games\
END-INFO-DIR-ENTRY\
' %name.info

%install
mkdir -p %buildroot/%_gamesbindir %buildroot%_desktopdir %buildroot%_miconsdir %buildroot%_liconsdir %buildroot%_niconsdir %buildroot%_pixmapsdir/%name %buildroot%_infodir
%makeinstall bindir=%buildroot/%_gamesbindir
#-f Makefile.linux
install -m755 *solver %buildroot/%_gamesbindir/
install -m 755 %name %buildroot/%_gamesbindir/
install *.desktop %buildroot%_desktopdir/
install icons/16/*.png %buildroot%_miconsdir/
install icons/32/*.png %buildroot%_niconsdir/
install icons/48/*.png %buildroot%_liconsdir/
install icons/*-*se*.png %buildroot%_pixmapsdir/%name/
install *.info* %buildroot%_infodir/

%files -n %name-solvers
%_gamesbindir/*solver

%files
%doc README *.txt www.chiark.greenend.org.uk/~sgtatham/puzzles/*
#icons/*-web.png
%exclude %_gamesbindir/*solver
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%dir %_pixmapsdir/%name
%_pixmapsdir/%name/*
%_infodir/*%{name}*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin