Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559003
en ru br
ALT Linux repos
S:1.4.8-alt1.qa1

Group :: Games/Puzzles
RPM: black-box

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: black-box
License: GPL v2 or later
Group: Games/Puzzles
Summary: Guess where the crystals are hidden, by watching your shots
Version: 1.4.8
Release: alt1.qa1
Url: http://www.linux-games.com/black-box/
Source: %name-%version.tar.bz2
Source1: %name.desktop
Patch: black-box-1.4.7.patch
Patch1: black-box-1.4.7-uninitialized.patch
Patch2: black-box-1.4.8-range.patch
# /*G*/ We probably do not need this
Patch3: black-box-1.4.8-strictrange.patch
Packager: Fr. Br. George <george at altlinux.ru>

# Automatically added by buildreq on Sun Jan 04 2009

BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel ImageMagick

%description
There's a black box. You can shoot in and watch, where the shot leaves the box. In the box, crystals are reflecting the shots. You have to guess where the crystals are hidden, by watching your shots.

Authors:
--------
   Karl Bartel <karlb at gmx.net>

%prep
%setup
%patch
#patch1
%patch2
#patch3

%build
#aclocal
#automake -a
#autoconf
%autoreconf
#CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=/usr
%configure
%make
convert -bordercolor transparent -border 7 data/gfx/box.gif 64.png

%install
#make DESTDIR=$RPM_BUILD_ROOT install
%makeinstall
install -D 64.png %buildroot/%_iconsdir/hicolor/64x64/apps/%name.png
install -D %SOURCE1 %buildroot/%_desktopdir/%name.dsektop

%files
%doc AUTHORS COPYING ChangeLog README NEWS
%_bindir/%name
%dir %_datadir/%name
%_datadir/%name/*
%_iconsdir/hicolor/64x64/apps/%name.png
%_desktopdir/%name.dsektop

%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