File waydroid-image.spec of Package waydroid-image-0.0.1-2.20

#
# spec file for package waydroid-image
#
# Copyright (c) 2021 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:           waydroid-image
Version:        0.0.1
Release:        2.20
Summary:        Waydroid is a container-based approach to boot a full Android
License:        LGPL-3.0-only
URL:            https://github.com/waydroid/waydroid
Source0:        https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-17.1-20210913-VANILLA-waydroid_arm64-system.zip
Source1:        https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-17.1-20210913-MAINLINE-waydroid_arm64-vendor.zip
BuildRequires:  unzip
Requires:       waydroid

%description
Waydroid is a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.

%prep
%setup -q -c -T -a 0 -a 1

%install
%{__install} -dm755 %{buildroot}%{_datadir}/waydroid-extra/images
mv system.img %{buildroot}%{_datadir}/waydroid-extra/images
mv vendor.img %{buildroot}%{_datadir}/waydroid-extra/images

%files
%dir %{_datadir}/waydroid-extra
%{_datadir}/waydroid-extra/images
%{_datadir}/waydroid-extra/images/system.img
%{_datadir}/waydroid-extra/images/vendor.img

%changelog
* Mon Sep 20 2021 Adrian Campos Garrido <adriancampos@teachelp.com>
- First build for Waydroid-images
openSUSE Build Service is sponsored by