Репозиторий Sisyphus
Последнее обновление: 11 декабря 2019 | Пакетов: 17498 | Посещений: 16056769
en ru br
Репозитории ALT
S:0.5-alt6.qa2
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: alt6.qa2

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

License: GPL
Url: http://mures.sourceforge.net/
Group: Games/Arcade

Source0: http://prdownloads.sourceforge.net/mures/%name-%version.tar
Source1: %name.desktop
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm
Patch0: mures-0.5-alt-DSO.patch

# Automatically added by buildreq on Wed Mar 30 2011

BuildRequires: libSDL_image-devel libSDL_net-devel libSDL_ttf-devel
BuildRequires: desktop-file-utils

%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
%patch0 -p2

%build
%configure
%make_build

%install
%makeinstall

mv %buildroot/%_bindir/%name %buildroot/%_bindir/%name.real
cat << EOF > %buildroot/%_bindir/%name
#!/bin/sh
cd %_libdir/%name
%name.real "\$ at "
cd -
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 {} \;

install -m0644 %SOURCE1 -D %buildroot/%_desktopdir/%name.desktop

install -m 644 -D %SOURCE2 %buildroot/%_miconsdir/%name.xpm
install -m 644 -D %SOURCE3 %buildroot/%_niconsdir/%name.xpm
install -m 644 -D %SOURCE4 %buildroot/%_liconsdir/%name.xpm
desktop-file-install --dir %buildroot%_desktopdir \
--add-category=Game \
--add-category=ArcadeGame \
%buildroot%_desktopdir/mures.desktop

%files
%doc AUTHORS ChangeLog README TODO
%_bindir/*
%_libdir/%name/
%_desktopdir/*
%_miconsdir/%name.*
%_niconsdir/%name.*
%_liconsdir/%name.*

%changelog

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

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