File managesw-mcp.spec of Package managesw-mcp

#
# spec file for package managesw-mcp
#
# Copyright (c) 2025 SUSE LLC
#
# 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:           managesw-mcp
Version:        0.2.0
Release:        0
Summary:        mcp server for package management
License:        MIT
URL:            https://github.com/openSUSE/managesw-mcp
Source0:        %{name}-%{version}.tar
Source1:        vendor.tar.xz
BuildRequires:  go >= 1.23

%description
a server that exposes OS software management functions through the Model
Context Protocol (MCP). It allows you to manage packages, repositories, and
patches on a Linux system. Most of the functions are only available on zypper
and dnf based systems

%prep
%autosetup -p1 -a1

%build
%make_build

%install
%make_install

%check

%files
%{_bindir}/%{name}
%license LICENSE
%doc README.md

%changelog
openSUSE Build Service is sponsored by