Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046648
en ru br
ALT Linux repos
S:0.3-alt5
5.0: 0.3-alt3.1
4.1: 0.3-alt2.qa1

Group :: Games/Arcade
RPM: Transcend

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: Transcend
Version: 0.3
Release: alt5

Summary: Transcend can best be described as retro-style, abstract, 2D shooter
License: GPL
Group: Games/Arcade

Url: http://transcend.sourceforge.net/
Packager: Fr. Br. George <george at altlinux.ru>
Source0: %{name}_%{version}_UnixSource.tar.gz
Source1: %name.png

# Automatically added by buildreq on Tue Apr 05 2011

# optimized out: libGL-devel libGLU-devel libX11-devel libXext-devel libstdc++-devel
BuildRequires: gcc-c++ libXi-devel libXmu-devel libfreeglut-devel

BuildRequires: desktop-file-utils

%description
Transcend can best be described as retro-style, abstract, 2D shooter.
The graphics are geometrical, and the pace is sometimes frenzied.

Two features set Transcend apart from other games. First, its dynamic
graphical engine, which can smoothly morph from one complex shape to
another, produces striking displays. Combining these dynamic shapes with
subtle randomizations makes each play through a Transcend level visually
different from the last. The second novel feature is Transcend's musical
power-up system. As you play through a level, you are simultaneously
assembling an abstract visual collage and arranging a unique piece of
music. Transcend merges video games with pure art - it can be viewed
either as a game or as a multimedia sculpture.

%prep
%setup -n %{name}_%{version}_UnixSource
cp -at Transcend/portaudio/ -- /usr/share/gnu-config/config.{guess,sub}
%ifarch %e2k
sed -i 's,-O9,-O%_optlevel,' Transcend/Makefile.common
%endif

%build
mkdir -p Transcend/portaudio/lib
echo 1 | ./runToBuild

%install
install -dm 755 %buildroot%_bindir
install -dm 755 %buildroot%_gamesbindir
install -m 755 %{name}App %buildroot%_gamesbindir/

install -dm 755 %buildroot%_datadir/%name
cp -r levels %buildroot%_datadir/%name

# startscript

cat > %name.sh <<EOF
#! /bin/bash
if [ ! -e \$HOME/.%name ]; then
mkdir -p \$HOME/.%name
cd \$HOME/.%name
ln -s %_datadir/%name/levels .
fi

cd \$HOME/.%name
%_gamesbindir/%{name}App
EOF
install -m 755 %name.sh \
%buildroot%_bindir/%name

# icon

install -dm 755 %buildroot%_datadir/pixmaps
install -m 644 %SOURCE1 \
%buildroot%_datadir/pixmaps/%name.png

install -dm 755 %buildroot/%_datadir/applications
cat > %name.desktop << EOF
[Desktop Entry]
Type=Application
Comment=Transcend is retro-style abstract 2D shooter
Terminal=false
Exec=%name
Icon=%name
Name=%name
Encoding=UTF-8
Categories=Game;ArcadeGame;
EOF
desktop-file-install --dir=%buildroot%_datadir/applications %name.desktop --vendor=""

%files
%doc %name/doc/*
%_gamesbindir/%{name}App
%_bindir/%name
%dir %_datadir/%name
%_datadir/%name/*
%_datadir/applications/*.desktop
%_datadir/pixmaps/*.png

# TODO: build with system portaudio


%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