Compare commits

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

7 commits

Author SHA1 Message Date
Fedora Release Engineering
354fb54c8b dist-git conversion 2010-07-29 16:02:26 +00:00
Bill Nottingham
4662338ebb Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:35:26 +00:00
dfb952f090 License tag correction. 2007-08-16 17:39:30 +00:00
346708826b Fix BZ 246572. 2007-07-06 11:54:19 +00:00
aa0f349201 EVR Bump. 2007-03-23 18:11:09 +00:00
c390ec22e3 Initial import. 2007-03-21 12:45:06 +00:00
Warren Togami
0f17b9015f Initialize branch FC-6 for xmoto-edit 2007-03-20 20:29:19 +00:00
7 changed files with 130 additions and 21 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xmoto-edit
# $Id$
NAME := xmoto-edit
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

@ -0,0 +1,2 @@
d9a398ae125676eda1809747c56e66a3 xmoto-edit-0.2.4.tar.gz
b92ab70eb393c6d2ca19ed00e63b4771 xmoto-edit.6.gz

11
xmoto-edit-man.patch Normal file
View file

@ -0,0 +1,11 @@
--- 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)

11
xmoto-edit.desktop Normal file
View file

@ -0,0 +1,11 @@
[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;

BIN
xmoto-edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

106
xmoto-edit.spec Normal file
View file

@ -0,0 +1,106 @@
Name: xmoto-edit
Version: 0.2.4
Release: 9%{?dist}
Summary: Challenging 2D Motocross Platform Game - Level Editor
Group: Amusements/Games
License: GPLv2+
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
* Thu Aug 16 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-9
- License tag correction.
* Tue Jul 03 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-8
- Fixed BZ 246572.
* Fri Mar 23 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-7
- EVR Bump.
* Tue Mar 20 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-6
- Replaced man page with new upstream.
* Fri Mar 16 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-5
- removed versioned requires for xmoto, as versions get out of sync.
* Sun Mar 11 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-4
- Fixed post/postun scripts.
* Sat Mar 10 2007 Jon Ciesla <limb@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@jcomserv.net> 0.2.4-2
- Fixed man path with patch.
- Removed X-Fedora.
* Fri Mar 02 2007 Jon Ciesla <limb@jcomserv.net> 0.2.4-1
- Initial packaging, following split from xmoto by upstream.