Group :: Games/Puzzles
RPM: phlipple
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: phlipple
Version: 0.8.5
Release: alt4
Summary: Reduce a 3D shape to a single square
Group: Games/Puzzles
License: GPLv3
Source: %name-%version.tar.gz
Url: http://sourceforge.net/projects/phlipple/
# Automatically added by buildreq on Mon Nov 07 2011
# optimized out: fontconfig libGL-devel libGLU-devel libSDL-devel libogg-devel pkg-config
BuildRequires: ImageMagick-tools libSDL_image-devel libSDL_mixer-devel libglew-devel libvorbis-devel
%description
Phlipple is a unique puzzle game. The goal of every level is to reduce
a 3D shape to a single square. Elimination of squares is done by
flipping edges around just like in a cardboard box.
It starts off relatively easy to teach the basics just to later on serve
hours of brain tickling fun. It's a great way to train memory as well as
orientation in 3D.
%prep
%setup
for N in 16 24 32 48 128; do convert extra/%name.png $N.png; done
# hack in -lm
sed -i '/LIBS = at LIBS at /s/$/ -lm/' src/Makefile.in
%build
%add_optflags -fcommon
%configure
%make_build
%install
make install DESTDIR=%buildroot
for N in 16 24 32 48 128; do
install -D $N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/%name.png
done
%files
%doc %_defaultdocdir/%name/*
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_pixmapsdir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Full changelog you can see here
Version: 0.8.5
Release: alt4
Summary: Reduce a 3D shape to a single square
Group: Games/Puzzles
License: GPLv3
Source: %name-%version.tar.gz
Url: http://sourceforge.net/projects/phlipple/
# Automatically added by buildreq on Mon Nov 07 2011
# optimized out: fontconfig libGL-devel libGLU-devel libSDL-devel libogg-devel pkg-config
BuildRequires: ImageMagick-tools libSDL_image-devel libSDL_mixer-devel libglew-devel libvorbis-devel
%description
Phlipple is a unique puzzle game. The goal of every level is to reduce
a 3D shape to a single square. Elimination of squares is done by
flipping edges around just like in a cardboard box.
It starts off relatively easy to teach the basics just to later on serve
hours of brain tickling fun. It's a great way to train memory as well as
orientation in 3D.
%prep
%setup
for N in 16 24 32 48 128; do convert extra/%name.png $N.png; done
# hack in -lm
sed -i '/LIBS = at LIBS at /s/$/ -lm/' src/Makefile.in
%build
%add_optflags -fcommon
%configure
%make_build
%install
make install DESTDIR=%buildroot
for N in 16 24 32 48 128; do
install -D $N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/%name.png
done
%files
%doc %_defaultdocdir/%name/*
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_pixmapsdir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Full changelog you can see here