python-colorama/python-colorama.spec

66 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: python-colorama
Version: 0.4.3
Release: 2mamba
Summary: Cross-platform colored terminal text
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/tartley/colorama
Source: https://pypi.python.org/packages/source/c/colorama/colorama-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n colorama-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-2mamba
- rebuilt with py3* packages
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 0.4.3-1mamba
- automatic version update by autodist
* Mon Nov 26 2018 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Tue Apr 17 2018 Automatic Build System <autodist@mambasoft.it> 0.3.9-1mamba
- automatic version update by autodist
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 0.3.7-1mamba
- automatic version update by autodist
* Fri Feb 05 2016 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
- automatic version update by autodist
* Mon Dec 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.5-1mamba
- package created using the webbuild interface