python-mkdocs-minify-plugin/python-mkdocs-minify-plugin.spec

46 lines
1.2 KiB
RPMSpec
Raw Normal View History

%global pypi_name mkdocs-minify-plugin
Name: python-%{pypi_name}
Version: 0.7.1
Release: 1
Summary: An MkDocs plugin to minify HTML, JS or CSS files prior to being written to disk
License: MIT
URL: https://github.com/byrnereese/mkdocs-minify-plugin
Source0: https://files.pythonhosted.org/packages/c5/a9/d8ecb295c78f898ca84970d47ee202a69a10b53c2a3cd7346f9a44abd067/mkdocs-minify-plugin-0.7.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
An MkDocs plugin to minify HTML, JS or CSS files prior to being written to disk
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
An MkDocs plugin to minify HTML, JS or CSS files prior to being written to disk
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/mkdocs_minify_plugin*
%changelog
* Wed Aug 23 2023 luolu12 <luluoc@isoftstone.com> - 0.7.1-1
- Initial package.