65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
Name: python-cube-scramble-cli
|
|
Version: 0.4.7
|
|
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
|
|
Source: https://pypi.debian.net/cube-scramble-cli/cube%20scramble%20cli-%{version}.tar.gz
|
|
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 -c -a0
|
|
mv cube\ scramble\ cli-%{version}/* .
|
|
rmdir 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
|
|
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.7-1mamba
|
|
- update to 0.4.7
|
|
|
|
* 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
|