Blob Blame History Raw
%global srcname ansible-pygments
%global pypiname ansible_pygments
%global pkgname python-%{srcname}
%global forgeurl{srcname}

Name:    %{pkgname}
Version: 0.1.0
Release: 1%{?dist}
Summary: Provides Pygments highlighter for Ansible output for use in Sphinx
URL:       %{forgeurl}
Source:    %{forgesource}
License:   BSD
BuildArch: noarch

BuildRequires: python3-devel

%global _description %{expand:
This project provides a Pygments lexer that is able to handle Ansible output.
It may be used anywhere Pygments is integrated. The lexer is registered
globally under the name ansible-output.

It also provides a Pygments style for tools needing to highlight code snippets.

%description %{_description}

%package -n python3-%{srcname}
Summary: %summary

%py_provides python3-%{srcname}

%description -n python3-%{srcname} %{_description}

%autosetup -p1 -n %{srcname}-%{version}

%pyproject_buildrequires -t



%pyproject_save_files %{pypiname}


%files -n python3-%{srcname} -f %{pyproject_files}

* Sun Oct 03 2021 Chedi Toueiti <> - 0.1.0-1
- Initial commit version 0.1.0