Group :: Jogos/Enigmas
RPM: netwalk
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: netwalk
Version: 0.4.10
Release: alt1
Summary: NetWalk is a puzzle game where the object is to connect every terminal to the main server
URL: http://rooster.stanford.edu/~ben/netwalk/
License: GPL
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.ru>
# Automatically added by buildreq on Sat Jan 13 2007
#BuildRequires: esound libSDL-devel libSDL_ttf-devel linux-libc-headers packages-info-i18n-common
BuildRequires: esound 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
%post
%update_menus
%postun
%clean_menus
%files
%doc NEWS README copyright
%_usr/games/*
%_datadir/%name
%_menudir/%name
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.4.10
Release: alt1
Summary: NetWalk is a puzzle game where the object is to connect every terminal to the main server
URL: http://rooster.stanford.edu/~ben/netwalk/
License: GPL
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.ru>
# Automatically added by buildreq on Sat Jan 13 2007
#BuildRequires: esound libSDL-devel libSDL_ttf-devel linux-libc-headers packages-info-i18n-common
BuildRequires: esound 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
%post
%update_menus
%postun
%clean_menus
%files
%doc NEWS README copyright
%_usr/games/*
%_datadir/%name
%_menudir/%name
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%changelog
…
Todas as alterações você pod ver aqui