Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570147
en ru br
Репозитории ALT
S:0.6.3-alt2
5.1: 0.3.3-alt0.M51.1
4.1: 0.3.1d-alt1
4.0: 0.3.0-alt1
www.altlinux.org/Changes

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

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

Name: supertux2
Version: 0.3.3
Release: alt0.M51.1

Summary: SuperTux is a classic 2D jump'n run sidescroller game in a Super Mario style

License: GPLv3
Group: Games/Arcade
URL: http://supertux.lethargik.org/

Packager: Anton Chernyshov <ach at altlinux.org>

Source0: supertux-%version.tar.bz2

Source1: supertux-16x16.png
Source2: supertux-32x32.png
Source3: supertux-48x48.png

Patch0: supertux-alt-desktop-file.patch

Conflicts: supertux

Requires: %name-data = %version

# Build deps from game INSTALL file

BuildPreReq: binutils
BuildPreReq: boost-devel
BuildPreReq: cmake
BuildPreReq: gcc-c++
BuildPreReq: physfs-devel
BuildPreReq: libglew-devel
BuildPreReq: libogg-devel
BuildPreReq: libopenal-devel
BuildPreReq: libvorbis-devel
BuildPreReq: libGL-devel
BuildPreReq: libGLU-devel
BuildPreReq: libSDL-devel
BuildPreReq: libSDL_image-devel

# Automatically added by buildreq on Sat Nov 27 2010 (-bi)

BuildRequires: libXau-devel libXdmcp-devel

%description
SuperTux is a jump'n run like game, with strong inspiration from the
Super Mario Bros games for Nintendo.

Run and jump through multiple worlds, fighting off enemies by jumping
on them or bumping them from below.  Grabbing power-ups and other stuff
on the way.

Note! This is a still development version.

%package data
Summary: Data files for supertux2
Group: Games/Arcade
Requires: %name = %version
Conflicts: %name < %version
BuildArch: noarch

%description data
SuperTux is a jump'n run like game, with strong inspiration from the
Super Mario Bros games for Nintendo.

Run and jump through multiple worlds, fighting off enemies by jumping
on them or bumping them from below.  Grabbing power-ups and other stuff
on the way.

This is package contains data files for supertux2.

%prep
%setup -q -n supertux-%version
%patch0

%build
cmake  \
       -D CMAKE_INSTALL_PREFIX=%_prefix \
%if %_lib == lib64
       -D LIB_SUFFIX=64 \
%endif
       -D CMAKE_CXX_FLAGS:STRING="%optflags" \
       -D INSTALL_SUBDIR_BIN=bin \
       -D CMAKE_BUILD_TYPE="Release" \
       -D CMAKE_SKIP_RPATH=YES .

%make_build

%install
%makeinstall_std
%find_lang %name

install -m644 %SOURCE1 -D %buildroot/%_miconsdir/supertux.png
install -m644 %SOURCE2 -D %buildroot/%_niconsdir/supertux.png
install -m644 %SOURCE3 -D %buildroot/%_liconsdir/supertux.png

# install game man file

install -D -m 644 man/man6/%name.6 %buildroot/%_man6dir/%name.6

%files -f %name.lang
%_bindir/supertux2
%_desktopdir/supertux2.desktop
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%_pixmapsdir/supertux.*
%doc README WHATSNEW.txt docs
%_man6dir/*

%files data
%_gamesdatadir/supertux2/*

%changelog

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

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