From 510205c652e6e6ce1aac8b2451c01fbfa59f8417 Mon Sep 17 00:00:00 2001 From: stevewilliams Date: Mon, 26 Feb 2001 02:51:21 +0000 Subject: [PATCH] Add the SPEC file. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@657 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- sdcc.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 sdcc.spec diff --git a/sdcc.spec b/sdcc.spec new file mode 100644 index 00000000..1db35ce9 --- /dev/null +++ b/sdcc.spec @@ -0,0 +1,43 @@ +Summary: Small Device C Compiler +Name: sdcc +Version: 2.2.2 +Release: 0.20010225 +Copyright: GPL +Group: Applications/Engineering +Source: sdcc-2.2.2.tar.gz +URL: http://sdcc.sourceforge.net/ +Packager: Stephen Williams + +BuildRoot: /tmp/sdcc + +%description +SDC is a C compiler for 8051 class and similar microcontrollers. +The packge includes the compiler, assemblers and linkers, a device +simulator and a core library. The processors supported (to a varying +degree) include the 8051, avr and z80. + +%prep +%setup -n sdcc-2.2.2 + +%build +./configure --prefix=/usr/local +make all + +%install +make prefix=$RPM_BUILD_ROOT/usr/local install + +%files + +%attr(-,root,root) /usr/local/bin/sdcc +%attr(-,root,root) /usr/local/bin/sdcpp +%attr(-,root,root) /usr/local/bin/asx8051 +%attr(-,root,root) /usr/local/bin/aslink +%attr(-,root,root) /usr/local/bin/packihx +%attr(-,root,root) /usr/local/bin/sdcdb +%attr(-,root,root) /usr/local/share/sdcc + +%attr(-,root,root) /usr/local/bin/s51 +%attr(-,root,root) /usr/local/bin/savr +%attr(-,root,root) /usr/local/bin/sz80 + +%attr(-,root,root) %doc /usr/local/doc/ucsim -- 2.30.2