Репозитории ALT
S: | 2.6.0-alt1 |
5.1: | 0.13.1-alt1 |
4.1: | 0.12.0-alt0.M41.1 |
4.0: | 0.12.0-alt0.M40.1 |
3.0: | 0.7.1-alt1 |
Группа :: Игры/Приключения
Пакет: scummvm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
%def_disable debug
#define cvsdate 20040223
Name: scummvm
Version: 0.13.1
Release: alt1
Summary: Graphic adventure game interpreter
Group: Games/Adventure
License: GPL
Url: http://www.scummvm.org
Packager: Sir Raorn <raorn at altlinux.ru>
Source: http://dl.sourceforge.net/scummvm/%name-%version.tar
Patch: %name-%version-%release.patch
Provides: %_gamesdatadir/%name
# Automatically added by buildreq on Sun Jan 11 2009 (-bi)
BuildRequires: gcc-c++ libSDL-devel libflac-devel libfluidsynth-devel libmad-devel libmpeg2-devel libvorbis-devel zlib-devel
%description
ScummVM is a collection of interpreters, capable of emulating several
adventure game engines. ScummVM mainly supports games created using
SCUMM (Script Creation Utility for Maniac Mansion), used in various
LucasArts games such as Monkey Island, Day of the Tentacle, and others.
ScummVM also contains interpreters for several non-SCUMM games. Currently
these are Beneath a Steel Sky, Broken Sword 1 & 2, Flight of the Amazon
Queen, Simon the Sorcerer 1 & 2, The Legend of Kyrandia and The Feeble
Files.
%prep
%setup
%patch -p1
%build
%remove_optflags %optflags_optimization
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
./configure \
--prefix=%_prefix \
--bindir=%_bindir \
--mandir=%_mandir \
%{?_disable_debug:--disable-debug --enable-release} \
--disable-nasm \
--disable-tremor
%make_build
%install
%make_install DESTDIR=%buildroot install
# Menu, themes and extra files
mkdir -p %buildroot{%_datadir/applications,%_gamesdatadir/%name,%_datadir/%name/themes,%_datadir/%name}
install -p -m644 dists/%name.desktop %buildroot%_datadir/applications
install -p -m644 dists/engine-data/* %buildroot%_datadir/%name/
rm -f %buildroot%_datadir/%name/README
%files
%doc AUTHORS README NEWS TODO COPYING
%_bindir/scummvm
%_man6dir/scummvm.6*
%_datadir/pixmaps/scummvm.xpm
%_datadir/applications/%name.desktop
%dir %_gamesdatadir/%name
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable debug
#define cvsdate 20040223
Name: scummvm
Version: 0.13.1
Release: alt1
Summary: Graphic adventure game interpreter
Group: Games/Adventure
License: GPL
Url: http://www.scummvm.org
Packager: Sir Raorn <raorn at altlinux.ru>
Source: http://dl.sourceforge.net/scummvm/%name-%version.tar
Patch: %name-%version-%release.patch
Provides: %_gamesdatadir/%name
# Automatically added by buildreq on Sun Jan 11 2009 (-bi)
BuildRequires: gcc-c++ libSDL-devel libflac-devel libfluidsynth-devel libmad-devel libmpeg2-devel libvorbis-devel zlib-devel
%description
ScummVM is a collection of interpreters, capable of emulating several
adventure game engines. ScummVM mainly supports games created using
SCUMM (Script Creation Utility for Maniac Mansion), used in various
LucasArts games such as Monkey Island, Day of the Tentacle, and others.
ScummVM also contains interpreters for several non-SCUMM games. Currently
these are Beneath a Steel Sky, Broken Sword 1 & 2, Flight of the Amazon
Queen, Simon the Sorcerer 1 & 2, The Legend of Kyrandia and The Feeble
Files.
%prep
%setup
%patch -p1
%build
%remove_optflags %optflags_optimization
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
./configure \
--prefix=%_prefix \
--bindir=%_bindir \
--mandir=%_mandir \
%{?_disable_debug:--disable-debug --enable-release} \
--disable-nasm \
--disable-tremor
%make_build
%install
%make_install DESTDIR=%buildroot install
# Menu, themes and extra files
mkdir -p %buildroot{%_datadir/applications,%_gamesdatadir/%name,%_datadir/%name/themes,%_datadir/%name}
install -p -m644 dists/%name.desktop %buildroot%_datadir/applications
install -p -m644 dists/engine-data/* %buildroot%_datadir/%name/
rm -f %buildroot%_datadir/%name/README
%files
%doc AUTHORS README NEWS TODO COPYING
%_bindir/scummvm
%_man6dir/scummvm.6*
%_datadir/pixmaps/scummvm.xpm
%_datadir/applications/%name.desktop
%dir %_gamesdatadir/%name
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь