%global _empty_manifest_terminate_build 0 Name: python-py-desmume Version: 0.0.5.post0 Release: 1 Summary: Python library to interface with DeSmuME, the Nintendo DS emulator + sample GTK-based frontend License: GNU General Public License v3 or later (GPLv3+) URL: https://github.com/SkyTemple/py-desmume/ Source0: https://mirrors.aliyun.com/pypi/web/packages/5f/ff/49e8ead48a91905d4b80a3c19cc1ef7e85167ed0d5b1ef263d2833e91bbc/py-desmume-0.0.5.post0.tar.gz Requires: python3-Pillow %description |build| |docs| |pypi-version| |pypi-downloads| |pypi-license| |pypi-pyversions| A Python library for DeSmuME, the Nintendo DS library. - Library to interface with a `DeSmuME fork`_ that has a binary interface. - Reimplementation of the DeSmuME Glade-GTK UI with GTK3. Running the setup.py (eg. via pip) compiles the library from the fork. Wheels are available for Linux, Windows and MacOS. Documentation can be found in the ``docs`` directory and at https://py-desmume.readthedocs.org. %package -n python3-py-desmume Summary: Python library to interface with DeSmuME, the Nintendo DS emulator + sample GTK-based frontend Provides: python-py-desmume BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb %description -n python3-py-desmume |build| |docs| |pypi-version| |pypi-downloads| |pypi-license| |pypi-pyversions| A Python library for DeSmuME, the Nintendo DS library. - Library to interface with a `DeSmuME fork`_ that has a binary interface. - Reimplementation of the DeSmuME Glade-GTK UI with GTK3. Running the setup.py (eg. via pip) compiles the library from the fork. Wheels are available for Linux, Windows and MacOS. Documentation can be found in the ``docs`` directory and at https://py-desmume.readthedocs.org. %package help Summary: Development documents and examples for py-desmume Provides: python3-py-desmume-doc %description help |build| |docs| |pypi-version| |pypi-downloads| |pypi-license| |pypi-pyversions| A Python library for DeSmuME, the Nintendo DS library. - Library to interface with a `DeSmuME fork`_ that has a binary interface. - Reimplementation of the DeSmuME Glade-GTK UI with GTK3. Running the setup.py (eg. via pip) compiles the library from the fork. Wheels are available for Linux, Windows and MacOS. Documentation can be found in the ``docs`` directory and at https://py-desmume.readthedocs.org. %prep %autosetup -n py-desmume-0.0.5.post0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-py-desmume -f filelist.lst %dir %{python3_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 0.0.5.post0-1 - Package Spec generated