Source0: https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-18.1-20240406-GAPPS-waydroid_x86_64-system.zip/download#/lineage-18.1-20240406-GAPPS-waydroid_x86_64-system.zip Source1: https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-18.1-20240406-GAPPS-waydroid_arm-system.zip/download#/lineage-18.1-20240406-GAPPS-waydroid_arm-system.zip Source2: https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-18.1-20240413-GAPPS-waydroid_arm64-system.zip/download#/lineage-18.1-20240413-GAPPS-waydroid_arm64-system.zip Source3: https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86/lineage-18.1-20240406-GAPPS-waydroid_x86-system.zip/download#/lineage-18.1-20240406-GAPPS-waydroid_x86-system.zip Name: waydroid-image-system-gapps Version: 20240412 %define type system Release: 0 Summary: Waydroid is a container-based approach to boot a full Android License: LGPL-3.0-only URL: https://github.com/waydroid/waydroid %if %{undefined arm64} %define arm64 aarch64 %endif %if %{undefined x86_64} %define x86_64 x86_64 amd64 %endif ExclusiveArch: %ix86 %arm64 %arm %x86_64 BuildRequires: unzip Provides: waydroid-image-%{type} waydroid(images/%{type}.img) Conflicts: waydroid-image-%{type} %description Waydroid is a container-based approach to boot a full Android system on a regular GNU/Linux system. %prep %ifarch %x86_64 %define wayarch x86_64 %setup -q -c -T -a 0 %elifarch %arm %define wayarch arm %setup -q -c -T -a 1 %elifarch %arm64 %define wayarch arm64 %setup -q -c -T -a 2 %elifarch %ix86 %define wayarch x86 %setup -q -c -T -a 3 %endif %global debug_package %{nil} %build %install install -dm755 %{buildroot}%{_datadir}/waydroid-extra/images mv %{type}.img %{buildroot}%{_datadir}/waydroid-extra/images %files %dir %{_datadir}/waydroid-extra %dir %{_datadir}/waydroid-extra/images %{_datadir}/waydroid-extra/images/%{type}.img