rpms/sdcc/F-9 sdcc.spec,1.7,1.8
Conrad Meyer
konradm at fedoraproject.org
Fri Nov 14 21:20:59 UTC 2008
Author: konradm
Update of /cvs/pkgs/rpms/sdcc/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19005
Modified Files:
sdcc.spec
Log Message:
Separate out emacs-sdcc subpackage.
Index: sdcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sdcc/F-9/sdcc.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sdcc.spec 28 Oct 2008 15:56:19 -0000 1.7
+++ sdcc.spec 14 Nov 2008 21:20:28 -0000 1.8
@@ -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 @@
%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 @@
%{_bindir}/*
%{_libexecdir}/%{name}
%{_datadir}/%{name}
-%{_datadir}/emacs
%exclude %{_datadir}/%{name}/lib/src
%exclude %{_datadir}/%{name}/lib/*/*.asm
@@ -92,7 +103,16 @@
%{_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 <konrad at tylerc.org> - 2.8.0-3
+- Separate out emacs-sdcc subpackage.
+
* Thu Oct 16 2008 José Matos <jamatos at fc.up.pt> - 2.8.0-2
- use lyx to generate the pdf documentation and ignore its warnings (for now)
More information about the fedora-extras-commits
mailing list