summaryrefslogtreecommitdiff
path: root/python-pyslots.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pyslots.spec')
-rw-r--r--python-pyslots.spec174
1 files changed, 174 insertions, 0 deletions
diff --git a/python-pyslots.spec b/python-pyslots.spec
new file mode 100644
index 0000000..f11d589
--- /dev/null
+++ b/python-pyslots.spec
@@ -0,0 +1,174 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PYSlots
+Version: 1.3.0
+Release: 1
+Summary: A fun terminal Python slots game!
+License: MIT License
+URL: https://github.com/Lukas-Batema/pyslots
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/04/39/21552d636c34836f1c3a44da5d63de589948a3588f50b89ee7cd03faccf9/PYSlots-1.3.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# PYSlots
+<p align="center">
+ <a href="https://img.shields.io/badge/Compatible-MacOS%2FWindows%2FLinux-brightgreen?style=for-the-badge&logo=discord">
+ <img src="https://img.shields.io/badge/Compatible-MacOS%2FLinux%2FWindows%2F-brightgreen?style=for-the-badge&logo=checkmarx&logoColor=white">
+ </a>
+
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/pypi/pyversions/django?color=dark%20green&logo=python&logoColor=white&style=for-the-badge">
+ </a>
+</p>
+
+## PyPI and Test PyPI External Links
+[PyPI](https://pypi.org/project/PYSlots/)
+
+[Test PyPI](https://test.pypi.org/project/PYSlots/)
+## Install
+### Look directly at the bugs! Version
+`pip install pyslots`
+
+### "Don't look directly at the bugs!" Version
+`pip install -i https://test.pypi.org/simple/ PYSlots`
+## Run
+`pyslots` and if that does not work, do: `python3 -m PYSlots` (Yes, it is case-sensitive).
+
+## Arguments
+`--mcrefvers`: *Use the "Don't look directly at the bugs" version (Obviously a Minceraft reference...)*
+
+`--update`: *Update to the latest stable version*
+
+`--version`, `-v`: *Print the PYSlots version*
+
+## Hosted on...
+*Use my referral code: [BatemaDevelopment](https://railway.app?referralCode=BatemaDevelopment), on [Railway](https://railway.app/)!*
+
+
+
+%package -n python3-PYSlots
+Summary: A fun terminal Python slots game!
+Provides: python-PYSlots
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PYSlots
+# PYSlots
+<p align="center">
+ <a href="https://img.shields.io/badge/Compatible-MacOS%2FWindows%2FLinux-brightgreen?style=for-the-badge&logo=discord">
+ <img src="https://img.shields.io/badge/Compatible-MacOS%2FLinux%2FWindows%2F-brightgreen?style=for-the-badge&logo=checkmarx&logoColor=white">
+ </a>
+
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/pypi/pyversions/django?color=dark%20green&logo=python&logoColor=white&style=for-the-badge">
+ </a>
+</p>
+
+## PyPI and Test PyPI External Links
+[PyPI](https://pypi.org/project/PYSlots/)
+
+[Test PyPI](https://test.pypi.org/project/PYSlots/)
+## Install
+### Look directly at the bugs! Version
+`pip install pyslots`
+
+### "Don't look directly at the bugs!" Version
+`pip install -i https://test.pypi.org/simple/ PYSlots`
+## Run
+`pyslots` and if that does not work, do: `python3 -m PYSlots` (Yes, it is case-sensitive).
+
+## Arguments
+`--mcrefvers`: *Use the "Don't look directly at the bugs" version (Obviously a Minceraft reference...)*
+
+`--update`: *Update to the latest stable version*
+
+`--version`, `-v`: *Print the PYSlots version*
+
+## Hosted on...
+*Use my referral code: [BatemaDevelopment](https://railway.app?referralCode=BatemaDevelopment), on [Railway](https://railway.app/)!*
+
+
+
+%package help
+Summary: Development documents and examples for PYSlots
+Provides: python3-PYSlots-doc
+%description help
+# PYSlots
+<p align="center">
+ <a href="https://img.shields.io/badge/Compatible-MacOS%2FWindows%2FLinux-brightgreen?style=for-the-badge&logo=discord">
+ <img src="https://img.shields.io/badge/Compatible-MacOS%2FLinux%2FWindows%2F-brightgreen?style=for-the-badge&logo=checkmarx&logoColor=white">
+ </a>
+
+ <a href="https://www.python.org/downloads/">
+ <img src="https://img.shields.io/pypi/pyversions/django?color=dark%20green&logo=python&logoColor=white&style=for-the-badge">
+ </a>
+</p>
+
+## PyPI and Test PyPI External Links
+[PyPI](https://pypi.org/project/PYSlots/)
+
+[Test PyPI](https://test.pypi.org/project/PYSlots/)
+## Install
+### Look directly at the bugs! Version
+`pip install pyslots`
+
+### "Don't look directly at the bugs!" Version
+`pip install -i https://test.pypi.org/simple/ PYSlots`
+## Run
+`pyslots` and if that does not work, do: `python3 -m PYSlots` (Yes, it is case-sensitive).
+
+## Arguments
+`--mcrefvers`: *Use the "Don't look directly at the bugs" version (Obviously a Minceraft reference...)*
+
+`--update`: *Update to the latest stable version*
+
+`--version`, `-v`: *Print the PYSlots version*
+
+## Hosted on...
+*Use my referral code: [BatemaDevelopment](https://railway.app?referralCode=BatemaDevelopment), on [Railway](https://railway.app/)!*
+
+
+
+%prep
+%autosetup -n PYSlots-1.3.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-PYSlots -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.0-1
+- Package Spec generated