python-cube-scramble-cli/python-cube-scramble-cli.spec

60 lines
1.8 KiB
RPMSpec

Name: python-cube-scramble-cli
Version: 0.4.3
Release: 3mamba
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
Source: https://github.com/seanbreckenridge/cube-scramble-cli.git/%{version}/cube-scramble-cli-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(prompt-toolkit)
BuildRequires: python3.11dist(pytwistyscrambler)
BuildRequires: python3.11dist(setuptools)
BuildRequires: python3.11dist(tabulate)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%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 "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/cube_scramble_cli-%{version}-py*.egg-info
%{python_sitearch}/cube_scramble_cli-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 0.4.3-3mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Fri Jan 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-2mamba
- rebuild for python3 and with dist deps
* Fri May 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
- package created using the webbuild interface