3 %bcond_with tests # unit tests (not included in sdist)
5 Summary: Sphinx Celery theme
6 Summary(pl.UTF-8): Motyw Celery dla Sphinksa
7 Name: python3-sphinx_celery
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/sphinx_celery/
13 Source0: https://files.pythonhosted.org/packages/source/s/sphinx-celery/sphinx_celery-%{version}.tar.gz
14 # Source0-md5: 97aeb7a6be0eabb73ba07f7bdf36a48d
15 URL: https://pypi.org/project/sphinx-celery/
16 # setup.py says it supports python 2.6+/3.3+, but Sphinx 2 doesn't support python2
17 BuildRequires: python3-modules >= 1:3.3
18 BuildRequires: python3-setuptools >= 1:20.6.7
20 BuildRequires: python3-Sphinx >= 2.0.0
21 BuildRequires: python3-nose
23 BuildRequires: rpm-pythonprov
24 BuildRequires: rpmbuild(macros) >= 1.714
25 Requires: python3-modules >= 1:3.3
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This project provides the Celery Sphinx theme and common Sphinx
33 %description -l pl.UTF-8
34 Ten projekt zawiera motyw oraz wspólne narzędzia Sphiksa dla projektu
38 %setup -q -n sphinx_celery-%{version}
44 %{__python3} -m nose sphinx_celery
48 rm -rf $RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc Changelog LICENSE README.rst
58 %{py3_sitescriptdir}/sphinx_celery
59 %{py3_sitescriptdir}/sphinx_celery-%{version}-py*.egg-info