diff --git a/pandocfilters-1.5.0.tar.gz b/pandocfilters-1.5.0.tar.gz new file mode 100644 index 0000000..5a4342d Binary files /dev/null and b/pandocfilters-1.5.0.tar.gz differ diff --git a/python-pandocfilters.spec b/python-pandocfilters.spec new file mode 100644 index 0000000..c198d68 --- /dev/null +++ b/python-pandocfilters.spec @@ -0,0 +1,46 @@ +%global pypi_name pandocfilters + +Name: python-%{pypi_name} +Version: 1.5.0 +Release: 1 +Summary: Utilities for writing pandoc filters in python + +License: BSD-3-Clause +URL: http://github.com/jgm/pandocfilters +Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +A python module for writing pandoc filters + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A python module for writing pandoc filters + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/%{pypi_name}.py +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Fri Nov 12 2021 zhangkea - 1.5.0-1 +- Initial package.