%define name sdcc %define version 2.4.0 %define release 1mdk Name: %{name} Summary: C compiler for Intel 8051 and Zilog Z80 Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.bz2 URL: http://sdcc.sourceforge.net License: GPL Group: Development/C BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: flex bison %description SDCC is a Freeware, retargettable, optimizing ANSI - C compiler. The current version targets the Intel 8051 and the Zilog Z80 based MCUs. Work is in progress on supporting the Amtel AVR, DS390, and Microchip PIC series. SDCC uses ASXXXX and ASLINK, a Freeware, retargettable assembler and linker. SDCC has extensive MCU specific language extensions, which lets it utilize the underlying hardware effectively. The front end (parser) will be enhanced to handle language extensions for other MCUs as and when they are targeted. %prep %setup -q -n %name %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall mkdir -p %buildroot/%_libdir/emacs/site-lisp mv %buildroot/%_bindir/*.el %buildroot/%_libdir/emacs/site-lisp %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README ChangeLog COPYING doc/* %{_bindir}/* %{_datadir}/%name %{_libdir}/emacs/site-lisp/*.el %changelog * Sat Jun 5 2004 Austin Acton <austin@mandrake.org> 2.4.0-1mdk - 2.4.0 - configure 2.5 * Mon Feb 16 2004 Austin Acton <austin@mandrake.org> 2.3.8-0.20040216.1mdk - new snapshot * Sat Dec 27 2003 Austin Acton <austin@linux.ca> 2.3.3-0.20031227.1mdk - new snapshot - replace needed datadir * Mon May 26 2003 Austin Acton <aacton@yorku.ca> 2.3.3-0.20030421.3mdk - remove useless devel files (rpmlint much happier) * Mon May 26 2003 Austin Acton <aacton@yorku.ca> 2.3.3-0.20030421.2mdk - distlint (DIRM) * Mon Apr 21 2003 Austin Acton <aacton@yorku.ca> 2.3.3-0.20030421.1mdk - initial package