From 45828946f6043885e298f3009dfaa0329087b952 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 04:45:20 +0000 Subject: automatic import of python-mercury-engine-data-structures --- python-mercury-engine-data-structures.spec | 175 +++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 python-mercury-engine-data-structures.spec (limited to 'python-mercury-engine-data-structures.spec') diff --git a/python-mercury-engine-data-structures.spec b/python-mercury-engine-data-structures.spec new file mode 100644 index 0000000..c093583 --- /dev/null +++ b/python-mercury-engine-data-structures.spec @@ -0,0 +1,175 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mercury-engine-data-structures +Version: 0.20.0 +Release: 1 +Summary: Construct file definitions for the Mercury Engine, the in-house game engine from MercurySteam +License: MIT License +URL: https://pypi.org/project/mercury-engine-data-structures/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/91/9f8b063fe4fd45b51251034b88cefab712be31f746e2ad0cfb8e2df3a85a/mercury-engine-data-structures-0.20.0.tar.gz +BuildArch: noarch + +Requires: python3-construct + +%description +# Mercury Engine Data Structures +Construct type definitions for Mercury Engine + +| Format | Samus Returns (Read) | Samus Returns (Write) | Dread (Read) | Dread (Write) | +| -------- |----------------------| --------------------- | ------------ | ------------- | +| PKG | ✓ | ✓ | ✓ | ✓ | +| BMSAD | ✗ | ✗ | ✓ | ✓ | +| BMSSD | ✓ | ✓ | ✓ | ✓ | +| BRFLD | Missing | Missing | ✓ | ✓ | +| BMSLD | ✓ | ✓ | Missing | Missing | +| BMSCC | ✓ | ✓ | ✓ | ✓ | +| BRSA | Missing | Missing | ✓ | ✓ | + + +## Example Usage + +```python +# TODO +``` + +## Colors for Text + +Metroid Dread uses the following annotations in text to change color: + +| Code | Color | | +|------|-------------|--------------| +| {c0} | White | (Default) | +| {c1} | Yellow | | +| {c2} | Red | | +| {c3} | Pink | | +| {c4} | Green | | +| {c5} | Blue | | +| {c6} | UI Active | (Light blue) | +| {c7} | UI Inactive | (Dim blue) | + + +%package -n python3-mercury-engine-data-structures +Summary: Construct file definitions for the Mercury Engine, the in-house game engine from MercurySteam +Provides: python-mercury-engine-data-structures +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mercury-engine-data-structures +# Mercury Engine Data Structures +Construct type definitions for Mercury Engine + +| Format | Samus Returns (Read) | Samus Returns (Write) | Dread (Read) | Dread (Write) | +| -------- |----------------------| --------------------- | ------------ | ------------- | +| PKG | ✓ | ✓ | ✓ | ✓ | +| BMSAD | ✗ | ✗ | ✓ | ✓ | +| BMSSD | ✓ | ✓ | ✓ | ✓ | +| BRFLD | Missing | Missing | ✓ | ✓ | +| BMSLD | ✓ | ✓ | Missing | Missing | +| BMSCC | ✓ | ✓ | ✓ | ✓ | +| BRSA | Missing | Missing | ✓ | ✓ | + + +## Example Usage + +```python +# TODO +``` + +## Colors for Text + +Metroid Dread uses the following annotations in text to change color: + +| Code | Color | | +|------|-------------|--------------| +| {c0} | White | (Default) | +| {c1} | Yellow | | +| {c2} | Red | | +| {c3} | Pink | | +| {c4} | Green | | +| {c5} | Blue | | +| {c6} | UI Active | (Light blue) | +| {c7} | UI Inactive | (Dim blue) | + + +%package help +Summary: Development documents and examples for mercury-engine-data-structures +Provides: python3-mercury-engine-data-structures-doc +%description help +# Mercury Engine Data Structures +Construct type definitions for Mercury Engine + +| Format | Samus Returns (Read) | Samus Returns (Write) | Dread (Read) | Dread (Write) | +| -------- |----------------------| --------------------- | ------------ | ------------- | +| PKG | ✓ | ✓ | ✓ | ✓ | +| BMSAD | ✗ | ✗ | ✓ | ✓ | +| BMSSD | ✓ | ✓ | ✓ | ✓ | +| BRFLD | Missing | Missing | ✓ | ✓ | +| BMSLD | ✓ | ✓ | Missing | Missing | +| BMSCC | ✓ | ✓ | ✓ | ✓ | +| BRSA | Missing | Missing | ✓ | ✓ | + + +## Example Usage + +```python +# TODO +``` + +## Colors for Text + +Metroid Dread uses the following annotations in text to change color: + +| Code | Color | | +|------|-------------|--------------| +| {c0} | White | (Default) | +| {c1} | Yellow | | +| {c2} | Red | | +| {c3} | Pink | | +| {c4} | Green | | +| {c5} | Blue | | +| {c6} | UI Active | (Light blue) | +| {c7} | UI Inactive | (Dim blue) | + + +%prep +%autosetup -n mercury-engine-data-structures-0.20.0 + +%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-mercury-engine-data-structures -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.20.0-1 +- Package Spec generated -- cgit v1.2.3