|
|
802823f |
Name: warmux
|
|
|
802823f |
Version: 11.04.1
|
|
|
608ee93 |
Release: 6%{?dist}
|
|
|
802823f |
Summary: 2D turn-based artillery game
|
|
|
802823f |
|
|
|
802823f |
Group: Amusements/Games
|
|
|
802823f |
# fixedpoint library seems to be under BSD license
|
|
|
802823f |
# Some parts of src/tool/xml_document.cpp are taken from libxml2 (released under the MIT license)
|
|
|
802823f |
License: GPLv2+ and BSD and MIT
|
|
|
608ee93 |
URL: http://gna.org/projects/warmux/
|
|
|
802823f |
Source0: http://download.gna.org/warmux/warmux-%{version}.tar.bz2
|
|
|
802823f |
|
|
|
802823f |
Patch1: warmux-zlib.patch
|
|
|
802823f |
Patch2: warmux-gcc47.patch
|
|
|
802823f |
|
|
|
802823f |
BuildRequires: SDL_image-devel SDL_gfx-devel SDL_mixer-devel
|
|
|
802823f |
BuildRequires: SDL_ttf-devel SDL_net-devel curl-devel libpng-devel
|
|
|
802823f |
BuildRequires: gettext libxml++-devel desktop-file-utils
|
|
|
802823f |
BuildRequires: zlib-devel
|
|
|
802823f |
Requires: warmux-data = %{version}
|
|
|
802823f |
Requires: hicolor-icon-theme
|
|
|
802823f |
|
|
|
802823f |
Provides: wormux = %{version}-%{release}
|
|
|
802823f |
Obsoletes: wormux < 0.9.2.1-7
|
|
|
802823f |
|
|
|
802823f |
%description
|
|
|
802823f |
Let's begin the WAR of Mascots from UniX!
|
|
|
802823f |
They'll represent your favorite free software titles while battling it out
|
|
|
802823f |
in the arena using dynamite, grenades, baseball bats and other bazookas...
|
|
|
802823f |
Exterminate your opponent in a 2D environment with toon-style scenery.
|
|
|
802823f |
Each player controls the team of his choice (penguin, gnu, firefox, wilber,...)
|
|
|
802823f |
and must destroy his adversary using more or less casual weapons.
|
|
|
802823f |
Although a minimum of strategy is required to vanquish, WarMUX is pre-eminently
|
|
|
802823f |
a "convivial mass murder" game where, turn by turn, each member of each team.
|
|
|
802823f |
|
|
|
802823f |
The project was started as Wormux, and was renamed to Warmux in November 2010.
|
|
|
802823f |
|
|
|
802823f |
|
|
|
802823f |
%package data
|
|
|
802823f |
Summary: Data files for warmux
|
|
|
802823f |
Group: Amusements/Games
|
|
|
802823f |
Requires: %{name} = %{version}
|
|
|
802823f |
BuildArch: noarch
|
|
|
802823f |
Provides: wormux-data = %{version}-%{release}
|
|
|
802823f |
Obsoletes: wormux-data < 0.9.2.1-7
|
|
|
802823f |
|
|
|
802823f |
%description data
|
|
|
802823f |
Data files for warmux
|
|
|
802823f |
|
|
|
802823f |
|
|
|
802823f |
%prep
|
|
|
802823f |
%setup -q -n warmux-11.04
|
|
|
802823f |
%patch1 -p1 -b .zlib
|
|
|
802823f |
%patch2 -p1 -b .gcc47
|
|
|
802823f |
|
|
|
802823f |
# Remove a backup file
|
|
|
802823f |
rm -f data/game_mode/rope_objects.xml~
|
|
|
802823f |
rm -f data/game_mode/skin_viewer.xml~
|
|
|
802823f |
|
|
|
802823f |
%build
|
|
|
802823f |
%configure --enable-fribidi
|
|
|
802823f |
make %{?_smp_mflags}
|
|
|
802823f |
|
|
|
802823f |
|
|
|
802823f |
%install
|
|
|
802823f |
make install DESTDIR=%{buildroot}
|
|
|
802823f |
|
|
|
802823f |
sed -i -e 's/Icon=.*/Icon=warmux/' \
|
|
|
802823f |
%{buildroot}%{_datadir}/applications/warmux.desktop
|
|
|
802823f |
|
|
|
802823f |
desktop-file-install \
|
|
|
802823f |
--dir %{buildroot}%{_datadir}/applications/ \
|
|
|
802823f |
--remove-category=Application \
|
|
|
802823f |
--remove-category=ArcadeGame \
|
|
|
802823f |
--add-category=StrategyGame \
|
|
|
802823f |
--delete-original \
|
|
|
802823f |
%{buildroot}%{_datadir}/applications/warmux.desktop
|
|
|
802823f |
|
|
|
802823f |
install -d %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
|
|
|
802823f |
install -p -m 644 data/icon/warmux_128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/warmux.png
|
|
|
802823f |
|
|
|
4dd1c72 |
rm -f %{buildroot}%{_datadir}/applications/warmux_files.desktop
|
|
|
802823f |
rm -f %{buildroot}%{_datadir}/warmux/.nomedia
|
|
|
802823f |
|
|
|
802823f |
%find_lang %{name}
|
|
|
802823f |
|
|
|
802823f |
%post
|
|
|
802823f |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
802823f |
|
|
|
802823f |
%postun
|
|
|
802823f |
if [ $1 -eq 0 ] ; then
|
|
|
802823f |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
802823f |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
802823f |
fi
|
|
|
802823f |
|
|
|
802823f |
%posttrans
|
|
|
802823f |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
802823f |
|
|
|
802823f |
%files -f %{name}.lang
|
|
|
802823f |
%doc AUTHORS COPYING ChangeLog
|
|
|
802823f |
%{_bindir}/warmux
|
|
|
802823f |
%{_bindir}/warmux-list-games
|
|
|
4dd1c72 |
%{_datadir}/applications/warmux.desktop
|
|
|
802823f |
%{_datadir}/icons/hicolor/128x128/apps/warmux.png
|
|
|
802823f |
%{_datadir}/pixmaps/warmux*.png
|
|
|
802823f |
%{_mandir}/man6/*.6.gz
|
|
|
802823f |
|
|
|
802823f |
%files data
|
|
|
802823f |
%{_datadir}/warmux
|
|
|
802823f |
|
|
|
802823f |
%changelog
|
|
|
608ee93 |
* Tue Nov 27 2012 Jiri Popelka <jpopelka@redhat.com> - 11.04.1-6
|
|
|
608ee93 |
- www.wormux.org seems to no longer work
|
|
|
608ee93 |
|
|
|
4dd1c72 |
* Tue Apr 17 2012 Jiri Popelka <jpopelka@redhat.com> - 11.04.1-4
|
|
|
4dd1c72 |
- don't install warmux_files.desktop file (#812533)
|
|
|
4dd1c72 |
|
|
|
802823f |
* Mon Feb 27 2012 Jiri Popelka <jpopelka@redhat.com> - 11.04.1-3
|
|
|
802823f |
- fixed building with gcc 4.7 (by Bruno Wolff III)
|
|
|
802823f |
|
|
|
802823f |
* Mon Jan 16 2012 Jiri Popelka <jpopelka@redhat.com> - 11.04.1-2
|
|
|
802823f |
- fixed problems from Package Review (#773419)
|
|
|
802823f |
|
|
|
802823f |
* Wed Jan 11 2012 Jiri Popelka <jpopelka@redhat.com> - 11.04.1-1
|
|
|
802823f |
- wormux renamed to warmux
|
|
|
802823f |
- updated to 11.04.1
|
|
|
802823f |
|
|
|
802823f |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.9.2.1-6
|
|
|
802823f |
- Rebuild for new libpng
|
|
|
802823f |
|
|
|
802823f |
* Tue Jul 26 2011 Bruno Wolff III <bruno@wolff.to> - 0.9.2.1-5
|
|
|
802823f |
- Rebuild for SDL_gfx soname bump.
|
|
|
802823f |
|
|
|
802823f |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2.1-4
|
|
|
802823f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
802823f |
|
|
|
802823f |
* Wed Sep 29 2010 jkeating - 0.9.2.1-3
|
|
|
802823f |
- Rebuilt for gcc bug 634757
|
|
|
802823f |
|
|
|
802823f |
* Mon Sep 13 2010 Wart <wart@kobold.org> 0.9.2.1-2
|
|
|
802823f |
- Re-add french translations that had gone missing
|
|
|
802823f |
|
|
|
802823f |
* Sun Sep 12 2010 Wart <wart@kobold.org> 0.9.2.1-1
|
|
|
802823f |
- Update to 0.9.2.1 with fix for 64-bit builds
|
|
|
802823f |
|
|
|
802823f |
* Sat Sep 11 2010 Wart <wart@kobold.org> 0.9.2-1
|
|
|
802823f |
- Update to 0.9.2
|
|
|
802823f |
|
|
|
802823f |
* Sat Feb 6 2010 Wart <wart@kobold.org> 0.9.0-1
|
|
|
802823f |
- Update to 0.9.0
|
|
|
802823f |
|
|
|
802823f |
* Sat Oct 10 2009 Wart <wart@kobold.org> 0.8.5-1
|
|
|
802823f |
- Update to 0.8.5
|
|
|
802823f |
|
|
|
802823f |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-2
|
|
|
802823f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
802823f |
|
|
|
802823f |
* Wed Jul 18 2009 Wart <wart@kobold.org> 0.8.4-1
|
|
|
802823f |
- Update to 0.8.4
|
|
|
802823f |
|
|
|
802823f |
* Thu May 7 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.8.3-2
|
|
|
802823f |
- Build with $RPM_OPT_FLAGS.
|
|
|
802823f |
|
|
|
802823f |
* Wed May 6 2009 Wart <wart@kobold.org> 0.8.3-1
|
|
|
802823f |
- Update to 0.8.3
|
|
|
802823f |
- Make -data subpackage noarch
|
|
|
802823f |
|
|
|
802823f |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-5
|
|
|
802823f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
802823f |
|
|
|
802823f |
* Thu Jan 29 2009 Wart <wart@kobold.org> 0.8.2-4
|
|
|
802823f |
- Yet another font package rename
|
|
|
802823f |
|
|
|
802823f |
* Thu Jan 1 2009 Wart <wart@kobold.org> 0.8.2-3
|
|
|
802823f |
- Fix font package name for F11
|
|
|
802823f |
|
|
|
802823f |
* Wed Dec 24 2008 Wart <wart@kobold.org> 0.8.2-2
|
|
|
802823f |
- Add coreutils requirement for rpm post scripts
|
|
|
802823f |
- Replace bundled font with a symlink to an identical system font (BZ #477484)
|
|
|
802823f |
|
|
|
802823f |
* Fri Nov 7 2008 Wart <wart@kobold.org> 0.8.2-1
|
|
|
802823f |
- Update to 0.8.2
|
|
|
802823f |
|
|
|
802823f |
* Thu May 29 2008 Wart <wart@kobold.org> 0.8-1
|
|
|
802823f |
- Update to 0.8
|
|
|
802823f |
|
|
|
802823f |
* Fri Feb 8 2008 Wart <wart@kobold.org> 0.7.9-6
|
|
|
802823f |
- Rebuild for gcc 4.3
|
|
|
802823f |
|
|
|
802823f |
* Tue Aug 21 2007 Wart <wart@kobold.org> 0.7.9-5
|
|
|
802823f |
- License tag clarification
|
|
|
802823f |
|
|
|
802823f |
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.7.9-4
|
|
|
802823f |
- Rebuild against SDL_gfx 2.0.16.
|
|
|
802823f |
|
|
|
802823f |
* Wed Mar 28 2007 Wart <wart@kobold.org> 0.7.9-3
|
|
|
802823f |
- Enable use of $RPM_OPT_FLAGS
|
|
|
802823f |
|
|
|
802823f |
* Fri Mar 9 2007 Wart <wart@kobold.org> 0.7.9-2
|
|
|
802823f |
- Clean up desktop file categories
|
|
|
802823f |
- Use upstream's desktop file and icon
|
|
|
802823f |
|
|
|
802823f |
* Sat Feb 17 2007 Wart <wart@kobold.org> 0.7.9-1
|
|
|
802823f |
- Update to 0.7.9
|
|
|
802823f |
|
|
|
802823f |
* Fri Sep 1 2006 Wart <wart@kobold.org> 0.7.4-1
|
|
|
802823f |
- Update to 0.7.4
|
|
|
802823f |
|
|
|
802823f |
* Fri Aug 04 2006 Wart <wart@kobold.org> 0.7.2-6
|
|
|
802823f |
- Add 'ArcadeGame' category to .desktop file
|
|
|
802823f |
|
|
|
802823f |
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-5
|
|
|
802823f |
- Improve grammar in description
|
|
|
802823f |
|
|
|
802823f |
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-4
|
|
|
802823f |
- Fix broken path to desktop icon
|
|
|
802823f |
- Fix typo in description
|
|
|
802823f |
|
|
|
802823f |
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-3
|
|
|
802823f |
- Use RPM_BUILD_ROOT consistently
|
|
|
802823f |
- Put the wormux icon in a size-specific directory
|
|
|
802823f |
- Removed INSTALL from the documentation files
|
|
|
802823f |
|
|
|
802823f |
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-2
|
|
|
802823f |
- Expanded the description
|
|
|
802823f |
- Separated game data into a subpackage
|
|
|
802823f |
|
|
|
802823f |
* Fri Jun 02 2006 Wart <wart@kobold.org> 0.7.2-1
|
|
|
802823f |
- Initial Fedora Extras package
|