Репозитории ALT
5.1: | 0.5-alt5 |
4.1: | 0.5-alt4.1 |
4.0: | 0.5-alt4.1 |
3.0: | 0.5-alt4.1 |
Группа :: Игры/Аркады
Пакет: mures
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: mures
Version: 0.5
Release: alt5
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
Source1: %name.desktop
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm
# Automatically added by buildreq on Sat May 31 2008
BuildRequires: libSDL-devel libSDL_image-devel libSDL_net-devel libSDL_ttf-devel libmesa-devel
%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 {} \;
install -m0644 %SOURCE1 -D %buildroot/%_desktopdir/%name.desktop
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/
%_desktopdir/*
%_miconsdir/%name.*
%_iconsdir/%name.*
%_liconsdir/%name.*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.5
Release: alt5
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
Source1: %name.desktop
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm
# Automatically added by buildreq on Sat May 31 2008
BuildRequires: libSDL-devel libSDL_image-devel libSDL_net-devel libSDL_ttf-devel libmesa-devel
%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 {} \;
install -m0644 %SOURCE1 -D %buildroot/%_desktopdir/%name.desktop
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/
%_desktopdir/*
%_miconsdir/%name.*
%_iconsdir/%name.*
%_liconsdir/%name.*
%changelog
…
Полный changelog можно просмотреть здесь