forked from pool/python-ansi2html
osc copypac from project:home:Rotkraut:Data package:python-ansi2html revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ansi2html?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
ansi2html-1.2.0.tar.gz
Normal file
3
ansi2html-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e5d5ada557e0bbe3e204a686f959de17f76c86c20615c034767e5ebdc0740f1
|
||||
size 46748
|
||||
5
python-ansi2html.changes
Normal file
5
python-ansi2html.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 15:13:53 UTC 2017 - rolf@rotkraut.de
|
||||
|
||||
- Initial version
|
||||
|
||||
58
python-ansi2html.spec
Normal file
58
python-ansi2html.spec
Normal file
@@ -0,0 +1,58 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-ansi2html
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Convert text with ANSI color codes to HTML or to LaTeX
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/ralphbean/ansi2html/
|
||||
Source: ansi2html-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Convert text with ANSI color codes to HTML or to LaTeX.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ansi2html-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/ansi2html
|
||||
|
||||
|
||||
%post
|
||||
%python_install_alternative ansi2html
|
||||
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative ansi2html
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/ansi2html
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user