From 1a8e65b3d2b51df5ea1bcf5e2f4d9e25695630ed Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:01:01 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.3-1mamba;Fri May 08 2020] --- README.md | 2 ++ python-cube-scramble-cli.spec | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-cube-scramble-cli.spec diff --git a/README.md b/README.md index 0273104..b7504ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-cube-scramble-cli +Applications/Games. + diff --git a/python-cube-scramble-cli.spec b/python-cube-scramble-cli.spec new file mode 100644 index 0000000..436fa03 --- /dev/null +++ b/python-cube-scramble-cli.spec @@ -0,0 +1,52 @@ +Name: python-cube-scramble-cli +Version: 0.4.3 +Release: 1mamba +Summary: Applications/Games +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/seanbreckenridge/cube-scramble-cli.git +## GITSOURCE https://github.com/seanbreckenridge/cube-scramble-cli.git 0.4.3 +Source: https://github.com/seanbreckenridge/cube-scramble-cli.git/%{version}/cube-scramble-cli-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +## AUTOBUILDREQ-END +Requires: python3 >= %python3_version +Requires: python-pyTwistyScrambler-py3 +Requires: python-prompt_toolkit-py3 +Requires: python-tabulate-py3 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n cube-scramble-cli-%{version} + +%build +CFLAGS="%{optflags}" %{__python3} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python3} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE + +%changelog +* Fri May 08 2020 Silvan Calarco 0.4.3-1mamba +- package created using the webbuild interface