Name: yaffs2 Version:b4celbb Release:1 Summary:an open-source file system for embedded use with NAND and Nor Flash. License:GPLv2 URL: http://www.alephl.co.uk/gitweb/?p=yaffs2.git;a=summary Source0:http://www.aleohl.co.uk/gitweb/?p=yaffs2.git;a=snapshot;h=%{version};sf=tgz BuildRequires: gcc kernel-devel make module-init-tools glibc Requires:kernel %description Yaffs is an open-source file system specifically designed to be fast, robust and suitable for embedded use with NAND and NOR Flash. It is widely used with Linux, RTOSs, or no OS at all, in consumer devices, avionics, or on commercial terms from Aleph one. %prep %setup %build %make_build %install mkdir -p %{buildroot}/lib/modules/%{kern_ver}/ cp %{buildroot}/yaffs2-b4celbb/yaffs2multi.ko %{buildroot}/lib/modules/%{kern_ver}/ install -d %{buildroot}/etc/modules-load.d/ %{buildroot}/etc/modprobe.d/ %files %defattr(-,-,-,-) /lib/modules/%{kern_ver}/yaffs2multi.ko %changelog * Tue Feb 9 2021 tangchenyang - b4celbb-1 - init