Summary: Music Game Name: fretsonfire Version: 1.3.110 Release: %mkrel 9 Group: Games/Arcade License: GPLv2 URL: http://fretsonfire.sourceforge.net/ Source: FretsOnFire-%{version}.tar.gz Patch0: fretsonfire-1.3.110-credits_music.patch Patch1: fretsonfire-1.3.110-datapath.patch Patch2: fretsonfire-1.3.110-font-revert.patch Patch3: fretsonfire-1.3.110-fonts_lower_cpu.patch Patch4: fretsonfire-1.3.110-keep_sound_when_failed.patch Patch5: fretsonfire-1.3.110-typeerror.patch Patch6: fretsonfire-1.3.110-pil.patch Patch7: fretsonfire-1.3.110-gl-4.3.patch BuildArch: noarch Requires: python-numpy Requires: python-imaging Requires: python-opengl Requires: python-pygame %description Frets on Fire is a game of musical skill and fast fingers. The aim of the game is to play guitar with the keyboard as accurately as possible. %prep %setup -q -n Frets\ on\ Fire-%{version} %autopatch -p1 chmod 644 copying.txt %build %make %install mkdir -p %{buildroot}%{_gamesdatadir}/%{name} mkdir -p %{buildroot}%{_gamesbindir} install -D -m 0644 data/icon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png cp -r data %{buildroot}%{_gamesdatadir}/%{name}/ cp -r src %{buildroot}%{_gamesdatadir}/%{name}/ #Menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF [Desktop Entry] Encoding=UTF-8 Name=Frets On Fire Comment=Game of Musical Skill and Fast Fingers Exec=%{_gamesbindir}/%{name} Icon=%{name} Terminal=false Type=Application Categories=Game;ArcadeGame; EOF #Executable cat > %{buildroot}%{_gamesbindir}/%{name}<<EOF #!/bin/sh cd %{_gamesdatadir}/%{name}/src python ./FretsOnFire.py EOF chmod 0755 %{buildroot}%{_gamesbindir}/%{name} %files %doc copying.txt readme.txt %{_gamesbindir}/%{name} %{_gamesdatadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Thu Sep 20 2018 umeabot <umeabot> 1.3.110-9.mga7 (not released yet) + Revision: 1278383 - Mageia 7 Mass Rebuild * Mon Mar 05 2018 tarakbumba <tarakbumba> 1.3.110-8.mga7 + Revision: 1206835 - Rebuild for new python-pygame requires * Thu Sep 22 2016 danf <danf> 1.3.110-7.mga6 + Revision: 1055074 - Fixed pil.patch to work around tobytes change - Added gl-4.3.patch to work around removed gluBuild2DMipmaps function * Wed Sep 21 2016 danf <danf> 1.3.110-6.mga6 + Revision: 1055001 - Added pil.patch to fix game start with recent python-pillow * Sat Feb 06 2016 umeabot <umeabot> 1.3.110-5.mga6 + Revision: 940127 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.3.110-4.mga5 + Revision: 748519 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.3.110-3.mga5 + Revision: 679358 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 1.3.110-2.mga4 + Revision: 522817 - Mageia 4 Mass Rebuild * Wed Mar 27 2013 gregorybravas <gregorybravas> 1.3.110-1.mga3 + Revision: 405450 - reparing summary and names on %%files - adding credits, paths, fonts and sound patchs - repair bad paths - repair files section - imported package fretsonfire