Author: jem256
Update of /cvs/nonfree/rpms/mari0/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv8108/F-16
Modified Files:
.cvsignore sources
Added Files:
mari0.desktop mari0.spec
Log Message:
Initial Commit
--- NEW FILE mari0.desktop ---
[Desktop Entry]
Name=Mari0
Comment=A recreation of the original Super Mario Bros with a portal gun
Exec=mari0
Type=Application
Categories=Game;ArcadeGame;
Terminal=false
Icon=mari0
--- NEW FILE mari0.spec ---
Name: mari0
Version: 1.6
Release: 3%{?dist}
Summary: A recreation of the original Super Mario Bros with a portal gun
License: CC-BY-NC-SA
URL:
http://stabyourself.net/mari0/
#Source0 is the upstream source:
Source0:
http://stabyourself.net/dl.php?file=%{name}-1006/%{name}-source.zip
#Source1 is just a Desktop file:
Source1: %{name}.desktop
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
BuildArch: noarch
Requires: love >= 0.8.0
#Reworded from the website (see URL above)
%description
A complete from scratch recreation of the original Super Mario Bros.
game with a focus on perfectly imitating the feel the 1985 classic
gave us but with a portal gun and puzzle game mechanics from the
popular Value game, Portal. Mari0 also has a 4-player coop mode, with
everyone having their own Portal gun. This game is made with LOVE.
%prep
%setup -q -c
sed -i 's/\r//' readme.txt
iconv -f iso8859-1 -t utf-8 readme.txt > readme.txt.conv && mv -f
readme.txt.conv readme.txt
#Execution Script:
echo -e "#!/bin/sh\nlove %{_datadir}/%{name}/%{name}.love\n" > %{name}
unzip -p %{name}_%{version}.love graphics/SMB/title.png | convert - -crop 176x88+0+0
-gravity NorthWest %{name}.png
%build
#No Build Required
%install
install -p -D -m 0644 %{name}_%{version}.love
%{buildroot}/%{_datadir}/%{name}/%{name}.love
install -p -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
#Install desktop, icons:
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE1}
install -p -D -m 0644 %{name}.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
%files
%doc readme.txt
%{_bindir}/%{name}
%{_datadir}/%{name}/%{name}.love
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%changelog
* Fri Aug 17 2012 Jeremy Newton <alexjnewt(a)hotmail.com> - 1.6-3
- Removed unnecessary unzip Build Require
- Simplified source files
- Fixed up desktop file
- Fixed inconsistent macros
* Mon Jun 4 2012 Jeremy Newton <alexjnewt(a)hotmail.com> - 1.6-2
- Added missing Build Require
- Removed unnecessary scriptlets
* Tue Apr 17 2012 Jeremy Newton <alexjnewt(a)hotmail.com> - 1.6-1
- Updated to 1.6
- Added a launcher and various improvements
* Tue Mar 6 2012 Jeremy Newton <alexjnewt(a)hotmail.com> - 1.2-1
- Initial Package
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mari0/F-16/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Aug 2012 08:17:14 -0000 1.1
+++ .cvsignore 21 Jan 2013 20:44:36 -0000 1.2
@@ -0,0 +1 @@
+mari0-source.zip
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mari0/F-16/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Aug 2012 08:17:14 -0000 1.1
+++ sources 21 Jan 2013 20:44:36 -0000 1.2
@@ -0,0 +1 @@
+22125f68ff41795fa8bafad5d1b1d1a9 mari0-source.zip