Name: renpy Version: 8.3.3 Release: 1 Summary: Framework for developing visual-novel type games Group: Development/Libraries License: LGPLv2+ URL: https://www.renpy.org/ Source0: https://www.renpy.org/dl/%{version}/%{name}-%{version}-source.tar.bz2 BuildRequires: libpng-devel BuildRequires: libpng12 BuildRequires: glew-devel, pygame-devel, freetype-devel, fribidi-devel, Cython BuildRequires: lapack, atlas-devel BuildRequires: glib2-devel, ffmpeg-devel BuildRequires: gcc-c++, SDL2-devel BuildRequires: python3-pygame_sdl2-devel BuildRequires: python3-future Requires: python3-renpy %description Ren'Py is a programming language and runtime, intended to ease the creation of visual-novel type games. It contains features that make it easy to display thoughts, dialogue, and menus; to display images to the user; to write game logic; and to support the saving and loading of games. Ren'Py tries to be like an executable script, allowing you to get a working game without much more effort than is required to type the game script into the computer. %package -n python3-%{name} Summary: The native Python module for renpy %description -n python3-%{name} Ren'Py is implemented on top of Python, and that Python heritage shows through in many places. Many Ren'Py statements allow Python expressions to be used, and there are also Ren'Py statements that allow for the execution of arbitrary Python code. Many of the less-used features of Ren'Py are exposed to the user by way of Python. By only requiring use of the simplest features of Python, it's hoped that Ren'Py will be usable by all game authors. %package demo Summary: Full playable examples of renpy Requires: renpy %description demo This package includes a full playable example showing the features of the framework. %prep %setup -q -n %{name}-%{version}-source #sed -i '139,142s|lib|ffmpeg/lib|' module/setup.py #sed -i 's|-Wno-unused-function||' module/setup.py #sed -i "s|'lib')|'lib', 'lib64')|" module/setup.py #sed -i -e '/^library(/d' -e 's/library("GLEW", optional=True)/True/' module/setup.py ##sed -i "s|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|" module/ffdecode.c %build export CFLAGS="-I/usr/include/SDL2" cd module RENPY_DEPS_INSTALL=/usr python3 setup.py build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} chmod +x renpy.py cp -a renpy.py launcher renpy the_question tutorial $RPM_BUILD_ROOT%{_datadir}/%{name} cd module RENPY_DEPS_INSTALL=/usr python3 setup.py install --skip-build --root $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} %__cat > $RPM_BUILD_ROOT%{_bindir}/%{name} < $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop < - 8.3.3 - Rebuilt for Fedora