Name: flash-kernel Version: 2.27 Release: 1%{?dist} Summary: Utility for writing kernels into flash memory Group: System Environment/Base License: GPLv2+ URL: http://packages.debian.org/unstable/flash-kernel Source0: http://ftp.debian.org/debian/pool/main/f/%{name}/%{name}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: devio %description flash-kernel is a script which will put the kernel and initramfs in the boot location of embedded devices that don't load the kernel and initramfs directly from /boot. flash-kernel supports devices that boot from flash memory (hence the name) as well as some devices that require a special boot image on the disk. %prep %setup -q %build # nothing to do %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} install -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir} install -p -m 644 %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README debian/changelog %{_sbindir}/%{name} %{_mandir}/man8/%{name}.* %changelog * Wed Dec 16 2009 Dan HorĂ¡k - 2.27-1 - initial Fedora version