python-prompt_toolkit/python-prompt_toolkit.spec

89 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-prompt_toolkit
Version: 3.0.19
Release: 1mamba
Summary: Library for building powerful interactive command line applications in Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
Source: https://pypi.debian.net/prompt-toolkit/prompt_toolkit-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n prompt_toolkit-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
%doc LICENSE
## note: add extra documentation (if any)
# %doc README.rst
%changelog
* Fri Jun 18 2021 Automatic Build System <autodist@mambasoft.it> 3.0.19-1mamba
- automatic version update by autodist
* Wed Mar 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0.18-1mamba
- automatic version update by autodist
* Fri Mar 12 2021 Automatic Build System <autodist@mambasoft.it> 3.0.17-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.0.16-1mamba
- automatic version update by autodist
* Wed Jan 27 2021 Automatic Build System <autodist@mambasoft.it> 3.0.14-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 3.0.13-1mamba
- automatic version update by autodist
* Thu Jan 21 2021 Automatic Build System <autodist@mambasoft.it> 3.0.11-1mamba
- automatic version update by autodist
* Sat Jan 09 2021 Automatic Build System <autodist@mambasoft.it> 3.0.10-1mamba
- automatic version update by autodist
* Thu Jan 07 2021 Automatic Build System <autodist@mambasoft.it> 3.0.9-1mamba
- automatic version update by autodist
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
- automatic version update by autodist
* Sun Aug 30 2020 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
- automatic version update by autodist
* Tue Aug 11 2020 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
- automatic version update by autodist
* Fri May 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
- package created using the webbuild interface