%global debug_package %{nil} Name: mkbootimg Version: 2020.05.18 Release: 1%{?dist} Summary: Android bootimg creation tool License: Apache-2.0 URL: https://github.com/osm0sis/mkbootimg Source: https://github.com/osm0sis/mkbootimg/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make %description mkbootimg + unpackbootimg, forked and updated from https://github.com/CyanogenMod/android_system_core %prep %setup -q %build %make_build %install install -d %{buildroot}%{_bindir} for x in \ "mkbootimg" \ "unpackbootimg" do install -m 0755 ${x} %{buildroot}%{_bindir}/${x} done %files %doc NOTICE %{_bindir}/* %changelog * Mon Oct 19 07:10:41 MSK 2020 Yury Martynov - 2020.05.18-1 - Initial package