Source0: https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-18.1-20240427-MAINLINE-waydroid_x86_64-vendor.zip/download#/lineage-18.1-20240427-MAINLINE-waydroid_x86_64-vendor.zip Source1: https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-18.1-20240427-MAINLINE-waydroid_arm-vendor.zip/download#/lineage-18.1-20240427-MAINLINE-waydroid_arm-vendor.zip Source2: https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-18.1-20240427-MAINLINE-waydroid_arm64-vendor.zip/download#/lineage-18.1-20240427-MAINLINE-waydroid_arm64-vendor.zip Source3: https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-18.1-20240427-MAINLINE-waydroid_x86-vendor.zip/download#/lineage-18.1-20240427-MAINLINE-waydroid_x86-vendor.zip Name: waydroid-image-vendor-mainline Version: 20240427 %define type vendor 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