From fe66660cc794063dc257671e031c63eaa6398a44 Mon Sep 17 00:00:00 2001 From: konradm Date: Nov 14 2008 21:20:18 +0000 Subject: Separate out emacs-sdcc subpackage. --- diff --git a/sdcc.spec b/sdcc.spec index b719beb..32e7d05 100644 --- a/sdcc.spec +++ b/sdcc.spec @@ -1,6 +1,6 @@ Name: sdcc Version: 2.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Small Device C Compiler Group: Applications/Engineering License: GPLv2+ @@ -29,14 +29,26 @@ degree) include the 8051, ds390, z80, hc08, and PIC. %package libc-sources Summary: Small Device C Compiler Group: Applications/Engineering -License: GPL +License: GPLv2+ Requires: sdcc = %{version}-%{release} %description libc-sources SDCC is a C compiler for 8051 class and similar microcontrollers. -This package includes the sources for the C library, and is only neccessary +This package includes the sources for the C library, and is only necessary if you want to modify the C library or as reference of how it works. + +%package -n emacs-sdcc +Summary: Emacs extensions for SDCC +Group: Applications/Editors +License: GPLv2+ +Requires: sdcc = %{version}-%{release} +Requires: emacs(bin) + +%description -n emacs-sdcc +Emacs extensions for SDCC. + + %prep %setup -q -n sdcc %patch0 -p1 @@ -82,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_libexecdir}/%{name} %{_datadir}/%{name} -%{_datadir}/emacs %exclude %{_datadir}/%{name}/lib/src %exclude %{_datadir}/%{name}/lib/*/*.asm @@ -92,7 +103,16 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/lib/src %{_datadir}/%{name}/lib/*/*.asm + +%files -n emacs-sdcc +%defattr(-,root,root,-) +%{_datadir}/emacs/site-lisp/*.el + + %changelog +* Thu Nov 13 2008 Conrad Meyer - 2.8.0-3 +- Separate out emacs-sdcc subpackage. + * Thu Oct 16 2008 José Matos - 2.8.0-2 - use lyx to generate the pdf documentation and ignore its warnings (for now)