File grifter.spec of Package grifter
#
# spec file for package grifter
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: grifter
Version: 0.2.12
Release: 0
Summary: Python library to build Vagrant topologies
License: GPL-3.0-only
Group: Productivity/Networking/Other
#Git-Clone: https://github.com/8radm1n/grifter.git
URL: https://github.com/8radm1n/grifter
Source: https://github.com/8radm1n/grifter/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-click
BuildRequires: python3-PyYAML
BuildRequires: python3-Jinja2
BuildRequires: python3-Cerberus
Requires: python3-click
Requires: python3-PyYAML
Requires: python3-Jinja2
Requires: python3-Cerberus
BuildArch: noarch
%description
Python library to build large scale Vagrant topologies for the networking space.
Can also be used the build small scale labs for networking/compute devices.
%prep
%setup -q
%build
%{python3_build}
%install
%{python3_install}
rm -rf %{buildroot}%{python3_sitelib}/tests
%check
pytest
%files
%license LICENSE
%doc README.md
%{_bindir}/grifter
%{python3_sitelib}/grifter*
%changelog