introduction package.
This commit is contained in:
parent
d628b5417e
commit
00a4fa2c17
54
python-sphinxcontrib-youtube.spec
Normal file
54
python-sphinxcontrib-youtube.spec
Normal file
@ -0,0 +1,54 @@
|
||||
# Created by pyp2rpm-3.2.2
|
||||
%global pypi_name sphinxcontrib-youtube
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.2.0
|
||||
Release: 1
|
||||
Summary: Sphinx "youtube" extension
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/sphinx-contrib/youtube
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
%description
|
||||
This package contains the youtube Sphinx extension.The extension defines the
|
||||
directives, "youtube" and "vimeo", for embedding YouTube and Vimeo videos,
|
||||
respectively.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
Requires: python3-sphinx >= 0.6
|
||||
Requires: python3-requests
|
||||
%description -n python3-%{pypi_name}
|
||||
This package contains the youtube Sphinx extension.The extension defines the
|
||||
directives, "youtube" and "vimeo", for embedding YouTube and Vimeo videos,
|
||||
respectively.
|
||||
|
||||
|
||||
%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}
|
||||
%doc README.rst
|
||||
%license LICENCE
|
||||
%{python3_sitelib}/sphinxcontrib
|
||||
%{python3_sitelib}/sphinxcontrib_youtube-1.2.0-py3.11-nspkg.pth
|
||||
%{python3_sitelib}/sphinxcontrib_youtube-*.egg-info
|
||||
|
||||
%changelog
|
||||
* Wed Aug 02 2023 ysliu <ysliuci@isoftstone.com> - 1.2.0-1
|
||||
- Initial package.
|
||||
BIN
sphinxcontrib-youtube-1.2.0.tar.gz
Normal file
BIN
sphinxcontrib-youtube-1.2.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user