Group :: Jogos/Arcade
RPM: frozen-bubble
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: frozen-bubble
Version: 1.0.0
Release: alt5
Summary: Frozen Bubble arcade game
License: GPL
Group: Games/Arcade
Url: http://www.frozen-bubble.org/
Source: http://guillaume.cottenceau.free.fr/fb/%name-%version.tar.bz2
# SDL_Perl-2.x has incompatible API changes
Patch0: %name-1.0.0-alt-SDL2.patch
# Automatically added by buildreq on Sat Feb 05 2005 (-bi)
BuildRequires: libSDL-devel libSDL_mixer-devel perl-SDL perl-devel
%description
Full-featured, colorful animated penguin eyecandy, 100 levels of 1p game,
hours and hours of 2p game, 3 professional quality 20-channels musics, 15
stereo sound effects, 7 unique graphical transition effects.
%prep
%setup -q
%__rm -rfv gfx/.xvpics
%patch0 -p1
%build
cd c_stuff
%perl_vendor_build MAKEFILE=Makefile
%__subst -p s, at DATADIR at ,%_datadir,g blib/lib/fb_stuff.pm
%__rm -fv blib/lib/build_fbsyms
%install
%__mkdir_p %buildroot%_bindir
%__install -p -m755 %name %name-editor %buildroot%_bindir
%__mkdir_p %buildroot%_man6dir
%__install -p -m644 doc/%name.6 doc/%name-editor.6 %buildroot%_man6dir
%__mkdir_p %buildroot%_datadir/%name
%__cp -a data gfx snd %buildroot%_datadir/%name
%__rm -fv %buildroot%_datadir/%name/gfx/*/{Makefile,create.pl}
%__mkdir_p %buildroot%_menudir
cat <<EOF >%buildroot%_menudir/%name
?package(%name):command="%_bindir/%name" icon="%name.png" \
needs="X11" section="Amusement/Arcade" title="Frozen Bubble" \
longtitle="%summary"
EOF
%__install -pD -m644 icons/%name-icon-16x16.png %buildroot%_miconsdir/%name.png
%__install -pD -m644 icons/%name-icon-32x32.png %buildroot%_iconsdir/%name.png
%__install -pD -m644 icons/%name-icon-48x48.png %buildroot%_liconsdir/%name.png
cd c_stuff
%perl_vendor_install
%post
%update_menus
%postun
%clean_menus
%files
%doc README AUTHORS CHANGES
%_bindir/%name
%_bindir/%name-editor
%_man6dir/%name.6*
%_man6dir/%name-editor.6*
%dir %_datadir/%name
%_datadir/%name/data
%_datadir/%name/gfx
%_datadir/%name/snd
%_menudir/%name
%_iconsdir/*.png
%_miconsdir/*.png
%_liconsdir/*.png
%perl_vendor_archlib/*.pm
%perl_vendor_autolib/fb_c_stuff
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.0
Release: alt5
Summary: Frozen Bubble arcade game
License: GPL
Group: Games/Arcade
Url: http://www.frozen-bubble.org/
Source: http://guillaume.cottenceau.free.fr/fb/%name-%version.tar.bz2
# SDL_Perl-2.x has incompatible API changes
Patch0: %name-1.0.0-alt-SDL2.patch
# Automatically added by buildreq on Sat Feb 05 2005 (-bi)
BuildRequires: libSDL-devel libSDL_mixer-devel perl-SDL perl-devel
%description
Full-featured, colorful animated penguin eyecandy, 100 levels of 1p game,
hours and hours of 2p game, 3 professional quality 20-channels musics, 15
stereo sound effects, 7 unique graphical transition effects.
%prep
%setup -q
%__rm -rfv gfx/.xvpics
%patch0 -p1
%build
cd c_stuff
%perl_vendor_build MAKEFILE=Makefile
%__subst -p s, at DATADIR at ,%_datadir,g blib/lib/fb_stuff.pm
%__rm -fv blib/lib/build_fbsyms
%install
%__mkdir_p %buildroot%_bindir
%__install -p -m755 %name %name-editor %buildroot%_bindir
%__mkdir_p %buildroot%_man6dir
%__install -p -m644 doc/%name.6 doc/%name-editor.6 %buildroot%_man6dir
%__mkdir_p %buildroot%_datadir/%name
%__cp -a data gfx snd %buildroot%_datadir/%name
%__rm -fv %buildroot%_datadir/%name/gfx/*/{Makefile,create.pl}
%__mkdir_p %buildroot%_menudir
cat <<EOF >%buildroot%_menudir/%name
?package(%name):command="%_bindir/%name" icon="%name.png" \
needs="X11" section="Amusement/Arcade" title="Frozen Bubble" \
longtitle="%summary"
EOF
%__install -pD -m644 icons/%name-icon-16x16.png %buildroot%_miconsdir/%name.png
%__install -pD -m644 icons/%name-icon-32x32.png %buildroot%_iconsdir/%name.png
%__install -pD -m644 icons/%name-icon-48x48.png %buildroot%_liconsdir/%name.png
cd c_stuff
%perl_vendor_install
%post
%update_menus
%postun
%clean_menus
%files
%doc README AUTHORS CHANGES
%_bindir/%name
%_bindir/%name-editor
%_man6dir/%name.6*
%_man6dir/%name-editor.6*
%dir %_datadir/%name
%_datadir/%name/data
%_datadir/%name/gfx
%_datadir/%name/snd
%_menudir/%name
%_iconsdir/*.png
%_miconsdir/*.png
%_liconsdir/*.png
%perl_vendor_archlib/*.pm
%perl_vendor_autolib/fb_c_stuff
%changelog
…
Todas as alterações você pod ver aqui