!1 Initial python-sphinx-favicon pkg to version V1.0.1
From: @zoujiancang Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
32692f7552
50
python-sphinx-favicon.spec
Normal file
50
python-sphinx-favicon.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name sphinx-favicon
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: A Sphinx extension to add custom favicons.
|
||||||
|
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/tcmetzger/sphinx-favicon
|
||||||
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-virtualenv
|
||||||
|
BuildRequires: python3-poetry-core
|
||||||
|
|
||||||
|
%description
|
||||||
|
A Sphinx extension to add custom favicons.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
A Sphinx extension to add custom favicons.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/sphinx_favicon/*
|
||||||
|
%{python3_sitelib}/sphinx_favicon*.dist-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 18 2023 zoujiancang<jczou@isoftstone.com> - 1.0.1-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
BIN
sphinx-favicon-1.0.1.tar.gz
Normal file
BIN
sphinx-favicon-1.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user