%define name elftoaout %define version 2.3 %define release 4mdk Summary: A utility for converting ELF binaries to a.out binaries Name: %{name} Version: %{version} Release: %{release} ExclusiveArch: sparc sparcv9 sparc64 License: GPL Group: System/Kernel and hardware Source0: ftp://sunsite.mff.cuni.cz/OS/Linux/Sparc/local/elftoaout/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The elftoaout utility converts a static ELF binary to a static a.out binary. If you're using an ELF system (i.e., Mandrakelinux) on a SPARC, you'll need to run elftoaout on the kernel image so that the SPARC PROM can netboot the image. If you're installing Mandrakelinux on a SPARC, you'll need to install the elftoaout package. %prep %setup -q %build %make CFLAGS="$RPM_OPT_FLAGS" %install %{__rm} -rf $RPM_BUILD_ROOT %{__install} -m0755 -s %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name} %{__install} -m0644 %{name}.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Sun Jan 23 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 2.3-4mdk - rebuild - fix summary-ended-with-dot * Wed Jun 16 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.3-3mdk - rebuild - don't use the forbidden word;) * Sun May 18 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 2.3-2mdk - s/Red Hat/Mandrake/ in description * Fri May 16 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 2.3-1mdk - 2.3 - cleaned up - s/Copyright/License/ - compile with $RPM_OPT_FLAGS * Wed Jan 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.2-1mdk - first mandrake version. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com> - rebuild for Raw Hide. * Fri Jul 10 1998 Jeff Johnson <jbj@redhat.com> - repackage ultrapenguin with build root.