Compare commits

..

32 commits

Author SHA1 Message Date
Jiri Popelka
5147eecb79 Renamed to warmux (#773419) 2012-03-23 16:08:32 +01:00
Bruno Wolff III
b7358703ce stdio.h no longer includes unistd.h 2012-02-26 11:24:31 -06:00
Bruno Wolff III
53876f5d9c Fix typo in patch file name 2012-02-26 11:19:53 -06:00
Bruno Wolff III
8f7880927d png.h no longer includes zlib.h 2012-02-26 11:19:08 -06:00
Bruno Wolff III
cf148710cc Fix potential truncation of buffer lengths
Saving a 32 bit unsigned int in an int might result in truncation
on some arches. Most likely the buffers weren't long
enough for this to be a problem in practice, but it's
still a bad thing to do.
2012-02-26 11:13:35 -06:00
Bruno Wolff III
f424ab4b03 Missed another needed cast 2012-02-26 11:08:09 -06:00
Bruno Wolff III
eff8a25d33 Make adjusting patches easier 2012-02-26 11:03:09 -06:00
Bruno Wolff III
f68d159e96 gcc 4.7 has a problem casting away const
We need to ast to void * to drop const before SDL
does its cast. Though really the SDL cast should include
const for read operations.
2012-02-26 10:55:04 -06:00
Bruno Wolff III
b118699c2e We don't need the old source to do a current build 2012-02-26 10:45:38 -06:00
Dennis Gilmore
3c5c609bc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:29:10 -06:00
Adam Jackson
b40fb0ec4f Rebuild for new libpng 2011-12-06 01:29:43 -05:00
Bruno Wolff III
007c212835 Rebuild for SDL_gfx soname bump. 2011-07-26 08:58:44 -05:00
Dennis Gilmore
b8166dab2b - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 21:08:26 -06:00
Jesse Keating
7c40dad4d9 - Rebuilt for gcc bug 634757 2010-09-29 17:54:50 -07:00
wart
8bf71e6e87 Re-add french translations that had gone missing 2010-09-13 15:29:49 -07:00
wart
6203fe5b9c New upstream release that fixes 64-bit builds 2010-09-13 07:01:16 -07:00
wart
ff4c613fd1 Add patch to fix build errors on x86_64 2010-09-12 09:07:33 -07:00
wart
00c3af5916 Update to 0.9.2 2010-09-11 22:44:23 -07:00
Fedora Release Engineering
fb2f41de6d dist-git conversion 2010-07-29 15:25:27 +00:00
Michael Thomas
5b72a3dc85 Add game server utility 2010-02-08 17:14:52 +00:00
Michael Thomas
b4651dde69 Update to 0.9.0 2010-02-08 16:05:55 +00:00
Bill Nottingham
c891f6ea72 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:16 +00:00
Michael Thomas
4a10fe7db5 Update to 0.8.5 2009-10-12 01:22:52 +00:00
Jesse Keating
bcf58d743a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 07:26:31 +00:00
Michael Thomas
8a992fc42f Update to latest release 2009-07-19 02:26:53 +00:00
Michael Thomas
2632b7f09d Build with $RPM_OPT_FLAGS. 2009-05-07 21:53:35 +00:00
Michael Thomas
1eca55ae89 Update to 0.8.3 2009-05-07 15:40:15 +00:00
Jesse Keating
125339aaba - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 07:10:14 +00:00
Michael Thomas
755901025d Yet another font package rename. 2009-01-29 15:44:21 +00:00
Michael Thomas
71b9f18bb7 Fix font package name for F11 2009-01-02 00:11:47 +00:00
Michael Thomas
3984d7827e - Add coreutils requirement for rpm post scripts
- Replace bundled font with a symlink to an identical system font (BZ
    #477484)
2008-12-24 23:24:51 +00:00
Michael Thomas
1d859f2ef3 Update to 0.8.2 2008-11-08 00:06:59 +00:00
5 changed files with 1 additions and 166 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
wormux-0.8.4.tar.bz2

1
dead.package Normal file
View file

@ -0,0 +1 @@
Renamed to warmux (#773419)

View file

@ -1 +0,0 @@
0aed316799723173f2d6e242af312382 wormux-0.8.4.tar.bz2

View file

@ -1,11 +0,0 @@
diff -up wormux-0.8.3/configure~ wormux-0.8.3/configure
--- wormux-0.8.3/configure~ 2009-03-05 22:24:17.000000000 +0200
+++ wormux-0.8.3/configure 2009-05-07 20:41:31.000000000 +0300
@@ -7608,6 +7608,7 @@ echo "${ECHO_T}$gccver" >&6; }
GCC_FLAGS="$GCC_FLAGS -DWMX_LOG"
fi
+ GCC_FLAGS="$GCC_FLAGS $CFLAGS"
CFLAGS="$GCC_FLAGS"
CXXFLAGS="$GCC_FLAGS"

View file

@ -1,153 +0,0 @@
Name: wormux
Version: 0.8.4
Release: 1%{?dist}
Summary: 2D convivial mass murder game
Group: Amusements/Games
License: GPLv2+
URL: http://www.wormux.org
Source0: http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
Patch0: wormux-0.8.3-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL_image-devel SDL_gfx-devel SDL_mixer-devel
BuildRequires: SDL_ttf-devel SDL_net-devel curl-devel libpng-devel
BuildRequires: gettext libxml++-devel desktop-file-utils
Requires: wormux-data
Requires(post): coreutils
Requires(postun): coreutils
%description
Battle your favorite free software mascots in the Wormux arena. With big
sticks of dynamite, grenades, baseball bats, and bazookas you can exterminate
your opponent in a 2D cartoon style scenery. The goal of the game is to
destroy all of your opponents' mascots.
%package data
Summary: Data files for wormux
Group: Amusements/Games
Requires: %{name} = %{version}
BuildArch: noarch
%description data
Data files for wormux
%prep
%setup -q
%patch0 -p1
# Remove a backup file
rm -f data/game_mode/rope_objects.xml~
rm -f data/game_mode/skin_viewer.xml~
%build
%configure --disable-nls --disable-dependency-tracking
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
sed -i -e 's/Icon=.*/Icon=wormux.png/' \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT/%{_datadir}/applications/ \
--remove-category=Application \
--remove-category=ArcadeGame \
--add-category=StrategyGame \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
install -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/
install -p -m 644 data/%{name}_32x32.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog
%{_bindir}/%{name}
%{_bindir}/%{name}-index-server
%{_bindir}/%{name}-server
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/pixmaps/wormux*.png
%{_mandir}/man6/*.6.gz
%files data
%defattr(-,root,root,-)
%{_datadir}/%{name}
%changelog
* Wed Jul 18 2009 Wart <wart@kobold.org> 0.8.4-1
- Update to 0.8.4
- Build with $RPM_OPT_FLAGS.
* Wed May 6 2009 Wart <wart@kobold.org> 0.8.3-1
- Update to 0.8.3
- Make -data subpackage noarch
* Fri Nov 7 2008 Wart <wart@kobold.org> 0.8.2-1
- Update to 0.8.2
* Thu May 29 2008 Wart <wart@kobold.org> 0.8-1
- Update to 0.8
* Fri Feb 8 2008 Wart <wart@kobold.org> 0.7.9-6
- Rebuild for gcc 4.3
* Tue Aug 21 2007 Wart <wart@kobold.org> 0.7.9-5
- License tag clarification
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.7.9-4
- Rebuild against SDL_gfx 2.0.16.
* Wed Mar 28 2007 Wart <wart@kobold.org> 0.7.9-3
- Enable use of $RPM_OPT_FLAGS
* Fri Mar 9 2007 Wart <wart@kobold.org> 0.7.9-2
- Clean up desktop file categories
- Use upstream's desktop file and icon
* Sat Feb 17 2007 Wart <wart@kobold.org> 0.7.9-1
- Update to 0.7.9
* Fri Sep 1 2006 Wart <wart@kobold.org> 0.7.4-1
- Update to 0.7.4
* Fri Aug 04 2006 Wart <wart@kobold.org> 0.7.2-6
- Add 'ArcadeGame' category to .desktop file
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-5
- Improve grammar in description
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-4
- Fix broken path to desktop icon
- Fix typo in description
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-3
- Use RPM_BUILD_ROOT consistently
- Put the wormux icon in a size-specific directory
- Removed INSTALL from the documentation files
* Fri Jun 09 2006 Wart <wart@kobold.org> 0.7.2-2
- Expanded the description
- Separated game data into a subpackage
* Fri Jun 02 2006 Wart <wart@kobold.org> 0.7.2-1
- Initial Fedora Extras package