Репозитории ALT
S: | 20180227-alt1 |
5.1: | 8690-alt1 |
4.1: | 6907-alt1 |
4.0: | 6907-alt1 |
Группа :: Игры/Головоломки
Пакет: tatham-puzzles
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: tatham-puzzles
Version: 8690
Release: alt1
License: MIT
Group: Games/Puzzles
URL: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
Source: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/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
Packager: Fr. Br. George <george at altlinux.ru>
Summary: A collection of small one-player puzzle games
Summary(ru_RU.KOI8-R): Коллекция небольших логических головоломок
# Automatically added by buildreq on Sun Oct 11 2009
BuildRequires: ImageMagick-tools fonts-type1-urw libgtk+2-devel tightvnc-server xauth
%description
A collection of 23 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, Flip, Guess, Inertia, Light Up, Loopy, Map, Mines, Net, Netslide, Pattern, Pegs, Rectangles, Same Game, Sixteen, Slant, Solo, Tents, Twiddle, Untangle. Rules, descriptions and tips can be found in documentation.
%description -l ru_RU.KOI8-R
Коллекция из 23 небольших логических головоломок класса "открой в окошке, потыкай пять минут -- отдохни"; сложность можно настроить.
Названия головоломок: Black Box, Bridges, Cube, Dominosa, Fifteen, Flip, Guess, Inertia, Light Up, Loopy, Map, Mines, Net, Netslide, Pattern, Pegs, Rectangles, Same Game, Sixteen, Slant, Solo, Tents, Twiddle, Untangle. Описания, правила и подсказки -- в докуметации.
%package -n %name-solvers
Summary: Stand-alone solvers for some of the %name puzzles
Summary(ru_RU.KOI8-R): Набор "решалок" к некоторым головоломкам из %name
Group: Games/Puzzles
%description -n %name-solvers
Stand-alone solvers for some of the %name puzzles.
%description -l ru_RU.KOI8-R -n %name-solvers
Набор "решалок" к некоторым головоломкам из %name.
%prep
%setup -n puzzles-r%version
./mkfiles.pl
sed -f %SOURCE1 < Makefile > Makefile.linux
tar xf %SOURCE2
sed '/^IN=/s at .* at IN="%_defaultdocdir/%name-%version/index.html" at
/^GBD=/s at .* at GBD="%_gamesbindir" at ' < %SOURCE3 > %name
%build
%make_build -f Makefile.linux
{ echo qwerty; echo qwerty; } | vncpasswd
export DISPLAY=`vncserver 2>&1 | sed -n "/^New/s/.*\(:[0-9]*\).*/\1/p"`
( cd icons
make
%make_build web pngicons
)
vncserver -kill "$DISPLAY"
sh %SOURCE3 desktop
%install
mkdir -p %buildroot/%_gamesbindir %buildroot%_desktopdir %buildroot%_miconsdir %buildroot%_liconsdir %buildroot%_niconsdir %buildroot%_pixmapsdir/%name
%makeinstall -f Makefile.linux
install -s *solver %buildroot/%_gamesbindir/
install -m 755 %name %buildroot/%_gamesbindir/
install *.desktop %buildroot%_desktopdir/
install icons/*16d24.png %buildroot%_miconsdir/
install icons/*32d24.png %buildroot%_niconsdir/
install icons/*48d24.png %buildroot%_liconsdir/
install icons/*-*e*.png %buildroot%_pixmapsdir/%name/
%files -n %name-solvers
%_gamesbindir/*solver
%files
%doc README *.txt www.chiark.greenend.org.uk/~sgtatham/puzzles/*
%exclude %_gamesbindir/*solver
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%dir %_pixmapsdir/%name
%_pixmapsdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 8690
Release: alt1
License: MIT
Group: Games/Puzzles
URL: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
Source: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/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
Packager: Fr. Br. George <george at altlinux.ru>
Summary: A collection of small one-player puzzle games
Summary(ru_RU.KOI8-R): Коллекция небольших логических головоломок
# Automatically added by buildreq on Sun Oct 11 2009
BuildRequires: ImageMagick-tools fonts-type1-urw libgtk+2-devel tightvnc-server xauth
%description
A collection of 23 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, Flip, Guess, Inertia, Light Up, Loopy, Map, Mines, Net, Netslide, Pattern, Pegs, Rectangles, Same Game, Sixteen, Slant, Solo, Tents, Twiddle, Untangle. Rules, descriptions and tips can be found in documentation.
%description -l ru_RU.KOI8-R
Коллекция из 23 небольших логических головоломок класса "открой в окошке, потыкай пять минут -- отдохни"; сложность можно настроить.
Названия головоломок: Black Box, Bridges, Cube, Dominosa, Fifteen, Flip, Guess, Inertia, Light Up, Loopy, Map, Mines, Net, Netslide, Pattern, Pegs, Rectangles, Same Game, Sixteen, Slant, Solo, Tents, Twiddle, Untangle. Описания, правила и подсказки -- в докуметации.
%package -n %name-solvers
Summary: Stand-alone solvers for some of the %name puzzles
Summary(ru_RU.KOI8-R): Набор "решалок" к некоторым головоломкам из %name
Group: Games/Puzzles
%description -n %name-solvers
Stand-alone solvers for some of the %name puzzles.
%description -l ru_RU.KOI8-R -n %name-solvers
Набор "решалок" к некоторым головоломкам из %name.
%prep
%setup -n puzzles-r%version
./mkfiles.pl
sed -f %SOURCE1 < Makefile > Makefile.linux
tar xf %SOURCE2
sed '/^IN=/s at .* at IN="%_defaultdocdir/%name-%version/index.html" at
/^GBD=/s at .* at GBD="%_gamesbindir" at ' < %SOURCE3 > %name
%build
%make_build -f Makefile.linux
{ echo qwerty; echo qwerty; } | vncpasswd
export DISPLAY=`vncserver 2>&1 | sed -n "/^New/s/.*\(:[0-9]*\).*/\1/p"`
( cd icons
make
%make_build web pngicons
)
vncserver -kill "$DISPLAY"
sh %SOURCE3 desktop
%install
mkdir -p %buildroot/%_gamesbindir %buildroot%_desktopdir %buildroot%_miconsdir %buildroot%_liconsdir %buildroot%_niconsdir %buildroot%_pixmapsdir/%name
%makeinstall -f Makefile.linux
install -s *solver %buildroot/%_gamesbindir/
install -m 755 %name %buildroot/%_gamesbindir/
install *.desktop %buildroot%_desktopdir/
install icons/*16d24.png %buildroot%_miconsdir/
install icons/*32d24.png %buildroot%_niconsdir/
install icons/*48d24.png %buildroot%_liconsdir/
install icons/*-*e*.png %buildroot%_pixmapsdir/%name/
%files -n %name-solvers
%_gamesbindir/*solver
%files
%doc README *.txt www.chiark.greenend.org.uk/~sgtatham/puzzles/*
%exclude %_gamesbindir/*solver
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/*
%_niconsdir/*
%_liconsdir/*
%dir %_pixmapsdir/%name
%_pixmapsdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь