From 3fea2db2bca7b80dfd9e949bce28b0f90f5b828a1abf44d71dc3d74828625925 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 14 Dec 2007 16:21:46 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xemacs?expand=0&rev=25 --- skel.init.el | 37 +++++++++++++++++++++++++++++++++++++ xemacs.changes | 5 +++++ xemacs.spec | 9 ++++++++- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 skel.init.el diff --git a/skel.init.el b/skel.init.el new file mode 100644 index 0000000..1055217 --- /dev/null +++ b/skel.init.el @@ -0,0 +1,37 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; File name: ` ~/.xemacs/init.el ' +;;; --------------------- +;;; +;;; Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany. +;;; +;;; Author: Werner Fink, 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/") +;;; diff --git a/xemacs.changes b/xemacs.changes index eb4489a..f5455a2 100644 --- a/xemacs.changes +++ b/xemacs.changes @@ -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 diff --git a/xemacs.spec b/xemacs.spec index 687dd75..8daaf03 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -37,7 +37,7 @@ Requires: xemacs-info xemacs-packages ctags Conflicts: gnuserv AutoReqProv: on Version: 21.5.28.20070807 -Release: 44 +Release: 46 Summary: XEmacs BuildRoot: %{_tmppath}/%{name}-%{version}-build # Howto get the cvs tree of XEmacs: @@ -60,6 +60,7 @@ Source3: xemacs.desktop Source4: xemacs.png Source5: suse-xft-init.el Source6: site-start.el +Source7: skel.init.el Patch0: xemacs.patch # 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 @@ -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 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 +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: 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 %defattr(-,root,root) +%dir /etc/skel/.xemacs +/etc/skel/.xemacs/init.el /usr/share/applications/xemacs.desktop %if %suse_version > 920 /usr/share/pixmaps/xemacs.png @@ -574,6 +579,8 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/share/xemacs/site-packages/lisp/term/ %changelog +* Fri Dec 14 2007 - ro@suse.de +- move /etc/skel/.xemacs/init.el to this package * Wed Dec 05 2007 - mfabian@suse.de - remove openldap2 from BuildRequires. * Tue Sep 04 2007 - mfabian@suse.de