Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37825845
en ru br
ALT Linux repositórios
S:2.6.0-alt1
5.0: 0.12.0-alt2
4.1: 0.12.0-alt0.M41.1
4.0: 0.12.0-alt0.M40.1
3.0: 0.7.1-alt1

Group :: Jogos/Aventura
RPM: scummvm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-

%def_disable debug

#define cvsdate 20040223


Name: scummvm
Version: 0.12.0
Release: alt0.M40.1

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 Tue Jan 31 2006

BuildRequires: anyasm gcc-c++ libSDL-devel libalsa-devel libflac-devel libfluidsynth-devel libmad-devel libmpeg2-devel libogg-devel libstdc++-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-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

%post
%update_menus

%postun
%clean_menus

%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009