ALT Linux repositórios
Group :: Jogos/Arcade
RPM: amphetamine
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: amphetamine
Version: 0.8.10
Release: alt2
%define dataver 0.8.6
Summary: Amphetamine is a cool Jump'n Run game
License: GPL
Group: Games/Arcade
Source: %name-%version.tar.bz2
Source1: %name-data-%dataver.tar.bz2
Source2: %name-icons.tar.bz2
Patch: amphetamine-%version-eols_at_eofs.patch.bz2
Url: http://n.ethz.ch/student/loehrerl/amph/amph.html
Packager: Sergey Balbeko <balbeko at altlinux.org>
# Automatically added by buildreq on Fri Mar 28 2008
BuildRequires: gcc-c++ libSDL-devel libXpm-devel
#BuildRequires: XFree86-devel XFree86-libs aalib esound fontconfig freetype2 gcc-c++ libSDL-devel libalsa2 libarts libaudiofile libexpat libslang xpm-devel
Summary(ru_RU.KOI8-R): Amphetamine -- �������� ��������
Summary(uk_UA.KOI8-U): Amphetamine -- ������� ��������
%description
Amphetamine is a 2D jump'n'run shooter in the tradition of Super Mario Bros
and other classics. But it has unique features:
- Fast 256 colour graphics
- Seven weapons: fight with arrow and bow, a scie, fire hands, etc.
- Never seen graphics (in this genre) such as coronas (remember Unreal),
dynamic coloured lightning, fogging, semitransparence and much more...
- Raging fights against 11 bloodsucking monsters which themselves have
several killing powers.
- Cryptic labyrinths - definitely not boring shoot'em'up!
%description -l ru_RU.KOI8-R
Amphetamine -- ��������� �������� � ����� Super Mario Bros � �������� ��������.
���������� �����������:
- ������� 256-������� �������
- ���� ����� ������
- ���������� (��� ����� �����) ������� ����� ������ (������� Unreal?),
������������� ���������, �����, ���������������� � ������� �������...
- ������� � 11-� ������ �����������, ������� � ���� �������� ������� ���
����� ��� ����� ��������
- ���������� ��������� -- ����������� �� ����� ���������!
%description -l uk_UA.KOI8-U
Amphetamine -- �����ͦ��� �������� � ���̦ Super Mario Bros �� ����ϧ �������.
�Φ����Φ ���������Ԧ:
- ������ 256-��������� ���Ʀ��
- ��� ��Ħ� ���ϧ
- ������Φ (��� ����� �����) ������ �� ������ ����� (���'����� Unreal?),
����ͦ����� ��צ������, ������, ��Ц���������Ԧ � ������ ���� ������...
- ����� �� 11-�� ������ ����������˦�, ����Ҧ � ��ͦ ����Φ �������� ���
¦��� Φ� ����� ��������
- �������צ ��¦����� -- ��� ������� �� ���� ��Ҧ�����!
%prep
%setup -q -a 2
%patch -p1
%__subst 's,/usr/local,%_datadir,g' Makefile
%__subst 's,/usr/local,%_datadir,g' src/System.hpp
%build
%make_build
%install
%__mkdir_p %buildroot{%_gamesdatadir,%_menudir}
%__tar -C %buildroot%_gamesdatadir -jxf %SOURCE1
%__install -pD -c -s amph %buildroot%_gamesbindir/amph
%__install -pD amph.xpm %buildroot%_iconsdir/%name.xpm
%__install -pD amphetamine-icons/amph-16.png %buildroot%_liconsdir/%name.png
%__install -pD amphetamine-icons/amph-32.png %buildroot%_iconsdir/%name.png
%__install -pD amphetamine-icons/amph-48.png %buildroot%_miconsdir/%name.png
cat > %buildroot%_menudir/%name <<EOF
?package(%name):\
command="soundwrapper %_gamesbindir/amph" \
title="Amphetamine" \
longtitle="Arcade games" \
icon="%name" \
needs="x11"\
section="Amusement/Arcade"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc BUGS ChangeLog NEWS README
%_gamesdatadir/amph/
%_iconsdir/%name.*
%_miconsdir/%name.*
%_liconsdir/%name.*
%_gamesbindir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.8.10
Release: alt2
%define dataver 0.8.6
Summary: Amphetamine is a cool Jump'n Run game
License: GPL
Group: Games/Arcade
Source: %name-%version.tar.bz2
Source1: %name-data-%dataver.tar.bz2
Source2: %name-icons.tar.bz2
Patch: amphetamine-%version-eols_at_eofs.patch.bz2
Url: http://n.ethz.ch/student/loehrerl/amph/amph.html
Packager: Sergey Balbeko <balbeko at altlinux.org>
# Automatically added by buildreq on Fri Mar 28 2008
BuildRequires: gcc-c++ libSDL-devel libXpm-devel
#BuildRequires: XFree86-devel XFree86-libs aalib esound fontconfig freetype2 gcc-c++ libSDL-devel libalsa2 libarts libaudiofile libexpat libslang xpm-devel
Summary(ru_RU.KOI8-R): Amphetamine -- �������� ��������
Summary(uk_UA.KOI8-U): Amphetamine -- ������� ��������
%description
Amphetamine is a 2D jump'n'run shooter in the tradition of Super Mario Bros
and other classics. But it has unique features:
- Fast 256 colour graphics
- Seven weapons: fight with arrow and bow, a scie, fire hands, etc.
- Never seen graphics (in this genre) such as coronas (remember Unreal),
dynamic coloured lightning, fogging, semitransparence and much more...
- Raging fights against 11 bloodsucking monsters which themselves have
several killing powers.
- Cryptic labyrinths - definitely not boring shoot'em'up!
%description -l ru_RU.KOI8-R
Amphetamine -- ��������� �������� � ����� Super Mario Bros � �������� ��������.
���������� �����������:
- ������� 256-������� �������
- ���� ����� ������
- ���������� (��� ����� �����) ������� ����� ������ (������� Unreal?),
������������� ���������, �����, ���������������� � ������� �������...
- ������� � 11-� ������ �����������, ������� � ���� �������� ������� ���
����� ��� ����� ��������
- ���������� ��������� -- ����������� �� ����� ���������!
%description -l uk_UA.KOI8-U
Amphetamine -- �����ͦ��� �������� � ���̦ Super Mario Bros �� ����ϧ �������.
�Φ����Φ ���������Ԧ:
- ������ 256-��������� ���Ʀ��
- ��� ��Ħ� ���ϧ
- ������Φ (��� ����� �����) ������ �� ������ ����� (���'����� Unreal?),
����ͦ����� ��צ������, ������, ��Ц���������Ԧ � ������ ���� ������...
- ����� �� 11-�� ������ ����������˦�, ����Ҧ � ��ͦ ����Φ �������� ���
¦��� Φ� ����� ��������
- �������צ ��¦����� -- ��� ������� �� ���� ��Ҧ�����!
%prep
%setup -q -a 2
%patch -p1
%__subst 's,/usr/local,%_datadir,g' Makefile
%__subst 's,/usr/local,%_datadir,g' src/System.hpp
%build
%make_build
%install
%__mkdir_p %buildroot{%_gamesdatadir,%_menudir}
%__tar -C %buildroot%_gamesdatadir -jxf %SOURCE1
%__install -pD -c -s amph %buildroot%_gamesbindir/amph
%__install -pD amph.xpm %buildroot%_iconsdir/%name.xpm
%__install -pD amphetamine-icons/amph-16.png %buildroot%_liconsdir/%name.png
%__install -pD amphetamine-icons/amph-32.png %buildroot%_iconsdir/%name.png
%__install -pD amphetamine-icons/amph-48.png %buildroot%_miconsdir/%name.png
cat > %buildroot%_menudir/%name <<EOF
?package(%name):\
command="soundwrapper %_gamesbindir/amph" \
title="Amphetamine" \
longtitle="Arcade games" \
icon="%name" \
needs="x11"\
section="Amusement/Arcade"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc BUGS ChangeLog NEWS README
%_gamesdatadir/amph/
%_iconsdir/%name.*
%_miconsdir/%name.*
%_liconsdir/%name.*
%_gamesbindir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui