53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
Name: python-cube-scramble-cli
|
|
Version: 0.4.3
|
|
Release: 1mamba
|
|
Summary: Applications/Games
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 0.4.3-1mamba
|
|
- package created using the webbuild interface
|