rpms/wormux/devel wormux.png, NONE, 1.1 wormux.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Thomas (wart) fedora-extras-commits at redhat.com
Sat Jun 10 00:23:10 UTC 2006


Author: wart

Update of /cvs/extras/rpms/wormux/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18898/devel

Modified Files:
	.cvsignore sources 
Added Files:
	wormux.png wormux.spec 
Log Message:
auto-import wormux-0.7.2-4 on branch devel from wormux-0.7.2-4.src.rpm


--- NEW FILE wormux.spec ---
Name:           wormux
Version:        0.7.2
Release:        4%{?dist}
Summary:        2D convivial mass murder game

Group:          Amusements/Games
License:        GPL
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:  gettext libxml++-devel desktop-file-utils
Requires:       wormux-data

%description
Make battle the mascots of your favorite free softwares 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}
%description data
Data files for wormux

%prep
%setup -q


%build
%configure --disable-nls
make %{?_smp_mflags}


%install
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;
Type=Application
EOF

desktop-file-install --vendor fedora \
        --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ \
        --add-category X-Fedora \
        %{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/

%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 README
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_mandir}/man6/*.6.gz

%files data
%defattr(-,root,root,-)
%{_datadir}/%{name}

%changelog
* Fri Jun 09 2006 Wart <wart at kobold.org> 0.7.2-4
- Fix broken path to desktop icon
- Fix typo in description

* Fri Jun 09 2006 Wart <wart at 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 at kobold.org> 0.7.2-2
- Expanded the description
- Separated game data into a subpackage

* Fri Jun 02 2006 Wart <wart at kobold.org> 0.7.2-1
- Initial Fedora Extras package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/wormux/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Jun 2006 00:13:51 -0000	1.1
+++ .cvsignore	10 Jun 2006 00:23:10 -0000	1.2
@@ -0,0 +1 @@
+wormux-0.7.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/wormux/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Jun 2006 00:13:51 -0000	1.1
+++ sources	10 Jun 2006 00:23:10 -0000	1.2
@@ -0,0 +1 @@
+08d897a89f06cb855709be2904308cac  wormux-0.7.2.tar.gz




More information about the fedora-extras-commits mailing list