Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37555114
en ru br
ALT Linux repos
S:0.6-alt6

Group :: Graphical desktop/GNUstep
RPM: gnustep-gmastermind

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# spec by Konstantin Kogan (kostyalamer)

%set_verify_elf_method unresolved=strict

Name: gnustep-gmastermind
Version: 0.6
Release: alt6
Summary: GMastermind is a game for GNUstep
License: GPL
Group: Graphical desktop/GNUstep
URL: http://www.nongnu.org/gap/gmastermind/

Source: %name-%version.tar
Source1: %name.menu

BuildPreReq: gnustep-make-devel /proc
BuildPreReq: gnustep-base-devel gnustep-gui-devel
BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel
BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel

Requires: gnustep-back

%description
GMastermind is an implementation of the well-known Mastermind game.

Drag-and-drop colors from the palette or from the board itself. The
object is to determine the hidden combination of four colors. The game
may be played in two modes: with replacement, which means that colors
may repeat, and without replacement, which means that colors are unique.
The user selects a choice of four colors and "commits" them. The program
replies with an evaluation -- a black peg for a color that is placed
correctly, and a white peg for a color that is in the wrong position.
The user may make a total of eight queries.

%prep
%setup

%build
. %_datadir/GNUstep/Makefiles/GNUstep.sh

%make_build \
messages=yes \
debug=yes \
strip=no \
shared=yes

%install
. %_datadir/GNUstep/Makefiles/GNUstep.sh

%makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

install -p -D -m644 %SOURCE1 %buildroot%_menudir/%name

%files
%doc ChangeLog
%_bindir/*
%_libdir/GNUstep
%_menudir/*

%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