Group :: Games/Arcade
RPM: wormik
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: wormik
Version: 1.0
Release: alt1.1
Summary: Wormik is simple snake-type game
Copyright: GPL
Group: Games/Arcade
Url: http://atrey.karlin.mff.cuni.cz/~rat/wormik/
Source: wormik-1.0.tar.gz
Source2: %name.png
Requires: freefont-fonts-ttf
# Automatically added by buildreq on Mon Jul 12 2004 (-bi)
BuildRequires: XFree86-libs esound freetype2 gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libpng-devel libstdc++-devel zlib-devel
%description
Wormik is an implementation of the classic worm game.
The player must collect food, which makes the worm grow.
The only interesting anomaly is that it can eat itself.
%prep
%setup -qn %name
%__subst "s/courbd.ttf/FreeMonoBold.ttf/" gui_sdl.cxx
%build
%__make
%install
%__mkdir -p %buildroot%_gamesbindir %buildroot%_gamesdatadir/%name
%__install -m 755 %name %buildroot%_gamesbindir/
%__install -m 644 %{name}_*.png %buildroot%_gamesdatadir/%name/
#menu support
%__mkdir -p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name << EOF
?package(%name):command="%name" needs="x11" \
icon="%name.png" section="Amusement/Arcade" title="Wormik" \
longtitle="Wormik - simple snake-type game"
EOF
%__mkdir -p %buildroot%_iconsdir
%__install -m 644 %SOURCE2 %buildroot%_iconsdir/
%post
%update_menus
%postun
%clean_menus
%files
%_gamesbindir/%name
%_gamesdatadir/%name/*
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Full changelog you can see here
Version: 1.0
Release: alt1.1
Summary: Wormik is simple snake-type game
Copyright: GPL
Group: Games/Arcade
Url: http://atrey.karlin.mff.cuni.cz/~rat/wormik/
Source: wormik-1.0.tar.gz
Source2: %name.png
Requires: freefont-fonts-ttf
# Automatically added by buildreq on Mon Jul 12 2004 (-bi)
BuildRequires: XFree86-libs esound freetype2 gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel libpng-devel libstdc++-devel zlib-devel
%description
Wormik is an implementation of the classic worm game.
The player must collect food, which makes the worm grow.
The only interesting anomaly is that it can eat itself.
%prep
%setup -qn %name
%__subst "s/courbd.ttf/FreeMonoBold.ttf/" gui_sdl.cxx
%build
%__make
%install
%__mkdir -p %buildroot%_gamesbindir %buildroot%_gamesdatadir/%name
%__install -m 755 %name %buildroot%_gamesbindir/
%__install -m 644 %{name}_*.png %buildroot%_gamesdatadir/%name/
#menu support
%__mkdir -p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name << EOF
?package(%name):command="%name" needs="x11" \
icon="%name.png" section="Amusement/Arcade" title="Wormik" \
longtitle="Wormik - simple snake-type game"
EOF
%__mkdir -p %buildroot%_iconsdir
%__install -m 644 %SOURCE2 %buildroot%_iconsdir/
%post
%update_menus
%postun
%clean_menus
%files
%_gamesbindir/%name
%_gamesdatadir/%name/*
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Full changelog you can see here