[packages/python3-pysol_cards] new
atler
atler at pld-linux.org
Mon May 23 22:49:57 CEST 2022
commit 4a1a2bce7b98e4875f50f738d2f3bdbc3642816b
Author: Jan Palus <atler at pld-linux.org>
Date: Mon May 23 22:49:39 2022 +0200
new
python3-pysol_cards.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
---
diff --git a/python3-pysol_cards.spec b/python3-pysol_cards.spec
new file mode 100644
index 0000000..955e388
--- /dev/null
+++ b/python3-pysol_cards.spec
@@ -0,0 +1,46 @@
+%define module pysol_cards
+Summary: Deal PySol FC Cards
+# Name must match the python module/package name (as on pypi or in 'import' statement)
+Name: python3-%{module}
+Version: 0.14.2
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pysol-cards/
+Source0: https://files.pythonhosted.org/packages/source/p/pysol-cards/%{module}-%{version}.tar.gz
+# Source0-md5: 294d856b219f0aeaa70e1c32a917487b
+URL: https://pypi.org/project/pysol-cards/
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The pysol-cards python modules allow the python developer to generate
+the initial deals of some PySol FC games. It also supports PySol
+legacy deals and Microsoft FreeCell / Freecell Pro deals.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.rst README.rst
+%dir %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}/*.py
+%{py3_sitescriptdir}/%{module}/__pycache__
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pysol_cards.git/commitdiff/4a1a2bce7b98e4875f50f738d2f3bdbc3642816b
More information about the pld-cvs-commit
mailing list