Name: elice Version: 0.258 Release: 1%{?dist} Summary: Elice is a PureBasic to C++ translator / compiler Group: Development/Languages License: GPLv2+ URL: http://clueonic.org/elice/archive/ Source0: http://clueonic.org/elice/archive/elice-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ruby ruby-racc Requires: ruby(abi) = 1.8 Requires: SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_gfx-devel %description Elice is a PureBasic (http://www.purebasic.com/) to C++ translator / compiler. Elice was written to have a Free compiler for Lost Labyrinth (http://www.lostlabyrinth.com/) an adventure game written in PureBasic, as such it currently only supports a subset of PureBasic and it provides 2 tools for packing Lost Labyrinth resources: lostlabyrinth_pack_sound and lostlabyrinth_pack_graphics. %prep %setup -q # remove included prebuild elice binary rm elice %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %{name} buildlaby/pack_sounds \ buildlaby/pack_graphics %check make check %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} install -m 755 buildlaby/pack_sounds \ $RPM_BUILD_ROOT%{_bindir}/lostlabyrinth_pack_sounds install -m 755 buildlaby/pack_graphics \ $RPM_BUILD_ROOT%{_bindir}/lostlabyrinth_pack_graphics %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING GPL-2 PACKFORMAT %{_bindir}/%{name} %{_bindir}/lostlabyrinth_pack_* %changelog * Fri Jun 13 2008 Hans de Goede 0.258-1 - Switch from svn snapshot to upstream provided tarbals * Sat May 31 2008 Hans de Goede 0.0-0.2.svn257 - Review fixes (bz 448310): - use svn export to create tarbal - c++ -> C++ - stop packaging no longer needed lostlaby patches - run make check in %%check * Sat May 24 2008 Hans de Goede 0.0-0.1.svn257 - Initial Fedora Package