1
0
azure-cli-core/azure-cli-core.spec

75 lines
2.4 KiB
RPMSpec

#
# spec file for package azure-cli-core
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: azure-cli-core
Version: 2.0.17
Release: 0
Summary: Microsoft Azure CLI Core Module
License: MIT
Group: System/Management
Url: https://github.com/Azure/azure-cli
Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz
Source1: LICENSE.txt
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: unzip
Requires: azure-cli-nspkg
Requires: python3-azure-nspkg
Requires: python3-adal >= 0.4.3
Requires: python3-applicationinsights
Requires: python3-argcomplete >= 1.8.0
Requires: python3-colorama
Requires: python3-humanfriendly
Requires: python3-jmespath
Requires: python3-msrest >= 0.4.4
Requires: python3-msrestazure >= 0.4.7
Requires: python3-paramiko
Requires: python3-pip
Requires: python3-pygments
Requires: python3-PyJWT
Requires: python3-pyopenssl >= 16.2
Requires: python3-PyYAML
Requires: python3-requests
Requires: python3-six
Requires: python3-tabulate >= 0.7.7
Requires: python3-wheel
Conflicts: azure-cli < 2.0.0
BuildArch: noarch
%description
Microsoft Azure CLI Core Module
%prep
%setup -q -n azure-cli-core-%{version}
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}
python3 setup.py build
%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%exclude %{python3_sitelib}/azure/cli/__pycache__/__init__.*py*
%exclude %{python3_sitelib}/azure/__pycache__/__init__.*py*
%{python3_sitelib}/*
%changelog