OBS User unknown 2007-12-14 16:21:46 +00:00 committed by Git OBS Bridge
parent f6802d7e0b
commit 3fea2db2bc
3 changed files with 50 additions and 1 deletions

37
skel.init.el Normal file
View File

@ -0,0 +1,37 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.xemacs/init.el '
;;; ---------------------
;;;
;;; Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany.
;;;
;;; Author: Werner Fink, <feedback@suse.de> 2002
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Load custom file
;; ----------------
(setq custom-file "~/.xemacs/custom.el")
(load "~/.xemacs/custom.el" t t)
;;
;; More coding systems (UNICODE)
;; -----------------------------
(if (locate-library "un-define") (require 'un-define))
;;
;; Remember font and more settings
;; -------------------------------
(setq options-save-faces t)
;;
;; Load AucTeX by default
;; ----------------------
(require 'tex-site)
(setq-default TeX-master nil)
;; Users private libaries
;(setq TeX-macro-private '("~/lib/tex-lib/"))
;; AUC-TeX-Macros
;(setq TeX-style-private "~/lib/xemacs/site-lisp/auctex/style/")
;; Autom. Auc-TeX-Macros
;(setq TeX-auto-private "~/lib/xemacs/site-lisp/auctex/auto/")
;;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 14 16:14:36 CET 2007 - ro@suse.de
- move /etc/skel/.xemacs/init.el to this package
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 05 14:58:29 CET 2007 - mfabian@suse.de Wed Dec 05 14:58:29 CET 2007 - mfabian@suse.de

View File

@ -37,7 +37,7 @@ Requires: xemacs-info xemacs-packages ctags
Conflicts: gnuserv Conflicts: gnuserv
AutoReqProv: on AutoReqProv: on
Version: 21.5.28.20070807 Version: 21.5.28.20070807
Release: 44 Release: 46
Summary: XEmacs Summary: XEmacs
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Howto get the cvs tree of XEmacs: # Howto get the cvs tree of XEmacs:
@ -60,6 +60,7 @@ Source3: xemacs.desktop
Source4: xemacs.png Source4: xemacs.png
Source5: suse-xft-init.el Source5: suse-xft-init.el
Source6: site-start.el Source6: site-start.el
Source7: skel.init.el
Patch0: xemacs.patch Patch0: xemacs.patch
# keep in sync with the similar patch to the app-defaults in the main xemacs-packages package: # keep in sync with the similar patch to the app-defaults in the main xemacs-packages package:
Patch3: xemacs-21.4.8-app-defaults.patch Patch3: xemacs-21.4.8-app-defaults.patch
@ -447,6 +448,8 @@ install -m 0644 site-packages/lisp/term/kvt.el $RPM_BUILD_ROOT/usr/share/xemac
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/xemacs mkdir -p $RPM_BUILD_ROOT/%{_docdir}/xemacs
install -m 0644 suse/README.SuSE $RPM_BUILD_ROOT/%{_docdir}/xemacs/README.SuSE install -m 0644 suse/README.SuSE $RPM_BUILD_ROOT/%{_docdir}/xemacs/README.SuSE
ln -sf /usr/share/xemacs/%{version}/etc $RPM_BUILD_ROOT/%{_docdir}/xemacs/etc ln -sf /usr/share/xemacs/%{version}/etc $RPM_BUILD_ROOT/%{_docdir}/xemacs/etc
mkdir -p $RPM_BUILD_ROOT/etc/skel/.xemacs
install -m 0644 $RPM_SOURCE_DIR/skel.init.el $RPM_BUILD_ROOT/etc/skel/.xemacs/init.el
# #
# replace buildroot in comments in .elc files by spaces with the same total length: # replace buildroot in comments in .elc files by spaces with the same total length:
RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ') RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ')
@ -490,6 +493,8 @@ rm -rf $RPM_BUILD_ROOT
%files -f xe-list-el-without-elc_xe-list-elc-without-el_xe-list-elc-with-el %files -f xe-list-el-without-elc_xe-list-elc-without-el_xe-list-elc-with-el
%defattr(-,root,root) %defattr(-,root,root)
%dir /etc/skel/.xemacs
/etc/skel/.xemacs/init.el
/usr/share/applications/xemacs.desktop /usr/share/applications/xemacs.desktop
%if %suse_version > 920 %if %suse_version > 920
/usr/share/pixmaps/xemacs.png /usr/share/pixmaps/xemacs.png
@ -574,6 +579,8 @@ rm -rf $RPM_BUILD_ROOT
%dir /usr/share/xemacs/site-packages/lisp/term/ %dir /usr/share/xemacs/site-packages/lisp/term/
%changelog %changelog
* Fri Dec 14 2007 - ro@suse.de
- move /etc/skel/.xemacs/init.el to this package
* Wed Dec 05 2007 - mfabian@suse.de * Wed Dec 05 2007 - mfabian@suse.de
- remove openldap2 from BuildRequires. - remove openldap2 from BuildRequires.
* Tue Sep 04 2007 - mfabian@suse.de * Tue Sep 04 2007 - mfabian@suse.de