51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
%global pypi_name mkdocs-minify-plugin
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.8.0
|
|
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/52/67/fe4b77e7a8ae7628392e28b14122588beaf6078b53eb91c7ed000fd158ac/mkdocs-minify-plugin-0.8.0.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 Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.8.0-1
|
|
- Update package with version 0.8.0
|
|
Remove python 3.7 support and upgrade setup-python action
|
|
Upgrade setup-python action to v5
|
|
|
|
* Wed Aug 23 2023 luolu12 <luluoc@isoftstone.com> - 0.7.1-1
|
|
- Initial package.
|