Репозиторий Sisyphus
Последнее обновление: 23 января 2019 | Пакетов: 18475 | Посещений: 12886933
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-openstackdocstheme

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define     oname openstackdocstheme
%def_with   python3

Name:       python-module-%oname
Version:    1.25.1
Release:    alt1

Summary:    Sphinx theme for RST-sourced documentation published to docs.openstack.org

License:    Apache-2.0
Group:      Development/Python
Url:        https://github.com/openstack/openstackdocstheme

Source:     %name-%version.tar
BuildArch:  noarch

Packager:   Grigory Ustinov <grenka at altlinux.org>

BuildRequires: python-module-pbr

%if_with python3
BuildRequires: python3-module-pbr
%endif

%description
OpenStack Sphinx Theme

Theme and extension support for Sphinx documentation that is published to
docs.openstack.org. Intended for use by OpenStack projects.

%package -n python3-module-%oname
Summary:  Sphinx theme for RST-sourced documentation published to docs.openstack.org
Group: Development/Python3

%description -n python3-module-%oname
OpenStack Sphinx Theme

Theme and extension support for Sphinx documentation that is published to
docs.openstack.org. Intended for use by OpenStack projects.

%prep
%setup

%if_with python3
cp -a . ../python3
%endif

%build
%python_build
%if_with python3
pushd ../python3
%python3_build
popd
%endif

%install
%if_with python3
pushd ../python3
%python3_install
mkdir -p %buildroot%python3_sitelibdir_noarch/%oname/theme
cp -r %oname/theme/* \
%buildroot%python3_sitelibdir_noarch/%oname/theme
popd
%endif

mkdir -p %buildroot%python_sitelibdir_noarch/%oname/theme
cp -r %oname/theme/* \
%buildroot%python_sitelibdir_noarch/%oname/theme
%python_install

%files
%doc README.rst
%python_sitelibdir_noarch/%oname
%python_sitelibdir_noarch/*.egg-info

%if_with python3
%files -n python3-module-%oname
%doc README.rst
%python3_sitelibdir_noarch/%oname
%python3_sitelibdir_noarch/*.egg-info
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin