diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:48:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:48:41 +0000 |
commit | 2034ef613cdbd62e8ecfcbeff8bc7eb6250c9974 (patch) | |
tree | 3be556e203456fac0f695e8c7175be43f42df857 | |
parent | 06f0e36212f8a585f73fdd3eda9beafdbe822b51 (diff) |
automatic import of python-py-desmumeopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-py-desmume.spec | 96 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 98 insertions, 0 deletions
@@ -0,0 +1 @@ +/py-desmume-0.0.5.post0.tar.gz diff --git a/python-py-desmume.spec b/python-py-desmume.spec new file mode 100644 index 0000000..01a1810 --- /dev/null +++ b/python-py-desmume.spec @@ -0,0 +1,96 @@ +%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 <Python_Bot@openeuler.org> - 0.0.5.post0-1 +- Package Spec generated @@ -0,0 +1 @@ +080bf61be9323b9d8bbe8e69aa91eb85 py-desmume-0.0.5.post0.tar.gz |