Group :: Games/Arcade
RPM: CrownCutlass
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: CrownCutlass
Version: 1.2
Release: alt0.1alpha.1
Summary: Crown and Cutlass is a 3d pirate action/adventure game
License: Distributable
Url: http://crownandcutlass.sourceforge.net/
Group: Games/Arcade
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-Alpha%version.tar.bz2
Patch: %name-%version.patch
# Automatically added by buildreq on Fri Dec 17 2004
BuildRequires: esound gcc-c++ libSDL-devel libSDL_image-devel libogg-devel libopenal-devel libstdc++-devel libvorbis-devel xorg-x11-devel xorg-x11-libs
%description
Crown and Cutlass is a 3d pirate action/adventure game in the spirit
of the old Pirates! game.
It is being written in C++, using OpenGL and SDL with an
emphasis on cross-platform compatibility.
The project is still early on in development,
although it is just beginning to look like an actual game.
%prep
%setup -q -n %name
%patch
%build
%make
%install
%__mkdir -p %buildroot/%_gamesdatadir/%name
%__cp -rf data %buildroot/%_gamesdatadir/%name/
%__install %name %buildroot/%_gamesdatadir/%name/%name
%__install -m 0644 Config.xml %buildroot/%_gamesdatadir/%name/
%__mkdir -p %buildroot%_gamesbindir
cat >%buildroot%_gamesbindir/%name <<EOF
cd %_gamesdatadir/%name
./%name
EOF
# menu entry
mkdir -p $RPM_BUILD_ROOT%_libdir/menu
cat >$RPM_BUILD_ROOT%_menudir/%name <<EOF
?package(%name): \
command="%_gamesbindir/%name" \
needs="X11" \
icon="%name.png" \
section="Amusement/Arcade" \
title="%name"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc LICENSE INSTALL README
%attr (0755 root root) %_gamesbindir/*
%_gamesdatadir/%name
%_menudir/%name
%changelog
…
Full changelog you can see here
Version: 1.2
Release: alt0.1alpha.1
Summary: Crown and Cutlass is a 3d pirate action/adventure game
License: Distributable
Url: http://crownandcutlass.sourceforge.net/
Group: Games/Arcade
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-Alpha%version.tar.bz2
Patch: %name-%version.patch
# Automatically added by buildreq on Fri Dec 17 2004
BuildRequires: esound gcc-c++ libSDL-devel libSDL_image-devel libogg-devel libopenal-devel libstdc++-devel libvorbis-devel xorg-x11-devel xorg-x11-libs
%description
Crown and Cutlass is a 3d pirate action/adventure game in the spirit
of the old Pirates! game.
It is being written in C++, using OpenGL and SDL with an
emphasis on cross-platform compatibility.
The project is still early on in development,
although it is just beginning to look like an actual game.
%prep
%setup -q -n %name
%patch
%build
%make
%install
%__mkdir -p %buildroot/%_gamesdatadir/%name
%__cp -rf data %buildroot/%_gamesdatadir/%name/
%__install %name %buildroot/%_gamesdatadir/%name/%name
%__install -m 0644 Config.xml %buildroot/%_gamesdatadir/%name/
%__mkdir -p %buildroot%_gamesbindir
cat >%buildroot%_gamesbindir/%name <<EOF
cd %_gamesdatadir/%name
./%name
EOF
# menu entry
mkdir -p $RPM_BUILD_ROOT%_libdir/menu
cat >$RPM_BUILD_ROOT%_menudir/%name <<EOF
?package(%name): \
command="%_gamesbindir/%name" \
needs="X11" \
icon="%name.png" \
section="Amusement/Arcade" \
title="%name"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc LICENSE INSTALL README
%attr (0755 root root) %_gamesbindir/*
%_gamesdatadir/%name
%_menudir/%name
%changelog
…
Full changelog you can see here