X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sdcc.spec;h=079af54b6937b4a0ea104fafccb0e3b21ab347ce;hb=5efcfa05953299666b5ca7d4fb024a6c0d327ced;hp=862be2a9e4aee90f6b5caad7342b5b704d032dca;hpb=a0ec0905f9648e3ff3db67f962fed7eff250b8e0;p=fw%2Fsdcc diff --git a/sdcc.spec b/sdcc.spec index 862be2a9..079af54b 100644 --- a/sdcc.spec +++ b/sdcc.spec @@ -4,15 +4,15 @@ Name: sdcc Requires: /bin/sh -License: GPL, LGPL +License: GPL Group: Applications/Engineering -Provides: sdcc Summary: Small Device C Compiler -Version: 2.3.7 -Release: 4 +Requires: sdcc-common +Version: 2.5.3 +Release: 1 Source: %{name}-%{version}.tar.bz2 URL: http://sdcc.sourceforge.net/ -Packager: Bernhard Held +Packager: Bernhard Held BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -21,6 +21,29 @@ The package includes the compiler, assemblers and linkers, a device simulator and a core library. The processors supported (to a varying degree) include the 8051, ds390, z80, hc08, and PIC. +%package common +License: GPL, LGPL +Group: Application/Engineering +Summary: Libraries and Header Files for the SDCC C compiler +Requires: sdcc + +%description common +SDCC is a C compiler for 8051 class and similar microcontrollers. +The package includes the compiler, assemblers and linkers, a device +simulator and a core library. The processors supported (to a varying +degree) include the 8051, ds390, z80, hc08, and PIC. + +%package doc +License: GPL +Group: Applications/Engineering +Summary: Documentation for the SDCC C compiler + +%description doc +SDCC is a C compiler for 8051 class and similar microcontrollers. +The package includes the compiler, assemblers and linkers, a device +simulator and a core library. The processors supported (to a varying +degree) include the 8051, ds390, z80, hc08, and PIC. + %prep %setup -n sdcc @@ -32,21 +55,34 @@ make cd .. %install -rm -rf $RPM_BUILD_ROOT/usr +rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT/usr install cd doc make install cd .. +%clean +rm -rf $RPM_BUILD_ROOT + %files %defattr(-,root,root) /usr/bin + +%files common +%defattr(-,root,root) /usr/share/sdcc/include /usr/share/sdcc/lib + +%files doc +%defattr(-,root,root) %doc %{_defaultdocdir} %changelog -* Sun Jan 04 2004 - bernhard@bernhardheld.de +* Tue Mar 09 2004 - bernhard AT bernhardheld.de +- split into two packages +* Wed Feb 26 2004 - bernhard AT bernhardheld.de +- version updated +* Sun Jan 04 2004 - bernhard AT bernhardheld.de - updated -* Sat Apr 27 2002 - steve@icarus.com +* Sat Apr 27 2002 - steve AT icarus.com - first version from Stephen Williams