Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37039179
en ru br
Репозитории ALT
5.1: 0.5-alt5
4.1: 0.5-alt4.1
4.0: 0.5-alt4.1
3.0: 0.5-alt4.1
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: mures

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mures
Version: 0.5
Release: alt4.1

Summary: Clone of Sega's "Chu Chu Rocket", a multi-player puzzle game

License: GPL
Url: http://mures.sourceforge.net/
Group: Games/Arcade
# Author: Adam D'Angelo <dangelo at ntplx.net>

Source0: http://prdownloads.sourceforge.net/mures/%name-%version.tar.bz2
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm

# Automatically added by buildreq on Wed Aug 20 2003

BuildRequires: XFree86-libs esound freetype2 libSDL-devel libSDL_image-devel libSDL_net-devel libSDL_ttf-devel libalsa libarts libaudiofile libjpeg libslang libtiff

%description
Mures is a cross-platform clone of Sega's "Chu Chu Rocket" written using
C. To start the game, run "mures -hN -aiM" where N and M are the number of
human and computer players at the local computer. Press enter to start the
game, press P to pause, and Q to quit.
- Player 1: Use the mouse to target, and click and drag in the desired
direction to place an arrow.
- Player 2: Use the arrow keys to target, and the number keypad to place
arrows.
- Player 3: Use A,W,S,D to target and I,J,K,L to place arrows.

%prep
%setup -q

%build
%configure
%make_build

%install
%makeinstall

mv %buildroot/%_bindir/%name %buildroot/%_bindir/%name.real
cat << EOF > %buildroot/%_bindir/%name
#!/bin/sh
pushd %_libdir/%name
%name.real "\$ at "
popd
EOF
chmod +x %buildroot/%_bindir/%name

mkdir -p %buildroot/%_libdir/%name
cp -a src/images src/maps src/sounds src/gui src/textures %buildroot/%_libdir/%name
cp src/*.lua %buildroot/%_libdir/%name
find %buildroot/%_libdir/%name -type f -name Makefile\* -exec rm -f {} \;

mkdir -p %buildroot/%_menudir
cat <<EOF >%buildroot/%_menudir/%name
?package(%name):command="%_bindir/%name" \
 icon=%name.xpm \
 needs="x11" \
 section="Amusement/Puzzles" \
 title="Mures"\
 longtitle=""
EOF
mkdir -p %buildroot/%_iconsdir %buildroot/%_miconsdir %buildroot/%_liconsdir
install -m 644 %SOURCE2 %buildroot/%_miconsdir/%name.xpm
install -m 644 %SOURCE3 %buildroot/%_iconsdir/%name.xpm
install -m 644 %SOURCE4 %buildroot/%_liconsdir/%name.xpm

%post
%update_menus

%postun
%clean_menus

%files
%doc AUTHORS ChangeLog INSTALL README TODO
%_bindir/*
%_libdir/%name
%_menudir/*
%_miconsdir/%name.*
%_iconsdir/%name.*
%_liconsdir/%name.*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin