File containerlab.spec of Package containerlab
#
# spec file for package containerlab
#
# Copyright (c) 2022-2025, 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: containerlab
Version: 0.71.0
Release: 0
Summary: Containerlab enables container-based networking labs
License: BSD-3-Clause
Group: Productivity/Networking/Other
URL: https://containerlab.srlinux.dev/
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go
BuildRequires: golang-packaging
%{go_provides}
%description
Containerlab provides a CLI for orchestrating and managing container-based
etworking labs. It starts the containers, builds a virtual wiring between
them to create lab topologies of users choice and manages labs lifecycle.
%prep
%autosetup -a 1
%build
%{goprep} github.com/srl-labs/containerlab/
%{gobuild} -mod=vendor .
%install
%{goinstall}
%files
%license LICENSE
%doc README.md
%{_bindir}/containerlab
%changelog