Группа :: Игры/Спорт
Пакет: trophy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: trophy
Version: 2.0.4
Release: alt1
Summary: Trophy is a 2D car racing action game
License: GPLv2
Group: Games/Sports
Url: http://trophy.sourceforge.net/
# http://downloads.sourceforge.net/trophy/trophy-%version.tar.gz
Source: %name-%version.tar
Source2: trophy.16.png
Source3: trophy.32.png
Source4: trophy.48.png
Source5: trophy.desktop
# Automatically added by buildreq on Fri Nov 26 2010
BuildRequires: clanlib0.8-devel gcc-c++ libGLU-devel
Requires: trophy-gamedata = %version
%description
Trophy is a single-player racing game. 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.
%package gamedata
Summary: Game data for Trophy
Group: Games/Sports
# We split game data to separate package to make it noarch and thus save
# bandwidth and space on distribution media.
BuildArch: noarch
%description gamedata
Game data for Trophy car racing game.
%prep
%setup
%build
%configure --bindir=%_gamesbindir --datadir=%_gamesdatadir
%make_build
%install
%makeinstall_std
install -pD -m644 %SOURCE2 %buildroot%_miconsdir/trophy.png
install -pD -m644 %SOURCE3 %buildroot%_niconsdir/trophy.png
install -pD -m644 %SOURCE4 %buildroot%_liconsdir/trophy.png
install -pD -m644 %SOURCE5 %buildroot%_desktopdir/trophy.desktop
%files
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%files gamedata
%_gamesdatadir/*
%_man6dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: trophy
Version: 2.0.4
Release: alt1
Summary: Trophy is a 2D car racing action game
License: GPLv2
Group: Games/Sports
Url: http://trophy.sourceforge.net/
# http://downloads.sourceforge.net/trophy/trophy-%version.tar.gz
Source: %name-%version.tar
Source2: trophy.16.png
Source3: trophy.32.png
Source4: trophy.48.png
Source5: trophy.desktop
# Automatically added by buildreq on Fri Nov 26 2010
BuildRequires: clanlib0.8-devel gcc-c++ libGLU-devel
Requires: trophy-gamedata = %version
%description
Trophy is a single-player racing game. 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.
%package gamedata
Summary: Game data for Trophy
Group: Games/Sports
# We split game data to separate package to make it noarch and thus save
# bandwidth and space on distribution media.
BuildArch: noarch
%description gamedata
Game data for Trophy car racing game.
%prep
%setup
%build
%configure --bindir=%_gamesbindir --datadir=%_gamesdatadir
%make_build
%install
%makeinstall_std
install -pD -m644 %SOURCE2 %buildroot%_miconsdir/trophy.png
install -pD -m644 %SOURCE3 %buildroot%_niconsdir/trophy.png
install -pD -m644 %SOURCE4 %buildroot%_liconsdir/trophy.png
install -pD -m644 %SOURCE5 %buildroot%_desktopdir/trophy.desktop
%files
%_gamesbindir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%files gamedata
%_gamesdatadir/*
%_man6dir/*
%changelog
…
Полный changelog можно просмотреть здесь