Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:susnux:branches:games
fofix-git
fofix.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fofix.spec of Package fofix-git
# # spec file for package fofix # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: fofix Version: 3.123 Release: 0 Summary: Frets on Fire X - A multi-OS rhythm game License: GPL-2.0-only Group: Amusements/Games/Other URL: https://fofix.github.io Source: https://github.com/fofix/fofix/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: update-desktop-files Requires: python-pyogg Requires: python-pyvorbis Requires: python2-Pillow Requires: python2-base Requires: python2-numpy Requires: python2-opengl Requires: python2-pygame Requires: python2-sqlite Requires: python2-xml BuildArch: noarch %description A multi-OS rhythm game, written in Python, similar to Guitar Hero or Rock Band. Play guitar, bass or drums along with your favorite songs on your computer using either your keyboard or instruments. You can use your Guitar Hero or Rock Band instrument controllers. Separated audio tracks will mute when you fail to hit or sustain the required notes correctly to simulate a real concert-playing experience. %prep %setup -q dos2unix doc/*.txt src/FontTest.py src/DrawingTest.py src/midi/*.txt chmod 644 doc/* src/FontTest.py src/DrawingTest.py src/midi/*.txt dos2unix AUTHORS ChangeLog COPYING CREDITS README chmod 644 AUTHORS ChangeLog COPYING CREDITS README rm doc/*.chm rm -r src/scripts mv "data/themes/MegaLight GH3" data/themes/MegaLight_GH3 find src -name '*.py' | xargs dos2unix find src -name '*.py' | xargs sed -i -e 's|%{_bindir}/env.*python|%{_bindir}/python|g' find src -name '*.py' | xargs chmod 644 chmod 644 src/*.pot %build %make_build translations %install cat > %{name}.sh << EOF #!/bin/bash cd %{_datadir}/%{name}/src python ./FoFiX.py "\$@" EOF install -D -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name} install -dm 755 %{buildroot}%{_datadir}/%{name} cp -a data %{buildroot}%{_datadir}/%{name} cp -a src %{buildroot}%{_datadir}/%{name} cp -a svg %{buildroot}%{_datadir}/%{name} # icon install -dm 755 %{buildroot}%{_datadir}/pixmaps install -m 644 data/mfhlogo.png %{buildroot}%{_datadir}/pixmaps/%{name}.png # menu-entry install -dm 755 %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=FoFiX GenericName=FoFiX Comment=FoFiX - A multi-OS rhythm game Exec=%{name}.sh Icon=%{name} Terminal=false Categories=Games;ActionGame; Type=Application EOF %suse_update_desktop_file %{name} Games ActionGame chmod 755 %{buildroot}%{_datadir}/%{name}/src/svg2png.py chmod 755 %{buildroot}%{_datadir}/%{name}/src/TestAll.py chmod 755 %{buildroot}%{_datadir}/%{name}/src/FoFiX.py chmod 755 %{buildroot}%{_datadir}/%{name}/src/DrawingTest.py chmod 755 %{buildroot}%{_datadir}/%{name}/src/FontTest.py %fdupes %{buildroot}%{_datadir} %files %license COPYING %doc AUTHORS ChangeLog CREDITS README %doc doc %{_bindir}/%{name} %{_datadir}/pixmaps/*.png %{_datadir}/applications/*.desktop %{_datadir}/%{name}/src/ %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/data %{_datadir}/%{name}/data/*.dae %{_datadir}/%{name}/data/*.ini %{_datadir}/%{name}/data/*.png %{_datadir}/%{name}/data/*.ttf %{_datadir}/%{name}/data/avatars/ %{_datadir}/%{name}/data/mods/ %dir %{_datadir}/%{name}/data/necks %{_datadir}/%{name}/data/necks/*.png %{_datadir}/%{name}/data/po/ %{_datadir}/%{name}/data/shaders/ %dir %{_datadir}/%{name}/data/sounds %{_datadir}/%{name}/data/sounds/*.ogg %dir %{_datadir}/%{name}/data/themes %{_datadir}/%{name}/data/themes/MegaLight/ %{_datadir}/%{name}/data/themes/MegaLight_GH3/ %{_datadir}/%{name}/data/themes/Uberlight/ %dir %{_datadir}/%{name}/data/translations %{_datadir}/%{name}/data/translations/*.mo %{_datadir}/%{name}/data/tutorials/ %{_datadir}/%{name}/svg/ %{_datadir}/%{name}/data/users/ %{_datadir}/%{name}/data/vocals/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor