From a3ee6fe5c65e41daf0e0ecfd1ea883cf6c2a5fb7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:41:18 +0100 Subject: [PATCH] automatic version update by autodist [release 3.4.0-1mamba;Mon Apr 21 2014] --- README.md | 4 ++ sdcc.spec | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 sdcc.spec diff --git a/README.md b/README.md index 576cd65..597c6b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # sdcc +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. + diff --git a/sdcc.spec b/sdcc.spec new file mode 100644 index 0000000..8fff47a --- /dev/null +++ b/sdcc.spec @@ -0,0 +1,148 @@ +Name: sdcc +Version: 3.4.0 +Release: 1mamba +Summary: Small Device C Compiler +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sdcc.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/sdcc/sdcc-src-%{version}.tar.bz2 +License: GPL +BuildRequires: gputils +Requires: gputils +Requires: sdcc-common = %{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +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 common +License: GPL, LGPL +Group: Applications/Development +Summary: Common files for the SDCC C compiler + +%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 devel +License: GPL, LGPL +Group: Development/Libraries +Summary: Libraries and Header Files for the SDCC C compiler +Requires: sdcc = %{version}-%{release} + +%description devel +SDCC is a C compiler for 8051 class and similar microcontrollers. +This package provides libraries and header files needed for development. + +%package doc +License: GPL +Group: Applications/Development +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 -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/as2gbmap +%{_bindir}/makebin +%{_bindir}/packihx +%{_bindir}/s51 +%{_bindir}/savr +%{_bindir}/sdar +%{_bindir}/sdas390 +%{_bindir}/sdas6808 +%{_bindir}/sdas8051 +%{_bindir}/sdasgb +%{_bindir}/sdasrab +%{_bindir}/sdasstm8 +%{_bindir}/sdastlcs90 +%{_bindir}/sdasz80 +%{_bindir}/sdcc +%{_bindir}/sdcclib +%{_bindir}/sdcdb +%{_bindir}/sdcdb.el +%{_bindir}/sdcdbsrc.el +%{_bindir}/sdcpp +%{_bindir}/sdld +%{_bindir}/sdld6808 +%{_bindir}/sdldgb +%{_bindir}/sdldz80 +%{_bindir}/sdnm +%{_bindir}/sdobjcopy +%{_bindir}/sdranlib +%{_bindir}/shc08 +%{_bindir}/sst7 +%{_bindir}/sstm8 +%{_bindir}/sz80 + +%files common +%defattr(-,root,root) +%dir %{_datadir}/sdcc +%dir %{_datadir}/sdcc/include +%{_datadir}/sdcc/include/* +%dir %{_datadir}/sdcc/lib +%{_datadir}/sdcc/lib/* +%dir %{_datadir}/sdcc/non-free +%{_datadir}/sdcc/non-free/* + +%files devel +%defattr(-,root,root) +#%{_includedir}/ansidecl.h +#%{_includedir}/bfd.h +#%{_includedir}/bfdlink.h +#%{_includedir}/symcat.h +#%{_libdir}/libbfd.a +#%{_libdir}/libbfd.la +%{_libdir}/libiberty.a + +%files doc +%defattr(-,root,root) +%{_datadir}/doc/sdcc/* +%{_datadir}/doc/ucsim/* + +%changelog +* Mon Apr 21 2014 Automatic Build System 3.4.0-1mamba +- automatic version update by autodist + +* Wed May 22 2013 Automatic Build System 3.3.0-1mamba +- automatic version update by autodist + +* Mon Dec 10 2012 Automatic Build System 3.2.0-1mamba +- automatic version update by autodist + +* Wed Apr 08 2009 Silvan Calarco 2.9.0-1mamba +- automatic update by autodist + +* Mon Oct 20 2008 Silvan Calarco 2.8.0-1mamba +- automatic update by autodist + +* Mon May 21 2007 Silvan Calarco 2.6.0-3mamba +- rebuilt + +* Thu Mar 22 2007 Tiziano Pratellesi 2.6.0-2qilnx +- rebuild + +* Fri Sep 15 2006 Tiziano Pratellesi 2.6.0-1qilnx +- package created by autospec