Sisyphus repository
Last update: 6 august 2020 | SRPMs: 17676 | Visits: 19011486
en ru br
ALT Linux repos
4.0: 0.3.146-alt0.M40.1

Group :: Games/Puzzles
RPM: numptyphysics

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: numptyphysics
Version: 0.3.160
Release: alt2
Summary: A crayon-drawing based physics puzzle game

Group: Games/Puzzles
License: GPLv3+
# see .gear/autobuild.update
Source0: %name-%version.tar
Source1: numptyphysics.desktop
Source10: %name-levels-%version.tar

Patch0: numptyphysics-0.4-gcc47.patch
Patch1: numptyphysics-gcc8-fix.patch

Requires: %name-levels

# Automatically added by buildreq on Thu Feb 11 2010

BuildRequires: gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libX11-devel zlib-devel

Harness gravity with your crayon and set about creating blocks, ramps,
levers, pulleys and whatever else you fancy to get the little red thing
to the little yellow thing.

%package levels
Summary: Level set for numptyphysics
License: GPLv3+
Group: Games/Puzzles
BuildArch: noarch

%description levels
Game levels for numptyphysics, including "NP-complete" level set.

%patch0 -p1
%patch1 -p2


%make DESTDIR=%buildroot install
install -D data/icon48/%name.png %buildroot%_liconsdir/%name.png
# they put png here and use unusual sizes
rm -rf %buildroot%_iconsdir/hicolor/scalable
mv %buildroot%_iconsdir/hicolor/26x26 %buildroot%_iconsdir/hicolor/24x24

# Additional levels

tar xf %SOURCE10 -C %buildroot%_datadir/numptyphysics
#rm "%buildroot%_datadir/numptyphysics/levels/siminz/L02_bridge Gaps tut.nph"
#rm %buildroot%_datadir/numptyphysics/levels/*/*npz

%dir %_datadir/numptyphysics
%dir %_datadir/numptyphysics/levels
%exclude %_datadir/numptyphysics/levels/*

%files levels


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin