%define name yofrankie %define gname yofrankie %define svnver svn60 %define Summary A 3D Platform Game Name: %{name} Version: 1.0 Release: %mkrel 0.%{svnver}.1 Summary: %{Summary} License: Creative Commons 3.0 Group: Games/Arcade URL: http://www.yofrankie.org # # Use: svn --force export https://svn.blender.org/svnroot/yofrankie yofrankie Source0: %{name}-%{version}-%{svnver}.tar.lzma Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: blender >= 2.48a BuildRequires: blender BuildRequires: imagemagick BuildRequires: python BuildArch: noarch %description Yo Frankie! (code-named Apricot) is an open source computer game by the Blender Institute, part of the Blender Foundation. It is based on the universe and characters of the open source film produced earlier in 2008 by the Blender Institute, Big Buck Bunny. Yo Frankie! is licensed under the Creative Commons Attribution license 3.0. In short, this means you can freely reuse and distribute this content, also commercially, for as long you provide a proper attribution. The attribution is: (c) copyright Blender Foundation | http://apricot.blender.org. %prep %setup -q -n %{name} %build make %install rm -rf %{buildroot} install -d %{buildroot}%{_gamesbindir} \ %{buildroot}%{_gamesdatadir}/%{gname} \ %{buildroot}%{_datadir}/applications \ cp -pR package/* %{buildroot}%{_gamesdatadir}/%{gname} cat > %{buildroot}%{_datadir}/applications/mandriva-%{gname}.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=Yo Frankie! GenericName=Yo Frankie! Comment=%{Summary} Exec=%{_gamesbindir}/%{gname} Icon=%{gname} Terminal=false Type=Application StartupNotify=false Categories=Game;ArcadeGame;X-MandrivaLinux-MoreApplications-Games-Arcade; EOF cat > %{buildroot}%{_datadir}/applications/mandriva-%{gname}-fullscreen.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=Yo Frankie! (FullScreen) GenericName=Yo Frankie! Comment=%{Summary} (FullScreen) Exec=%{_gamesbindir}/%{gname}-fullscreen Icon=%{gname} Terminal=false Type=Application StartupNotify=false Categories=Game;ArcadeGame;X-MandrivaLinux-MoreApplications-Games-Arcade; EOF cat > %{buildroot}%{_gamesbindir}/%{gname} < %{buildroot}%{_gamesbindir}/%{gname}-fullscreen < 1.0-0.svn60.1mdv2009.0 - Release based on svn 60. * Sun Mar 22 2009 joeghi 1.0-0.svn27.1mdv2009.0 - Release based on svn 27. - Removed Patch0 (merged upstream). * Sat Mar 21 2009 joeghi 1.0-0.svn26.1mdv2009.0 - Initial Release based on svn 26.