From: Jakub Bogusz Date: Wed, 23 Mar 2022 21:34:26 +0000 (+0100) Subject: - new X-Git-Tag: auto/th/python3-sphinx_favicon-0.2-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=6a4137e63b3144fee3a6a2c4f8653f1d391a3796;p=packages%2Fpython3-sphinx_favicon.git - new --- 6a4137e63b3144fee3a6a2c4f8653f1d391a3796 diff --git a/python3-sphinx_favicon.spec b/python3-sphinx_favicon.spec new file mode 100644 index 0000000..271c1ce --- /dev/null +++ b/python3-sphinx_favicon.spec @@ -0,0 +1,46 @@ +Summary: Sphinx Extension adding support for custom favicons +Summary(pl.UTF-8): Rozszerzenie Sphinksa dodające obsługę własnych favikonek +Name: python3-sphinx_favicon +Version: 0.2 +Release: 1 +License: MIT +Group: Libraries/Python +#Source0Download: https://pypi.org/simple/sphinx-favicon/ +Source0: https://files.pythonhosted.org/packages/source/s/sphinx-favicon/sphinx-favicon-%{version}.tar.gz +# Source0-md5: 758925ab5b4669f214d0be843f033caa +URL: https://pypi.org/project/sphinx-favicon/ +BuildRequires: python3-modules >= 1:3.6 +BuildRequires: python3-setuptools >= 1:40.9.0 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python3-modules >= 1:3.6 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +With sphinx-favicon, you can add custom favicons to your Sphinx HTML +documentation quickly and easily. + +%description -l pl.UTF-8 +Przy użyciu modułu sphinx-favicon można szybko i łatwo dodawać własne +favikonki do dokumentacji HTML generowanej przez Sphinksa. + +%prep +%setup -q -n sphinx-favicon-%{version} + +%build +%py3_build + +%install +rm -rf $RPM_BUILD_ROOT + +%py3_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc LICENSE README.md +%{py3_sitescriptdir}/sphinx-favicon +%{py3_sitescriptdir}/sphinx_favicon-%{version}-py*.egg-info