Package python3-module-ironicclient: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | %define oname ironicclient Name: python3-module-%oname Version: 4.1.0 Release: alt2 Summary: Client for OpenStack bare metal Service Group: Development/Python3 License: Apache-2.0 Url: http://docs.openstack.org/developer/python-%oname Source: https://tarballs.openstack.org/python-%oname/python-%oname-%version.tar.gz BuildArch: noarch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel BuildRequires: python3-module-setuptools BuildRequires: python3-module-pbr >= 2.0.0 BuildRequires: python3-module-appdirs >= 1.3.0 BuildRequires: python3-module-dogpile.cache >= 0.6.2 BuildRequires: python3-module-jsonschema >= 2.6.0 BuildRequires: python3-module-keystoneauth1 >= 3.4.0 BuildRequires: python3-module-osc-lib >= 1.10.0 BuildRequires: python3-module-oslo.i18n >= 3.15.3 BuildRequires: python3-module-oslo.serialization >= 2.18.0 BuildRequires: python3-module-oslo.utils >= 3.33.0 BuildRequires: python3-module-prettytable >= 0.7.1 BuildRequires: python3-module-yaml >= 3.12 BuildRequires: python3-module-requests >= 2.14.2 BuildRequires: python3-module-six >= 1.10.0 # doc BuildRequires: python3-module-sphinx >= 1.6.2 BuildRequires: python3-module-openstackdocstheme >= 1.18.1 BuildRequires: python3-module-reno >= 2.5.0 BuildRequires: python3-module-sphinxcontrib-apidoc >= 0.2.0 %description Ironic provision bare metal machines instead of virtual machines. It is a fork of the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality. This is a client for the OpenStack Ironic API. There's a Python API (the "ironicclient" module), and a command-line script ("ironic"). Installing this package gets you a shell command, that you can use to interact with Ironic's API. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests This package contains tests for %oname. %package doc Summary: Documentation for Openstack DNS (Designate) API Client Group: Development/Documentation %description doc Ironic provision bare metal machines instead of virtual machines. It is a fork of the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality. This is a client for the OpenStack Ironic API. There's a Python API (the "ironicclient" module), and a command-line script ("ironic"). Installing this package gets you a shell command, that you can use to interact with Ironic's API. This package contains documentation for %oname. %prep %setup -n python-%oname-%version # Let RPM handle the dependencies rm -f test-requirements.txt requirements.txt # Remove bundled egg-info rm -rf python_designateclient.egg-info %build %python3_build export PYTHONPATH="$PWD" # generate html docs sphinx-build-3 doc/source html # generate man page sphinx-build-3 -b man doc/source man # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %install %python3_install # install man page install -p -D -m 644 man/python-ironicclient.1 %buildroot%_man1dir/ironicclient.1 %files %doc *.rst LICENSE %_bindir/baremetal %_man1dir/ironicclient* %python3_sitelibdir/* %exclude %python3_sitelibdir/*/tests %files -n python3-module-%oname-tests %exclude %python3_sitelibdir/*/tests %files doc %doc LICENSE html %changelog * Fri Jun 19 2020 Grigory Ustinov <grenka@altlinux.org> 4.1.0-alt2 - Unify documentation building. * Fri May 15 2020 Grigory Ustinov <grenka@altlinux.org> 4.1.0-alt1 - Automatically updated to 4.1.0. - Renamed spec file. * Fri Oct 18 2019 Grigory Ustinov <grenka@altlinux.org> 3.1.0-alt1 - Automatically updated to 3.1.0. - Build without python2. * Mon Dec 10 2018 Alexey Shabalin <shaba@altlinux.org> 2.5.0-alt1 - Updated to 2.5.0. - Added python3 support. * Fri Oct 02 2015 Lenar Shakirov <snejok@altlinux.ru> 0.9.0-alt1 - 0.9.0 * Wed Sep 23 2015 Lenar Shakirov <snejok@altlinux.ru> 0.3.1-alt1 - First build for ALT (based on Fedora 0.3.1-3.fc23.src) |