#SPEC by Julien Catalano Summary: Fork of Wormux, free (Libre) clone of Worms from Team17 Name: warmux Version: 11.04.1 Release: %mkrel 5 License: GPLv2+ Group: Games/Shooter Url: http://www.warmux.org/ Source0: http://download.gna.org/warmux/%{name}-%{version}.tar.bz2 Patch0: warmux-11.04.1-zlib-include.patch Patch1: warmux-gcc47.patch BuildRequires: fribidi-devel Buildrequires: libxml++-devel Buildrequires: SDL_gfx-devel Buildrequires: SDL_image-devel Buildrequires: SDL_ttf-devel Buildrequires: SDL_mixer-devel Buildrequires: SDL_net-devel BuildRequires: imagemagick BuildRequires: libpng-devel BuildRequires: libcurl-devel Obsoletes: wormux Requires: %{name}-data = %{version} %description Almost everyone has heard of the Worms(R) series of games, developed by Team17. Worms was created in 1990, the goal of the game consisting of a several teams of "worms" fighting to the death on a 2D map. Warmux is heavily influenced by all games in this genre, including Scorched Earth and Liero. Warmux 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! Warmux 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. Though two human players are currently needed to play (unless you have a split personality :) the creation of artificial players and network play are future goals. So, start downloading today, and fight to become king of the garden! %package data Summary: Games data for the %{name} game Group: Games/Shooter Conflicts: warmux < 11.04.1-1 BuildArch: noarch %description data This package contains data files for %{name} game. %prep %setup -q -n %{name}-11.04 %patch0 -p0 %patch1 -p1 %build #(tpg) get rid of -Werror # sed -i -e 's/-Werror//' src/Makefile.am %configure2_5x \ --bindir=%{_gamesbindir} \ --with-datadir-name=%{_gamesdatadir}/%{name} \ --disable-rpath \ --enable-fribidi %make %clean rm -rf %{buildroot} %install rm -rf %{buildroot} # allow this script to be executed chmod +x install-sh # drop icon extension perl -pi -e 's/.png//g' data/warmux.desktop %makeinstall_std localedir=%{_datadir}/locale %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog README %{_gamesbindir}/%{name} %{_gamesbindir}/%{name}-list-games %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}_files.desktop %{_datadir}/pixmaps/%{name}_128x128.png %{_mandir}/man6/%{name}.* %files data %defattr(-,root,root,-) %{_gamesdatadir}/%{name} %changelog * Mon Jan 14 2013 umeabot <umeabot> 11.04.1-5.mga3 + Revision: 385598 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 09 2013 malo <malo> 11.04.1-4.mga3 + Revision: 343859 - updated RPM group * Sat Dec 22 2012 fwang <fwang> 11.04.1-3.mga3 + Revision: 333722 - add patch to build with gcc4.7 * Fri Dec 30 2011 supp <supp> 11.04.1-2.mga2 + Revision: 189021 - set files attrs * Sun Dec 11 2011 fwang <fwang> 11.04.1-1.mga2 + Revision: 180695 - split data package * Fri Sep 16 2011 fwang <fwang> 11.04.1-0.mga2 + Revision: 144222 - fix build with latest png * Tue May 10 2011 mikala <mikala> 11.04.1-0.mga1 + Revision: 97043 - Update tarball to 11.04.01 - Fix file list - imported package warmux