File opensuse-anywhere.spec of Package opensuse-anywhere
#
# spec file for package opensuse-anywhere
#
# Copyright © 2025 Alexander Johansen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
%define use_python python3
%define pythons %{use_python}
Name: opensuse-anywhere
Version: 0.1.3
Release: 0
License: GPL-3.0
Group: System/Packages
Summary: openSUSE installer for running Linux systems
Url: https://codeberg.org/alejoh/opensuse-anywhere
Source: opensuse-anywhere-v%{version}.tar.gz
BuildRequires: python3
BuildRequires: python3-colorama
BuildRequires: python3-paramiko
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python3
Requires: python3-colorama
Requires: python3-paramiko
%description
Install the openSUSE distributions on any running Linux system (aka anywhere)!
%prep
%setup -q
%build
./opensuse-anywhere.py
%install
install -m 755 -D -v opensuse-anywhere.py %{buildroot}%{_bindir}/opensuse-anywhere
%check
%files
%license LICENSE
%doc readme.md
%{_bindir}/*