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

Hugo Cisneiros (eitch) fedora-extras-commits at redhat.com
Fri Jul 21 20:16:07 UTC 2006


Author: eitch

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

Modified Files:
	.cvsignore sources 
Added Files:
	xmoto.desktop xmoto.png xmoto.spec 
Log Message:
auto-import xmoto-0.1.16-1 on branch devel from xmoto-0.1.16-1.src.rpm


--- NEW FILE xmoto.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=XMoto
Comment=Challenging 2D Motocross Platform Game
Exec=xmoto
StartupNotify=false
Terminal=false
Type=Application
Icon=xmoto.png
Categories=Application;Game;ActionGame;SportsGame;


--- NEW FILE xmoto.spec ---
Name:           xmoto
Version:        0.1.16
Release:        1%{?dist}
Summary:        Challenging 2D Motocross Platform Game

Group:          Amusements/Games
License:        GPL
URL:            http://xmoto.sourceforge.net/
Source0:        http://easynews.dl.sourceforge.net/sourceforge/xmoto/%{name}-%{version}-src.tar.gz
Source1:        xmoto.desktop
Source2:        xmoto.png
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  desktop-file-utils, SDL_mixer-devel
BuildRequires:  curl-devel, ode-devel, lua-devel, libGL-devel, libGLU-devel
BuildRequires:  libjpeg-devel, libpng-devel

%description
X-Moto is a challenging 2D motocross platform game, where physics play an all
important role in the gameplay. You need to control your bike to its limit, if
you want to have a chance finishing the more difficult of the challenges.

First you'll try just to complete the levels, while later you'll compete with
yourself and others, racing against the clock.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Install icon and desktop file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps

desktop-file-install --vendor fedora                            \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications           \
        --add-category X-Fedora                                 \
        %{SOURCE1}


%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 ChangeLog COPYING README TODO
%{_bindir}/xmoto
%{_bindir}/xmoto-edit
%{_datadir}/xmoto
%{_datadir}/applications/fedora-xmoto.desktop
%{_datadir}/icons/hicolor/48x48/apps/xmoto.png


%changelog
* Wed Jul  5 2006 Hugo Cisneiros <hugo at devin.com.br> 0.1.16-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xmoto/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jul 2006 20:13:04 -0000	1.1
+++ .cvsignore	21 Jul 2006 20:16:07 -0000	1.2
@@ -0,0 +1 @@
+xmoto-0.1.16-src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xmoto/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jul 2006 20:13:04 -0000	1.1
+++ sources	21 Jul 2006 20:16:07 -0000	1.2
@@ -0,0 +1 @@
+7669840af24aae6d5ae65b4171ba195d  xmoto-0.1.16-src.tar.gz




More information about the fedora-extras-commits mailing list