Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
12a919510d dist-git conversion 2010-07-29 15:25:30 +00:00
Bill Nottingham
6b6fe2abf3 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:18:39 +00:00
Michael Thomas
60d28abe84 License tag clarification 2007-08-22 06:06:24 +00:00
Michael Thomas
a7b85b6e03 Use upstream's desktop file and icon 2007-03-10 05:32:29 +00:00
Michael Thomas
c91334091b Clean up desktop file categories 2007-03-09 21:45:11 +00:00
Michael Thomas
7a9e7c9ac9 Update to 0.7.9 2007-02-18 02:54:18 +00:00
Jeremy Katz
386ec3b3b0 Initialize branch FC-6 for wormux 2006-10-23 19:31:04 +00:00
5 changed files with 25 additions and 45 deletions

View file

@ -1 +0,0 @@
wormux-0.7.4.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wormux-0.7.9.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wormux
# $Id$
NAME := wormux
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1 @@
271de7da072bc4e8c023f55e85a42eb0 wormux-0.7.4.tar.gz
d921ae5bad243dec7bb6825d6e0b9d16 wormux-0.7.9.tar.gz

View file

@ -1,17 +1,16 @@
Name: wormux
Version: 0.7.4
Release: 1%{?dist}
Version: 0.7.9
Release: 3%{?dist}
Summary: 2D convivial mass murder game
Group: Amusements/Games
License: GPL
License: GPLv2+
URL: http://www.wormux.org
Source0: http://download.gna.org/wormux/%{name}-%{version}.tar.gz
Source1: %{name}.png
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
BuildRequires: SDL_ttf-devel SDL_net-devel curl-devel
BuildRequires: gettext libxml++-devel desktop-file-utils
Requires: wormux-data
@ -42,25 +41,18 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
cat << EOF > %{name}.desktop
[Desktop Entry]
Encoding=UTF-8
Name=wormux
Comment=Kill 'em all game
Exec=wormux
Icon=wormux.png
Terminal=false
Categories=Application;Game;ArcadeGame;
Type=Application
EOF
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/ \
--add-category X-Fedora \
%{name}.desktop
--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/48x48/apps/
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/
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
@ -83,7 +75,7 @@ fi
%doc AUTHORS COPYING ChangeLog
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_mandir}/man6/*.6.gz
%files data
@ -91,6 +83,15 @@ fi
%{_datadir}/%{name}
%changelog
- License tag clarification
* 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