Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37786627
en ru br
ALT Linux repos
3.0: 1.2-alt0.1alpha.1
+backports:1.4-alt0.M30.0.2alpha

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin