[packages/clisp] - package emacs and vim files

qboosh qboosh at pld-linux.org
Mon May 18 21:03:25 CEST 2020


commit 4bbd9b00f152b0763d321b1ed2467ae66768da47
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 18 21:03:58 2020 +0200

    - package emacs and vim files

 clisp.spec | 45 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 9 deletions(-)
---
diff --git a/clisp.spec b/clisp.spec
index 36f873a..9e45402 100644
--- a/clisp.spec
+++ b/clisp.spec
@@ -1,17 +1,8 @@
 # TODO:
-# - review alpha patch
 # - unpackaged files (see the end of spec)
 # - there is newer clisp release available at https://gitlab.com/gnu-clisp/clisp.git
 #   and in some distros (ie. Fedora/Rawhide)
 #
-#warning: Installed (but unpackaged) file(s) found:
-#	/usr/share/emacs/site-lisp/clhs.el
-#	/usr/share/emacs/site-lisp/clisp-coding.el
-#	/usr/share/emacs/site-lisp/clisp-ffi.el
-#	/usr/share/emacs/site-lisp/clisp-indent.el
-#	/usr/share/emacs/site-lisp/clisp-indent.lisp
-#	/usr/share/vim/vimfiles/after/syntax/lisp.vim
-#
 # Conditional build:
 %bcond_with	tests	# run test suite `make check' (uses network, won't pass on vserver)
 #
@@ -86,6 +77,30 @@ Munique, ambas na Alemanha. O CLISP é quase totalmente compatível com
 o Common Lisp descrito pelo padrão ANSI CL. Além disso, CLISP é
 software livre, distribuído sob os termos da GNU GPL.
 
+%package -n emacs-clisp-mode
+Summary:	CLISP mode for Emacs
+Summary(pl.UTF-8):	Tryb edycji CLISP dla Emacsa
+Group:		Applications/Editors
+Requires:	emacs-common
+
+%description -n emacs-clisp-mode
+CLISP mode for Emacs.
+
+%description -n emacs-clisp-mode -l pl.UTF-8
+Tryb edycji CLISP dla Emacsa.
+
+%package -n vim-syntax-lisp
+Summary:	LISP syntax highlighting for Vim
+Summary(pl.UTF-8):	Podświetlanie składni LISP-a w Vimie
+Group:		Applications/Editors
+Requires:	vim-rt
+
+%description -n vim-syntax-lisp
+LISP syntax highlighting for Vim.
+
+%description -n vim-syntax-lisp -l pl.UTF-8
+Podświetlanie składni LISP-a w Vimie.
+
 %prep
 %setup -q -n clisp-clisp-%{version}
 %patch0 -p1
@@ -179,3 +194,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_aclocaldir}/clisp.m4
 %{_mandir}/man1/clisp.1*
 %{_mandir}/man1/clisp-link.1*
+
+%files -n emacs-clisp-mode
+%defattr(644,root,root,755)
+%{_lispdir}/clhs.el
+%{_lispdir}/clisp-coding.el
+%{_lispdir}/clisp-ffi.el
+%{_lispdir}/clisp-indent.el
+%{_lispdir}/clisp-indent.lisp
+
+%files -n vim-syntax-lisp
+%defattr(644,root,root,755)
+%{_datadir}/vim/vimfiles/after/syntax/lisp.vim
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clisp.git/commitdiff/4bbd9b00f152b0763d321b1ed2467ae66768da47



More information about the pld-cvs-commit mailing list