Репозиторий Sisyphus
Последнее обновление: 19 сентября 2018 | Пакетов: 18652 | Посещений: 12229370
en ru br
Репозитории ALT
S:2.0.3-alt2
5.1: 1.1.5-alt2
3.0: 1.1.3-alt4
www.altlinux.org/Changes

Группа :: Игры/Спорт
Пакет: trophy

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

Name: trophy
Version: 1.1.3
Release: alt4

Summary: Trophy is a 2D car racing action game for Linux.
License: GPL
Group: Games/Sports
Url: http://%name.sourceforge.net/index.php3

Source: http://download.sourceforge.net/%name/%name-%version-src.tar.bz2
Source1: %name-designer-manual.tar.bz2
Source2: %name.16.xpm
Source3: %name.32.xpm
Source4: %name.48.xpm
Source5: %name.menu
Patch: trophy-1.1.3-src-alt-gcc34.patch

# Automatically added by buildreq on Tue Sep 30 2003

BuildRequires: XFree86-libs clanlib-devel gcc-c++ libhermes-devel libstdc++-devel

%description
Trophy is a single-player racing game for Linux. Even though the goal is
basically to finish the laps as the first, Trophy is an action game which
offers much more than just a race. Lots of extras enable "unusual" features for
races such as shooting, putting mines and many others.

%prep
%setup -q -n %name-%version-src -a1
%patch -p1

%build
cd %name
autoconf
make clean
%define _optlevel 3                                                            
%add_optflags %optflags_kernel %optflags_fastmath
%remove_optflags %optflags_notraceback

%configure --bindir=%_gamesbindir --datadir=%_gamesdatadir
%make_build

%install
%__install -pD -m755 %name/%name $RPM_BUILD_ROOT%_gamesbindir/%name
%__install -d -m755 $RPM_BUILD_ROOT%_gamesdatadir/%name
cp -a %name/resources* $RPM_BUILD_ROOT%_gamesdatadir/%name

%__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_miconsdir/%name.xpm
%__install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_iconsdir/%name.xpm
%__install -pD -m644 %SOURCE4 $RPM_BUILD_ROOT%_liconsdir/%name.xpm
%__install -pD -m644 %SOURCE5 $RPM_BUILD_ROOT%_menudir/%name

%post
%update_menus

%postun
%clean_menus

%files
%doc AUTHORS README designer_manual_en
%_gamesbindir/*
%_gamesdatadir/*
%_menudir/%name
%_iconsdir/%name.xpm
%_iconsdir/*/%name.xpm

%changelog

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

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