rpms/xmoto-edit/devel xmoto-edit-man.patch, NONE, 1.1 xmoto-edit.desktop, NONE, 1.1 xmoto-edit.png, NONE, 1.1 xmoto-edit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Wed Mar 21 11:25:38 UTC 2007


Author: limb

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

Modified Files:
	.cvsignore sources 
Added Files:
	xmoto-edit-man.patch xmoto-edit.desktop xmoto-edit.png 
	xmoto-edit.spec 
Log Message:
auto-import xmoto-edit-0.2.4-6 on branch devel from xmoto-edit-0.2.4-6.src.rpm

xmoto-edit-man.patch:

--- NEW FILE xmoto-edit-man.patch ---
--- Makefile.in~	2007-03-02 12:38:04.000000000 -0600
+++ Makefile.in	2007-03-02 12:37:50.000000000 -0600
@@ -60,7 +60,7 @@
 	install-recursive installcheck-recursive installdirs-recursive \
 	pdf-recursive ps-recursive uninstall-info-recursive \
 	uninstall-recursive
-mangdir = $(mandir)/mang
+mangdir = $(mandir)/man6
 am__installdirs = "$(DESTDIR)$(mangdir)"
 NROFF = nroff
 MANS = $(man_MANS)


--- NEW FILE xmoto-edit.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=XMoto-Edit
Comment=Xmoto Level Editor
Exec=xmoto-edit
StartupNotify=false
Terminal=false
Type=Application
Icon=xmoto-edit.png
Categories=Game;ActionGame;SportsGame;


--- NEW FILE xmoto-edit.spec ---
Name:		xmoto-edit
Version:	0.2.4
Release:	6%{?dist}
Summary:	Challenging 2D Motocross Platform Game - Level Editor

Group:		Amusements/Games
License:	GPL
URL:		http://xmoto.sourceforge.net/
Source0:	http://easynews.dl.sourceforge.net/sourceforge/xmoto/%{name}-%{version}.tar.gz
Source1:	xmoto-edit.desktop
Source2:	xmoto-edit.png
Source3:	http://viewvc.tuxfamily.org/svn_xmoto_xmotoedit/trunk/xmoto-edit.6.gz
Patch0:		xmoto-edit-man.patch

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	desktop-file-utils
BuildRequires:	SDL_mixer-devel
BuildRequires:	libGL-devel
BuildRequires:	libjpeg-devel
BuildRequires:	libpng-devel
BuildRequires:	zlib-devel

Requires:	xmoto
Requires:	hicolor-icon-theme

%description
X-Moto-Edit allows you to edit levels for X-Moto.

%prep
%setup -q
%patch0

%build
%configure --with-enable-zoom=1
make


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f %RPM_BUILD_ROOT%{_mandir}/man6/xmoto-edit.6.gz
install -Dpm 644 %{SOURCE3} %RPM_BUILD_ROOT%{_mandir}/man6

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


%changelog
* Tue Mar 20 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-6
- Replaced man page with new upstream.

* Fri Mar 16 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-5
- removed versioned requires for xmoto, as versions get out of sync.

* Sun Mar 11 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-4
- Fixed post/postun scripts.

* Sat Mar 10 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-3
- R: xmoto, equal version.
- Cleaned up BR, space/tab.
- Fixed .desktop category, removed Application.

* Fri Mar 02 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-2
- Fixed man path with patch.
- Removed X-Fedora.

* Fri Mar 02 2007 Jon Ciesla <limb at jcomserv.net> 0.2.4-1
- Initial packaging, following split from xmoto by upstream.

Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xmoto-edit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Mar 2007 20:29:05 -0000	1.1
+++ .cvsignore	21 Mar 2007 11:25:05 -0000	1.2
@@ -0,0 +1,2 @@
+xmoto-edit-0.2.4.tar.gz
+xmoto-edit.6.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xmoto-edit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Mar 2007 20:29:05 -0000	1.1
+++ sources	21 Mar 2007 11:25:05 -0000	1.2
@@ -0,0 +1,2 @@
+d9a398ae125676eda1809747c56e66a3  xmoto-edit-0.2.4.tar.gz
+b92ab70eb393c6d2ca19ed00e63b4771  xmoto-edit.6.gz




More information about the scm-commits mailing list