|
|
24dc13 |
Name: python-cicoclient
|
|
|
24dc13 |
Version: 0.4.6
|
|
|
24dc13 |
Release: 1%{?dist}
|
|
|
24dc13 |
Summary: Client interfaces to admin.ci.centos.org
|
|
|
24dc13 |
|
|
|
24dc13 |
License: ASL 2.0
|
|
|
24dc13 |
URL: https://github.com/CentOS/%{name}
|
|
|
24dc13 |
Source0: https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
|
|
24dc13 |
|
|
|
24dc13 |
BuildArch: noarch
|
|
|
24dc13 |
|
|
|
24dc13 |
BuildRequires: git
|
|
|
24dc13 |
BuildRequires: python2-devel
|
|
|
24dc13 |
BuildRequires: python-cliff
|
|
|
24dc13 |
BuildRequires: python-pbr
|
|
|
24dc13 |
BuildRequires: python-requests
|
|
|
24dc13 |
BuildRequires: python-setuptools
|
|
|
24dc13 |
BuildRequires: python-simplejson
|
|
|
24dc13 |
BuildRequires: python-six
|
|
|
24dc13 |
|
|
|
24dc13 |
# Work around an old version of python-sphinx_rtd_theme in CBS
|
|
|
24dc13 |
BuildRequires: fontawesome-fonts-web
|
|
|
24dc13 |
|
|
|
24dc13 |
Requires: python-cliff >= 1.14.0
|
|
|
24dc13 |
Requires: python-pbr >= 1.6
|
|
|
24dc13 |
Requires: python-requests >= 2.5.2
|
|
|
24dc13 |
Requires: python-simplejson
|
|
|
24dc13 |
Requires: python-six >= 1.9.0
|
|
|
24dc13 |
|
|
|
24dc13 |
%description
|
|
|
24dc13 |
python-cicoclient is a client, library, and a CLI interface that can be used to
|
|
|
24dc13 |
communicate with the ci.centos.org infrastructure provisioning system: Duffy.
|
|
|
24dc13 |
|
|
|
24dc13 |
%package doc
|
|
|
24dc13 |
Summary: Documentation for python-cicoclient
|
|
|
24dc13 |
|
|
|
24dc13 |
BuildRequires: python-sphinx
|
|
|
24dc13 |
BuildRequires: python-sphinx_rtd_theme
|
|
|
24dc13 |
# python-sphinx_rtd_theme missing dependency https://bugzilla.redhat.com/show_bug.cgi?id=1282297
|
|
|
24dc13 |
BuildRequires: fontawesome-fonts-web
|
|
|
24dc13 |
|
|
|
24dc13 |
Requires: %{name} = %{version}-%{release}
|
|
|
24dc13 |
|
|
|
24dc13 |
%description doc
|
|
|
24dc13 |
python-cicoclient is a client, library, and a CLI interface that can be used to
|
|
|
24dc13 |
communicate with the ci.centos.org infrastructure provisioning system: Duffy.
|
|
|
24dc13 |
|
|
|
24dc13 |
This package contains auto-generated documentation.
|
|
|
24dc13 |
|
|
|
24dc13 |
%prep
|
|
|
24dc13 |
%setup -q -n %{name}-%{version}
|
|
|
24dc13 |
|
|
|
24dc13 |
# Requirements are handled by packaging
|
|
|
24dc13 |
rm -f requirements.txt test-requirements.txt
|
|
|
24dc13 |
|
|
|
24dc13 |
%build
|
|
|
24dc13 |
%{__python2} setup.py build
|
|
|
24dc13 |
|
|
|
24dc13 |
%install
|
|
|
24dc13 |
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
24dc13 |
|
|
|
24dc13 |
export PYTHONPATH="$( pwd ):$PYTHONPATH"
|
|
|
24dc13 |
sphinx-build -b html docs html
|
|
|
24dc13 |
sphinx-build -b man docs man
|
|
|
24dc13 |
|
|
|
24dc13 |
install -p -D -m 644 man/python-cicoclient.1 %{buildroot}%{_mandir}/man1/cico.1
|
|
|
24dc13 |
|
|
|
24dc13 |
# Fix hidden-file-or-dir warnings
|
|
|
24dc13 |
rm -rf html/.doctrees html/.buildinfo
|
|
|
24dc13 |
|
|
|
24dc13 |
%files
|
|
|
24dc13 |
%license LICENSE
|
|
|
24dc13 |
%doc README.rst
|
|
|
24dc13 |
%{_bindir}/cico
|
|
|
24dc13 |
%{python2_sitelib}/cicoclient
|
|
|
24dc13 |
%{python2_sitelib}/*.egg-info
|
|
|
24dc13 |
%{_mandir}/man1/cico.1*
|
|
|
24dc13 |
|
|
|
24dc13 |
%files doc
|
|
|
24dc13 |
%license LICENSE
|
|
|
24dc13 |
%doc html
|
|
|
24dc13 |
|
|
|
24dc13 |
%changelog
|
|
|
24dc13 |
* Tue Oct 19 2021 arrfab@centos.org - 0.4.5-1
|
|
|
24dc13 |
- Bumped to 0.4.6 for 9-stream support
|
|
|
24dc13 |
|
|
|
24dc13 |
* Tue Oct 29 2019 brian@bstinson.com - 0.4.5-1
|
|
|
24dc13 |
- Add CentOS 8 and 8-Stream
|
|
|
24dc13 |
|
|
|
24dc13 |
* Thu Nov 29 2018 brian@bstinson.com - 0.4.4-1
|
|
|
24dc13 |
- Fixup the default flavor for ansible
|
|
|
24dc13 |
|
|
|
24dc13 |
* Thu Apr 05 2018 brian@bstinson.com 0.4.2-1
|
|
|
24dc13 |
- Build for multiarch support
|
|
|
24dc13 |
|
|
|
24dc13 |
* Tue Aug 23 2016 brian@bstinson.com 0.3.9-1
|
|
|
24dc13 |
- Build in the CentOS infrastructure tags
|
|
|
24dc13 |
|