Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
354fb54c8b | ||
|
|
4662338ebb | ||
| dfb952f090 | |||
| 346708826b | |||
| aa0f349201 | |||
| c390ec22e3 | |||
|
|
0f17b9015f |
7 changed files with 130 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
2
sources
2
sources
|
|
@ -0,0 +1,2 @@
|
|||
d9a398ae125676eda1809747c56e66a3 xmoto-edit-0.2.4.tar.gz
|
||||
b92ab70eb393c6d2ca19ed00e63b4771 xmoto-edit.6.gz
|
||||
11
xmoto-edit-man.patch
Normal file
11
xmoto-edit-man.patch
Normal 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
11
xmoto-edit.desktop
Normal 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
BIN
xmoto-edit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
106
xmoto-edit.spec
Normal file
106
xmoto-edit.spec
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue