forked from pool/python-acitoolkit
Accepting request 642676 from home:stephenma:branches:devel:languages:python
Adding the python-acitoolkit package to devel:languages:python. Derived from the package of the same name in Cloud:Openstack:Pike:cisco-apic. Cleaned up the .spec file. OBS-URL: https://build.opensuse.org/request/show/642676 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acitoolkit?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
28
python-acitoolkit.changes
Normal file
28
python-acitoolkit.changes
Normal file
@@ -0,0 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 16 15:43:21 UTC 2018 - sma@suse.com
|
||||
|
||||
- Changed the spec file to singlespec format. Also removed
|
||||
duplicates in the RPM. And explicit set the permission of all
|
||||
files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 15 15:03:28 UTC 2018 - sma@suse.com
|
||||
|
||||
- Corrected the spelling in .spec file: python-sqlalchemy should
|
||||
be python-SQLAlchemy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 10 15:33:53 UTC 2018 - sma@suse.com
|
||||
|
||||
- License should be Apache-2.0 according to the LICENSE file
|
||||
in the v0.3.2.tar.gz tarball.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 12:02:53 UTC 2017 - mmnelemane@suse.com
|
||||
|
||||
- Fix Requires python-oslo.config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 25 14:01:52 UTC 2017 - mmnelemane@suse.com
|
||||
|
||||
- Initial packaging for ACI firmware 2.2.2
|
||||
59
python-acitoolkit.spec
Normal file
59
python-acitoolkit.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-acitoolkit
|
||||
#
|
||||
# Copyright (c) 2018 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global sname acitoolkit
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-acitoolkit
|
||||
Version: 0.3.2
|
||||
Release: 0
|
||||
Summary: Python library for programming ACI
|
||||
License: Apache-2.0
|
||||
URL: http://github.com/datacenter/acitoolkit
|
||||
Source: https://github.com/datacenter/acitoolkit/archive/v%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-SQLAlchemy
|
||||
Requires: python-click >= 3.3
|
||||
Requires: python-oslo.config >= 1.4.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python Library for configuring APIC Controller.
|
||||
|
||||
%prep
|
||||
%setup -q -n acitoolkit-%{version}
|
||||
rm -f requirements.txt
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(0644, root, root, -)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/acitoolkit
|
||||
%{python_sitelib}/acitoolkit-*.egg-info
|
||||
|
||||
%changelog
|
||||
3
v0.3.2.tar.gz
Normal file
3
v0.3.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0617aade43ce1bcedb3c6e4a464967c60d97423a0dfd7c29503b7e5806c8eaac
|
||||
size 3040038
|
||||
Reference in New Issue
Block a user