2012-09-14 08:33:28 +00:00
|
|
|
%global pypi_name colorama
|
|
|
|
|
2018-10-30 09:09:36 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}> 7
|
2018-10-19 13:53:49 +00:00
|
|
|
%bcond_with python2
|
2016-04-10 09:09:23 +00:00
|
|
|
%bcond_without python3
|
|
|
|
%else
|
2018-10-19 13:53:49 +00:00
|
|
|
%bcond_without python2
|
2016-04-10 09:09:23 +00:00
|
|
|
%bcond_with python3
|
|
|
|
%endif
|
2018-10-30 09:09:36 +00:00
|
|
|
%else
|
|
|
|
%if 0%{?fedora} > 29
|
|
|
|
%bcond_without python3
|
|
|
|
%else
|
|
|
|
%bcond_without python2
|
|
|
|
%bcond_without python3
|
|
|
|
%endif
|
|
|
|
%endif
|
2016-04-10 09:09:23 +00:00
|
|
|
|
2012-09-14 08:33:28 +00:00
|
|
|
Name: python-%{pypi_name}
|
2020-11-19 13:34:01 +00:00
|
|
|
Version: 0.4.4
|
2021-07-23 05:47:24 +00:00
|
|
|
Release: 4%{?dist}
|
2012-09-14 08:33:28 +00:00
|
|
|
Summary: Cross-platform colored terminal text
|
|
|
|
|
|
|
|
License: BSD
|
2016-10-14 14:07:39 +00:00
|
|
|
URL: http://pypi.python.org/pypi/colorama
|
2019-02-05 16:44:28 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
2012-09-14 08:33:28 +00:00
|
|
|
BuildArch: noarch
|
2020-11-19 13:34:01 +00:00
|
|
|
|
2012-09-14 08:33:28 +00:00
|
|
|
%description
|
|
|
|
Makes ANSI escape character sequences, for producing colored
|
|
|
|
terminal text and cursor positioning, work under MS Windows.
|
|
|
|
|
|
|
|
ANSI escape character sequences have long been used to produce colored terminal
|
|
|
|
text and cursor positioning on Unix and Macs. Colorama makes this work on
|
|
|
|
Windows, too.
|
|
|
|
It also provides some shortcuts to help generate ANSI sequences, and works fine
|
|
|
|
in conjunction with any other ANSI sequence generation library, such as
|
|
|
|
Termcolor.
|
|
|
|
|
2018-10-19 13:53:49 +00:00
|
|
|
%if %{with python2}
|
2016-04-10 09:09:23 +00:00
|
|
|
%package -n python2-%{pypi_name}
|
|
|
|
Summary: Cross-platform colored terminal text
|
|
|
|
BuildRequires: python2-devel
|
2016-10-14 14:07:39 +00:00
|
|
|
%{?el6:BuildRequires: python-setuptools}
|
|
|
|
%{!?el6:BuildRequires: python2-setuptools}
|
|
|
|
%{?el6:Provides: python-%{pypi_name}}
|
|
|
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
2012-09-14 08:33:28 +00:00
|
|
|
|
2016-04-10 09:09:23 +00:00
|
|
|
%description -n python2-%{pypi_name}
|
|
|
|
Makes ANSI escape character sequences, for producing colored
|
|
|
|
terminal text and cursor positioning, work under MS Windows.
|
|
|
|
|
|
|
|
ANSI escape character sequences have long been used to produce colored terminal
|
|
|
|
text and cursor positioning on Unix and Macs. Colorama makes this work on
|
|
|
|
Windows, too.
|
|
|
|
It also provides some shortcuts to help generate ANSI sequences, and works fine
|
|
|
|
in conjunction with any other ANSI sequence generation library, such as
|
|
|
|
Termcolor.
|
2014-03-12 12:00:37 +00:00
|
|
|
|
2016-04-10 09:09:23 +00:00
|
|
|
Python 2 version.
|
2018-10-19 11:21:29 +00:00
|
|
|
%endif
|
2016-04-10 09:09:23 +00:00
|
|
|
|
|
|
|
%if %{with python3}
|
2014-03-12 12:00:37 +00:00
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
Summary: Cross-platform colored terminal text
|
2016-04-10 09:09:23 +00:00
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
2014-03-12 12:00:37 +00:00
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
Makes ANSI escape character sequences, for producing colored
|
|
|
|
terminal text and cursor positioning, work under MS Windows.
|
|
|
|
|
|
|
|
ANSI escape character sequences have long been used to produce colored terminal
|
|
|
|
text and cursor positioning on Unix and Macs. Colorama makes this work on
|
|
|
|
Windows, too.
|
|
|
|
It also provides some shortcuts to help generate ANSI sequences, and works fine
|
|
|
|
in conjunction with any other ANSI sequence generation library, such as
|
|
|
|
Termcolor.
|
|
|
|
|
2016-04-10 09:09:23 +00:00
|
|
|
Python 3 version.
|
2014-03-12 12:00:37 +00:00
|
|
|
%endif
|
|
|
|
|
2012-09-14 08:33:28 +00:00
|
|
|
%prep
|
2016-04-10 09:09:23 +00:00
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
rm -rf *.egg-info
|
2012-09-14 08:33:28 +00:00
|
|
|
|
|
|
|
%build
|
2018-10-19 13:53:49 +00:00
|
|
|
%if %{with python2}
|
2016-04-10 09:09:23 +00:00
|
|
|
%py2_build
|
2018-10-19 11:21:29 +00:00
|
|
|
%endif
|
2016-04-10 09:09:23 +00:00
|
|
|
%if %{with python3}
|
|
|
|
%py3_build
|
|
|
|
%endif
|
2012-09-14 08:33:28 +00:00
|
|
|
|
|
|
|
%install
|
2018-10-19 13:53:49 +00:00
|
|
|
%if %{with python2}
|
2016-04-10 09:09:23 +00:00
|
|
|
%py2_install
|
2018-10-19 11:21:29 +00:00
|
|
|
%endif
|
2016-04-10 09:09:23 +00:00
|
|
|
%if %{with python3}
|
|
|
|
%py3_install
|
|
|
|
%endif
|
2012-09-14 08:33:28 +00:00
|
|
|
|
2018-10-19 13:53:49 +00:00
|
|
|
%if %{with python2}
|
2016-04-10 09:09:23 +00:00
|
|
|
%files -n python2-%{pypi_name}
|
2014-09-05 07:20:01 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
2016-04-10 09:09:23 +00:00
|
|
|
%{python2_sitelib}/%{pypi_name}/
|
|
|
|
%{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info/
|
2018-10-19 11:21:29 +00:00
|
|
|
%endif
|
2012-09-14 08:33:28 +00:00
|
|
|
|
2016-04-10 09:09:23 +00:00
|
|
|
%if %{with python3}
|
2014-03-12 12:00:37 +00:00
|
|
|
%files -n python3-%{pypi_name}
|
2014-09-05 07:20:01 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
2016-04-10 09:09:23 +00:00
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-*.egg-info/
|
2014-07-25 12:47:50 +00:00
|
|
|
%endif
|
2014-03-12 12:00:37 +00:00
|
|
|
|
2012-09-14 08:33:28 +00:00
|
|
|
%changelog
|
2021-07-23 05:47:24 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-02 13:59:39 +00:00
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.4.4-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-27 09:57:43 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-19 13:34:01 +00:00
|
|
|
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 0.4.4-1
|
|
|
|
- Update to 0.4.4 (rhbz#1887630)
|
|
|
|
|
2020-07-29 00:18:59 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-26 01:08:17 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-03 16:12:37 +00:00
|
|
|
* Sun May 03 2020 Fabio Alessandro Locati <me@fale.io> - 0.4.3-1
|
|
|
|
* Update to 0.4.3
|
|
|
|
|
2020-01-30 11:21:16 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 12:06:52 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-4
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:32:24 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 12:48:02 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-05 16:44:28 +00:00
|
|
|
* Tue Feb 05 2019 Alfredo Moralejo <amoralej@redhat.com> - 0.4.1-1
|
|
|
|
- Update to 0.4.1
|
|
|
|
|
2019-02-02 06:09:00 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-30 09:09:36 +00:00
|
|
|
* Tue Oct 30 2018 Matthias Runge <mrunge@redhat.com> - 0.4.0-3
|
|
|
|
- fix python2 and python3 package for all releases
|
|
|
|
|
2018-10-19 13:53:49 +00:00
|
|
|
* Fri Oct 19 2018 Javier Peña <jpena@redhat.com> - 0.4.0-2
|
|
|
|
- Fix python2 package for non-Fedora
|
|
|
|
|
2018-10-19 11:21:29 +00:00
|
|
|
* Fri Oct 19 2018 Matthias Runge <mrunge@redhat.com> - 0.4.0-1
|
|
|
|
- update to 0.4.0
|
|
|
|
|
2018-07-13 23:49:36 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:57:19 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.9-3
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-09 07:07:41 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-20 16:59:57 +00:00
|
|
|
* Wed Dec 20 2017 Matthias Runge <mrunge@redhat.com> - 0.3.9-1
|
|
|
|
- update to 0.3.9 (rhbz#1444626)
|
|
|
|
|
2017-07-27 09:54:13 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 08:36:52 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:37 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-4
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 09:15:32 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-04-10 09:09:23 +00:00
|
|
|
* Sun Apr 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.3.7-2
|
|
|
|
- Follow new packaging guidelines
|
|
|
|
|
2016-03-08 12:43:39 +00:00
|
|
|
* Tue Mar 08 2016 Matthias Runge <mrunge@redhat.com> - 0.3.7-1
|
|
|
|
- update to 0.3.7 (rhbz#1179250)
|
|
|
|
|
2016-02-04 19:14:25 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 15:27:19 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 18:47:48 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-09-05 07:20:01 +00:00
|
|
|
* Fri Sep 05 2014 Matthias Runge <mrunge@redhat.com> - 0.3.2-1
|
|
|
|
- update to 0.3.2 (rhbz#1090014)
|
|
|
|
|
2014-07-25 12:47:50 +00:00
|
|
|
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.2.7-5
|
|
|
|
- Skip the python3 %%files section if we don't build the python3 package
|
|
|
|
|
2014-06-07 19:09:57 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 22:00:41 +00:00
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-03-12 12:00:37 +00:00
|
|
|
* Wed Mar 12 2014 Matthias Runge <mrunge@redhat.com> - 0.2.7-2
|
|
|
|
- introduce python3 package (rhbz#1075410)
|
|
|
|
|
2013-09-30 12:18:55 +00:00
|
|
|
* Mon Sep 30 2013 Matthias Rugne <mrunge@redhat.com> - 0.2.7-1
|
|
|
|
- uddate to 0.2.7 (rhbz#1010924)
|
|
|
|
|
2013-08-04 06:47:10 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-22 11:04:14 +00:00
|
|
|
* Fri Mar 22 2013 Matthias Runge <mrunge@redhat.com> - 0.2.5-1
|
|
|
|
- update to 0.2.5 (rhbz#913431)
|
|
|
|
|
2013-02-14 19:09:06 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-14 08:33:28 +00:00
|
|
|
* Tue Sep 11 2012 Matthias Runge <mrunge@redhat.com> - 0.2.4-1
|
|
|
|
- Initial package.
|