Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37686715
en ru br
ALT Linux repos
S:1.7.2-alt2

Group :: Games/Other
RPM: berusky

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:           berusky
Version:        1.7.2
Release:        alt2
Summary:        Berusky, 2D logic game
License:        GPLv2
Group:          Games/Other
Source:         http://www.anakreon.cz/download/berusky/tar.gz/%{name}-%{version}.tar.gz
URL:            http://www.anakreon.cz/
Requires:       berusky-data
Requires:       SDL

# Automatically added by buildreq on Mon Mar 02 2009 (-bi)

BuildRequires: gcc-c++ gcc-fortran libgtk+2-devel libSDL_image-devel libncursesw-devel

%description
Berusky is a 2D logic game based on an ancient puzzle named Sokoban.

An old idea of moving boxes in a maze has been expanded with new logic
items such as explosives, stones, special gates and so on.
In addition, up to five bugs can cooperate and be controlled by the player.

This package contains a binary for the game.

%prep
%setup

%build
%autoreconf
%add_optflags -std=gnu++14
%configure
%make

%install
%makeinstall_std

# Need for starting the game

install -D data/berusky.ini %buildroot/var/games/berusky/berusky.ini

pushd %buildroot/usr/doc
mkdir -p %buildroot%_defaultdocdir/%name
mv * %buildroot%_defaultdocdir/%name
popd

%files
%doc %_defaultdocdir/%name
%_bindir/%name
%_datadir/%name
%dir /var/games/%name
/var/games/%name/berusky.ini

%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