Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (48 sloc) 1.81 KB
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%global srcname ansi2html
Name: python-ansi2html
Version: 0.8.3
Release: 1%{?dist}
Summary: Python module that converts text with ANSI color to HTML
Group: Development/Libraries
License: GPLv3+
BuildRoot: %(mktemp -ud %{_tmppath}/%{srcname}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: python,python-setuptools,python-nose
Requires: python
The ansi2html module can convert text with ANSI color codes to HTML.
%setup -q -n %{srcname}-%{version}
%{__python} test
%{__python} build
rm -rf %{buildroot}
%{__python} install --skip-build --root=%{buildroot}
rm -rf %{buildroot}
* Fri Feb 3 2012 Ralph Bean <> - 0.8.3-1
- Included tests in check section.
- More concise file ownership declarations.
- Resolved license ambiguity in upstream.
- Removed shebang from non-executable file.
* Mon Jan 30 2012 Ralph Bean <> - 0.8.2-1
- Updated ansi2html version to latest 0.8.2.
- Added _bindir entry for the ansi2html console-script.
- Removed dependency on genshi.
- Removed references to now EOL fedora 12.
* Wed Sep 15 2010 Ralph Bean <> - 0.5.2-1
- Updated spec based on comments from Mark McKinstry
* Tue Sep 7 2010 Ralph Bean <> - 0.5.1-1
- Initial RPM packaging
Something went wrong with that request. Please try again.