File pmbootstrap.spec of Package pmbootstrap

#
# spec file for package pmbootstrap
#
# Copyright (c) 2023, Tomáš Čech <sleep_walker@opensuse.org>
# 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:           pmbootstrap
Version:        2.0.0
Release:        0
Summary:        Sophisticated chroot/build/flash tool to develop and install postmarketOS
License:        GPL-3.0-only
URL:            https://postmarketos.org
Source:         https://git.sr.ht/~postmarketos/pmbootstrap/archive/%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  python3
BuildRequires:  python3-pytest
BuildRequires:  python3-setuptools
BuildArch:      noarch

%description
Sophisticated chroot/build/flash tool to develop and install postmarketOS

%prep
%setup -q

%build
%python3_build

%install
%python3_install
%fdupes %{buildroot}%{python3_sitelib}

%files
%license LICENSE
%doc README.md
%{_bindir}/pmbootstrap
%{python3_sitelib}/pmb*

%changelog
openSUSE Build Service is sponsored by