Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37858959
en ru br
Репозитории ALT

Группа :: Игры/Прочее
Пакет: nbsdgames

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

Name: nbsdgames
Version: 5
Release: alt3

Summary: Popular set of 18 modern console games
Summary(ru_RU.UTF-8): п÷п╬п©я┐п╩я▐я─п╫я▀п╧ п╫п╟п╠п╬я─ п╦п╥ 18 я│п╬п╡я─п╣п╪п╣п╫п╫я▀я┘ п╨п╬п╫я│п╬п╩я▄п╫я▀я┘ п╦пЁя─

License: CC0-1.0
Group: Games/Other
Url: https://github.com/abakh/nbsdgames

# Source-url: https://github.com/abakh/nbsdgames/archive/refs/tags/v%version.tar.gz

Source: %name-%version.tar

Patch: %name-5-alt-makefile.patch
Patch1: %name-5-alt-menu_games.patch

BuildRequires: libncurses-devel
BuildRequires: /usr/bin/convert

%description
A collection of 18 console games for sysadmins who are bored at work.
The collection includes: Jewels (Game with Tetris-like gameplay), Sudoku,
Mines (Sapper), Reversi, Checkers, Battleship, SOS, Rabbit Hole (A maze
exploration game in which you have to collect items from all over the maze
instead of reaching the end.), Pipes (like the famous Pipe Mania), Fifteen,
Memoblocks (A similar game was included in Windows 7), Fisher, Mancher,
Miketron, Redsquare (Conway's Game of Life is now playable!), Darrt (with
original gameplay!), Serpent duel, Tugow (number pad training game).

%description -l ru_RU.UTF-8
п║п╠п╬я─п╫п╦п╨ п╦п╥ 18 п╨п╬п╫я│п╬п╩я▄п╫я▀я┘ п╦пЁя─ п╢п╩я▐ я│п╦я│п╟п╢п╪п╦п╫п╬п╡, п╨п╬я┌п╬я─я▀п╪ я│п╨я┐я┤п╫п╬ п╫п╟ я─п╟п╠п╬я┌п╣.
п п╬п╩п╩п╣п╨я├п╦я▐ п╡п╨п╩я▌я┤п╟п╣я┌ п╡ я│п╣п╠я▐: Jewels (п≤пЁя─п╟ я│ пЁп╣п╧п╪п©п╩п╣п╣п╪, п©п╬я┘п╬п╤п╦п╪ п╫п╟ я┌п╣я┌я─п╦я│),
Sudoku, Mines (п║п╟п©п╣я─), Reversi, Checkers, Battleship, SOS, Rabbit Hole
(п≤пЁя─п╟ п©я─п╬ п╦я│я│п╩п╣п╢п╬п╡п╟п╫п╦п╣ п╩п╟п╠п╦я─п╦п╫я┌п╟, п╡ п╨п╬я┌п╬я─п╬п╧ п╡п╟п╪ п╫я┐п╤п╫п╬ я│п╬п╠п╦я─п╟я┌я▄ п©я─п╣п╢п╪п╣я┌я▀ я│п╬
п╡я│п╣пЁп╬ п╩п╟п╠п╦я─п╦п╫я┌п╟, п╟ п╫п╣ п╢п╬я┘п╬п╢п╦я┌я▄ п╢п╬ п╨п╬п╫я├п╟.), Pipes (п╨п╟п╨ п╦ п╥п╫п╟п╪п╣п╫п╦я┌п╟я▐ Pipe Mania),
Fifteen, Memoblocks (п÷п╬я┘п╬п╤п╟я▐ п╦пЁя─п╟ п╠я▀п╩п╟ п╡п╨п╩я▌я┤п╣п╫п╟ п╡ Windows 7), Fisher, Mancher,
Miketron, Redsquare (п≤пЁя─п╟ п╤п╦п╥п╫п╦ п п╬п╫п╡п╣я▐ я│я┌п╟п╩п╟ п╦пЁя─п╟п╠п╣п╩я▄п╫п╬п╧!), Darrt (
я│ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫я▀п╪ пЁп╣п╧п╪п©п╩п╣п╣п╪!), Serpent duel, Tugow (я┌я─п╣п╫п╦я─п╬п╡п╬я┤п╫п╟я▐ п╦пЁя─п╟ я│ я├п╦я└я─п╬п╡п╬п╧
п╨п╩п╟п╡п╦п╟я┌я┐я─п╬п╧).

%prep
%setup
%autopatch -p2

# Key "Encoding" is outdated, remove it

sed -i "/Encoding=UTF-8/d" nbsdgames.desktop

# Changed the names of the man files as some of them conflict with files in the xscreensaver-modules-gl package

pushd man
rename '' nb *.6
popd

%build
%make_build

%install
mkdir -p %buildroot{%_gamesbindir,%_man6dir}
%makeinstall_std \
   manpages \
   GAMES_DIR=%buildroot%_gamesbindir \
   MAN_DIR=%buildroot%_man6dir

install -D %name.desktop %buildroot%_desktopdir/%name.desktop

mkdir -p %buildroot{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 16x16 %name.svg %buildroot%_miconsdir/%name.png
convert -resize 32x32 %name.svg %buildroot%_niconsdir/%name.png
convert -resize 48x48 %name.svg %buildroot%_liconsdir/%name.png

%files
%doc README.md
%_gamesbindir/*
%_desktopdir/%name.desktop
%_man6dir/*.xz
%_iconsdir/hicolor/*/apps/%name.png

%changelog

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

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