Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37789815
en ru br
ALT Linux repos
5.0: 0.4.10-alt3
4.1: 0.4.10-alt2
4.0: 0.4.10-alt1
3.0: 0.4.7-alt3

Group :: Games/Puzzles
RPM: netwalk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: netwalk
Version: 0.4.10
Release: alt3

Summary: NetWalk is a puzzle game where the object is to connect every terminal to the main server
URL: http://code.google.com/p/netwalk/
License: GPLv2+
Group: Games/Puzzles

Source0: %name-%version.tgz
Source1: %name-16.png
Source2: %name-32.png
Source3: %name-48.png

Patch0: %name-0.4.7-home.patch

Packager: Igor Zubkov <icesik at altlinux.org>

# Automatically added by buildreq on Sun Nov 16 2008

BuildRequires: libSDL-devel libSDL_ttf-devel

%description
NetWalk is a puzzle game where the object is to connect every terminal to the main server

In this version, not only must every terminal be connected, but every piece of
cable must also be connected to the main server somehow.
Click on a square to rotate its contents. A left click performs an
anticlockwise rotation and a right click performs a clockwise rotation.
You can select presets, or make a custom game in the options window.
There is one shortcut key: F2 starts a new game.

%prep
%setup -q
#patch0 -p1

%build
%make_build CFLAGS="%optflags -fomit-frame-pointer `sdl-config --cflags`"

%install
mkdir -p %buildroot%_usr/games/
install -pm 755 %name %buildroot%_usr/games/%name
mkdir -p %buildroot%_datadir/%name
install -D -pm 644 Vera.ttf %buildroot%_datadir/%name/Vera.ttf
mkdir -p %buildroot%_docdir/%name-%version
mkdir -p %buildroot%_menudir
install -D -pm 644 %SOURCE1 %buildroot%_miconsdir/%name.png
install -D -pm 644 %SOURCE2 %buildroot%_iconsdir/%name.png
install -D -pm 644 %SOURCE3 %buildroot%_liconsdir/%name.png


cat > %buildroot%_menudir/%name <<EOF
?package(netwalk):\
command="netwalk"\
title="NetWalk"\
longtitle="NetWalk game"\
needs="x11"\
section="Amusement/Puzzles"
EOF

%files
%doc NEWS README copyright
%_usr/games/*
%_datadir/%name
%_menudir/%name
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png

%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