Репозитории ALT
S: | 0.5-alt6.1.qa4 |
5.1: | 0.5-alt6.1 |
4.1: | 0.5-alt5.M41.6 |
4.0: | 0.5-alt4 |
3.0: | 0.5-alt3 |
Группа :: Игры/Аркады
Пакет: glaxium
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%set_gcc_version 3.4
Name: glaxium
Version: 0.5
Release: alt4
Group: Games/Arcade
Summary: OpenGL-based space-ship "shoot-em-up"
License: GPL
Url: http://xhosxe.free.fr/glaxium/
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source: %{name}_%version.tar.gz
Source1: glaxuim.16.png
Source2: glaxuim.32.png
Source3: glaxuim.48.png
Patch1: glaxium_0.5_gl.patch
Patch2: glaxium_0.5_fix_stencil.patch
# Automatically added by buildreq on Tue Jun 10 2003
BuildRequires: xorg-x11-devel xorg-x11-libs aalib esound gcc3.4-c++ libGLU-devel libSDL-devel libSDL_mixer-devel libalsa2 libarts libaudiofile libglut-devel libogg libpng-devel libslang libsmpeg libvorbis zlib-devel
%description
Glaxium is an OpenGL-based space-ship "shoot-em-up" styled game.
It is designed to provide the same feel as the old 2D games of that
type, but with 3D for the special effects.
%prep
%setup -q -n %{name}_%version
%patch1 -p1
%patch2 -p1
%build
#export CC=gcc-2.96 CXX=g++-2.96
%configure
%make_build
%install
install -pD -m755 %name %buildroot/%_bindir/%name
mkdir -p %buildroot/%_datadir/games/%name/{textures,samples}
install -p -m644 textures/* %buildroot/%_datadir/games/%name/textures/
install -p -m644 samples/* %buildroot/%_datadir/games/%name/samples/
mkdir -p %buildroot/%_menudir
cat > %buildroot/%_menudir/%name <<EOF
?package(glaxium): \
title="Glaxium" \
section="Amusement/Arcade" \
command="soundwrapper /usr/bin/%name" \
needs="x11" \
icon="%name.png" \
longtitle="OpenGL-based space-ship shoot-em-up"
EOF
mkdir -p %buildroot/{%_miconsdir,%_liconsdir}
install -m 644 %SOURCE1 %buildroot/%_miconsdir/%name.png
install -m 644 %SOURCE2 %buildroot/%_iconsdir/%name.png
install -m 644 %SOURCE3 %buildroot/%_liconsdir/%name.png
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/*
%_menudir/*
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%_datadir/games/%name
%doc CHANGES* README*
%changelog
…
Полный changelog можно просмотреть здесь
Name: glaxium
Version: 0.5
Release: alt4
Group: Games/Arcade
Summary: OpenGL-based space-ship "shoot-em-up"
License: GPL
Url: http://xhosxe.free.fr/glaxium/
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source: %{name}_%version.tar.gz
Source1: glaxuim.16.png
Source2: glaxuim.32.png
Source3: glaxuim.48.png
Patch1: glaxium_0.5_gl.patch
Patch2: glaxium_0.5_fix_stencil.patch
# Automatically added by buildreq on Tue Jun 10 2003
BuildRequires: xorg-x11-devel xorg-x11-libs aalib esound gcc3.4-c++ libGLU-devel libSDL-devel libSDL_mixer-devel libalsa2 libarts libaudiofile libglut-devel libogg libpng-devel libslang libsmpeg libvorbis zlib-devel
%description
Glaxium is an OpenGL-based space-ship "shoot-em-up" styled game.
It is designed to provide the same feel as the old 2D games of that
type, but with 3D for the special effects.
%prep
%setup -q -n %{name}_%version
%patch1 -p1
%patch2 -p1
%build
#export CC=gcc-2.96 CXX=g++-2.96
%configure
%make_build
%install
install -pD -m755 %name %buildroot/%_bindir/%name
mkdir -p %buildroot/%_datadir/games/%name/{textures,samples}
install -p -m644 textures/* %buildroot/%_datadir/games/%name/textures/
install -p -m644 samples/* %buildroot/%_datadir/games/%name/samples/
mkdir -p %buildroot/%_menudir
cat > %buildroot/%_menudir/%name <<EOF
?package(glaxium): \
title="Glaxium" \
section="Amusement/Arcade" \
command="soundwrapper /usr/bin/%name" \
needs="x11" \
icon="%name.png" \
longtitle="OpenGL-based space-ship shoot-em-up"
EOF
mkdir -p %buildroot/{%_miconsdir,%_liconsdir}
install -m 644 %SOURCE1 %buildroot/%_miconsdir/%name.png
install -m 644 %SOURCE2 %buildroot/%_iconsdir/%name.png
install -m 644 %SOURCE3 %buildroot/%_liconsdir/%name.png
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/*
%_menudir/*
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%_datadir/games/%name
%doc CHANGES* README*
%changelog
…
Полный changelog можно просмотреть здесь