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: alt6
%define dataver 0.8.6
Summary: Amphetamine is a cool Jump'n Run game
License: GPL
Group: Games/Arcade
Source0: %name-%version.tar.bz2
Source1: %name-data-%dataver.tar.bz2
Source2: %name-icons.tar.bz2
Source3: amphetamine.desktop
Patch: amphetamine-%version-eols_at_eofs.patch.bz2
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sun Oct 05 2008
BuildRequires: gcc-c++ libSDL-devel libXpm-devel libXt-devel
Summary(ru_RU.UTF-8): 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.UTF-8
Amphetamine -- двумерная бродилка в стиле Super Mario Bros и подобной классики.
Уникальные особенности:
- Быстрая 256-цветная графика
- Семь видов оружия
- Невиданные (для этого жанра) эффекты вроде сияния (помните Unreal?),
динамического освещения, дымки, полупрозрачности и многого другого...
- Схватки с 11-ю видами противников, которые и сами способны уложить вас
более чем одним способом
- Загадочные лабиринты -- определенно не тупая стрелялка!
%prep
%setup -a2
%patch -p1
sed -i -e 's,/usr/local,%_datadir,g' -e 's,-O9,-O3,' Makefile
sed -i -e '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%_niconsdir/%name.xpm
install -pD amphetamine-icons/amph-16.png %buildroot%_liconsdir/%name.png
install -pD amphetamine-icons/amph-32.png %buildroot%_niconsdir/%name.png
install -pD amphetamine-icons/amph-48.png %buildroot%_miconsdir/%name.png
install -pD %SOURCE3 %buildroot%_desktopdir/%name.desktop
%files
%doc BUGS ChangeLog NEWS README
%_gamesdatadir/amph/
%_niconsdir/%name.*
%_miconsdir/%name.*
%_liconsdir/%name.*
%_gamesbindir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.8.10
Release: alt6
%define dataver 0.8.6
Summary: Amphetamine is a cool Jump'n Run game
License: GPL
Group: Games/Arcade
Source0: %name-%version.tar.bz2
Source1: %name-data-%dataver.tar.bz2
Source2: %name-icons.tar.bz2
Source3: amphetamine.desktop
Patch: amphetamine-%version-eols_at_eofs.patch.bz2
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Sun Oct 05 2008
BuildRequires: gcc-c++ libSDL-devel libXpm-devel libXt-devel
Summary(ru_RU.UTF-8): 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.UTF-8
Amphetamine -- двумерная бродилка в стиле Super Mario Bros и подобной классики.
Уникальные особенности:
- Быстрая 256-цветная графика
- Семь видов оружия
- Невиданные (для этого жанра) эффекты вроде сияния (помните Unreal?),
динамического освещения, дымки, полупрозрачности и многого другого...
- Схватки с 11-ю видами противников, которые и сами способны уложить вас
более чем одним способом
- Загадочные лабиринты -- определенно не тупая стрелялка!
%prep
%setup -a2
%patch -p1
sed -i -e 's,/usr/local,%_datadir,g' -e 's,-O9,-O3,' Makefile
sed -i -e '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%_niconsdir/%name.xpm
install -pD amphetamine-icons/amph-16.png %buildroot%_liconsdir/%name.png
install -pD amphetamine-icons/amph-32.png %buildroot%_niconsdir/%name.png
install -pD amphetamine-icons/amph-48.png %buildroot%_miconsdir/%name.png
install -pD %SOURCE3 %buildroot%_desktopdir/%name.desktop
%files
%doc BUGS ChangeLog NEWS README
%_gamesdatadir/amph/
%_niconsdir/%name.*
%_miconsdir/%name.*
%_liconsdir/%name.*
%_gamesbindir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui