Guys,

Nice job.  Worms is one of the games I miss.  I've been playing with the
0.7beta3 release and haven't had a whole lot of time to get into it, but
I wanted to drop you a line (And this is the first e-mail address I've
seen) so I wanted to drop you a line with a couple things:

First, a bug: When going into Options after starting the game, I click
the green check and the game dies with this message:

C++ exception caught:
vector::_M_range_check

Thought you'd like to know if you didn't already.

Second, some small bit of help: I have made some changes to the
RPM .spec file and I'm sending them back to you.  I added some required
packages, since the build kept breaking on all the SDL packages I didn't
have installed, and I added my stuff to the changelog at the bottom of
the file.  Do with it what you will.

-KW
%{!?_dist: %{expand: %%define dist rhfc3}}

Summary: wormux is a free worms clone
Name:    wormux
Version: 0.7beta3
Release: 1.fc4
Group:   Amusements/Games
License: GPL
URL:     http://www.example.net/wormux/
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.png
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: SDL >= 1.2.6, SDL_image, SDL_mixer, SDL_ttf, SDL_gfx >= 2.0.13
Requires: libxml++ >= 2.6
BuildRequires: SDL >= 1.2.6, SDL_image-devel, SDL_mixer-devel, SDL_ttf-devel, 
SDL_gfx-devel >= 2.0.13
BuildRequires: libxml++-devel >= 2.6

%description
Wormux is free software clone of this game concept. Though currently under 
heavy development, it is already very playable, with lots of weapons (Dynamite, 
Baseball Bat, Teleportation, etc.). There are also lots of maps available for 
your battling pleasure! Wormux takes the genre to the next level, with great 
customisation options leading to great gameplay. There is a wide selection of 
teams, from the Aliens to the Chickens. Also, new battlefields can be 
downloaded from the Internet, making strategy an important part of each battle.

%prep
%setup -q -n %{name}-%{version}

%build
%configure --enable-nls
%{__make}

%install
%makeinstall

#Install application link for X-Windows
echo -e "[Desktop Entry]
Name=%{name}
Comment=%{summary}
Exec=%{name}
Icon=%{name}.png
Terminal=false
Type=Application" > %{name}.desktop

install -d %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{name} --delete-original \
  --dir %{buildroot}%{_datadir}/applications \
  --add-category X-Red-Hat-Extra \
  --add-category Application \
  --add-category Game \
  --add-category ArcadeGame \
  %{name}.desktop

install -d %{buildroot}%{_datadir}/pixmaps
install %{SOURCE1} %{buildroot}%{_datadir}/pixmaps

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL README
%{_bindir}/%{name}
%{_datadir}/games/%{name}/*.xml
%{_datadir}/games/%{name}/*.xpm
%{_datadir}/games/%{name}/*/*.xml
%{_datadir}/games/%{name}/*/*.png
%{_datadir}/games/%{name}/*/*.ttf
%{_datadir}/games/%{name}/*/*/*.xml
%{_datadir}/games/%{name}/*/*/*.png
%{_datadir}/games/%{name}/*/*/*.jpg
%{_datadir}/games/%{name}/*/*/*.ogg
%{_datadir}/games/%{name}/*/*/*/*.ogg
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog
* Tue Feb  7 2006 Knight Walker <[EMAIL PROTECTED]> - 0.7beta3
- New version.
- Fixed dependencies.

* Thu Jan 19 2006 Emily
- Update to 0.7beta2, genericify for removal from NewRPMS

* Tue Nov 16 2004 Che
- Initial rpm release.

Répondre à