Пакет emacs-base: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | # -*- coding: utf-8; mode: rpm-spec -*- # $Id: emacs-base.spec,v 1.10 2006/05/03 08:50:57 eugene Exp $ Name: emacs-base Version: 0.0.9 Release: alt1 Group: Editors Summary: Common site start scripts for GNU Emacs License: GPL Packager: Emacs Maintainers Team <emacs@packages.altlinux.org> BuildArch: noarch # for Fedora compatibility Provides: emacs-filesystem = 24 Provides: %_sysconfdir/emacs/site-start.d Provides: %_emacslispdir Provides: %_datadir/emacs Provides: %_datadir/emacs/etc Provides: emacsen-startscripts Obsoletes: emacsen-startscripts Conflicts: rootfiles <= alt-alt4 # from now on xemacs has its own start-scripts Conflicts: xemacs < 21.4.9 # pc-select.el is updated: Conflicts: emacs-common < 21.3-alt6 Conflicts: emacs21-common < 21.3-alt6 # Mdk's and ALT's global config merged: Source0: %name-ALT-%version.tar Source1: %name.buildreq %description The common site start scripts for Emacsen contain the default configuration for Emacsen suggetsted by ALT. It also implements a mechanism for installing additional Emacs Lisp modules at the site and making them visible for users. Administrators can add some scripts of their own to customize Emacsen even more. The start scripts are itnended to be excuted by GNU Emacs, so some of them contain Emacsen specific parts (embraced by special macros). This package is always installed if you install any of the Emacsen. The idea of compatibility with XEmacs has been dropped, XEmacs has its own configuration. %prep %setup -q -n emacs %install mkdir -p %buildroot%_sysconfdir/emacs/site-start.d install -m 644 site-start.el %buildroot%_sysconfdir/emacs install -m 644 site-start.d/* %buildroot%_sysconfdir/emacs/site-start.d # Buildreq filter for emacs. install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/buildreqs/files/ignore.d/%name mkdir -p %buildroot%_emacslispdir/site-start.d mkdir -p %buildroot%_datadir/emacs/etc %files %dir %_sysconfdir/emacs %dir %_sysconfdir/emacs/site-start.d # reserved for future use %dir %_emacslispdir/site-start.d %config(noreplace) %_sysconfdir/emacs/site-start.el %config(noreplace) %_sysconfdir/emacs/site-start.d/*.el %dir %_datadir/emacs %dir %_datadir/emacs/etc %dir %_emacslispdir %config %_sysconfdir/buildreqs/files/ignore.d/* %doc doc/inhibit-site-start.txt %lang(ru) %doc doc/inhibit-site-start.ru.txt # TODO: # 1. Добавить check-shadows? %changelog * Mon Dec 24 2018 Terechkov Evgenii <evg@altlinux.org> 0.0.9-alt1 - Fix to ALT#35809 * Fri Oct 23 2015 Igor Vlasenko <viy@altlinux.ru> 0.0.8-alt2 - Provides: emacs-filesystem = 24 * Fri Oct 23 2015 Igor Vlasenko <viy@altlinux.ru> 0.0.8-alt1 - added Provides: emacs-filesystem - added %_emacslispdir/site-start.d for the future use * Sat Sep 29 2007 Eugene Vlasov <eugvv@altlinux.ru> 0.0.7-alt1 - Removed 00auto-compr.el, 10fontlock.el, 10frames.el, 10more-cyrillic.el - Modified GNUEmacs macro for work with all version emacs - Removed next-line-add-newlines, mouse-wheel-follow-mouse, pc-select-selection-keys-only variables value modification - Fixed flyspell-mode-noerr function - Removed key bindings for \C-d, \M-O H, \M-O F - Removed hack for repair C-s when change XKB's group switch - Removed mouse wheel initialization, mouse-wheel-mode turned on by default - Cleaned up spec, removed %%__ macro * Wed May 03 2006 Eugene Vlasov <eugvv@altlinux.ru> 0.0.6-alt1 - Fixed load xterm-mouse-mode - Removed mode-line color modification for text terminals - Dropped loading of obsolete auto-show library - M-g is now prefix key, removed M-g binding to goto-line (use M-g g instead) * Sat Oct 22 2005 Eugene Vlasov <eugvv@altlinux.ru> 0.0.5-alt2 - el-pkgutils moved to emacs-devel - Added dir %_datadir/emacs/etc - Removed dir %_libdir/emacs - Added GNUEmacs21 and GNUEmacs22 macro - Simplify and cleanup spec * Fri Oct 21 2005 Igor Vlasenko <viy@altlinux.ru> 0.0.5-alt1 - patches merged in source - fixed el-pkgutils to pretend to work - x86_64, lib64 friendly: el-pkgutils moved to datadir * Thu Sep 22 2005 Eugene Vlasov <eugvv@altlinux.ru> 0.0.4-alt5 - Removed font-lock faces modification * Sat Sep 17 2005 Eugene Vlasov <eugvv@altlinux.ru> 0.0.4-alt4 - Modified GNUEmacs macro for work with emacs 22 too - Really fix #6841 * Thu Sep 15 2005 Igor Vlasenko <viy@altlinux.ru> 0.0.4-alt3 - fixed bug #6841 (syntax error) * Thu May 06 2004 Ott Alex <ott@altlinux.ru> 0.0.4-alt2 - Fix bug #2490 with XKB's groups and C-s * Sat Jan 10 2004 Ott Alex <ott@altlinux.ru> 0.0.4-alt1 - Move pkgtools from emacs-21.x * Wed Dec 17 2003 Ott Alex <ott@altlinux.ru> 0.0.3-alt5 - Provides /usr/share/emacs * Sun Nov 30 2003 Ott Alex <ott@altlinux.ru> 0.0.3-alt4 - Reorganize package to use as site-lisp holders - Rename to emacs-base * Tue Sep 16 2003 Ott Alex <ott@altlinux.ru> 0.0.3-alt3 - Provides site-start.d dir * Thu Feb 20 2003 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.3-alt2 - drop /root/.emacs: it is said to violate FHS 2.2 (perhaps, it will be moved back to rootfiles pkg). * Mon Jan 13 2003 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.3-alt1 - 00macros.el: added some means of avoiding loading too match in batch mode (e.g., when compiling el-files; partially fixes No. 0001503): + added {Interactive,Batch}-launch; + {X,TTY}launch: eval only if Emacs has been launched interactively; - 00auto-compr.el: turn auto(de)compression on -- moved from 10initial-features; - 10initial-features: eval only if launched interactively -- this will avoid the dependency on ispell when building other pkgs using emacs; * Mon Nov 18 2002 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.2-alt1 - site-start.el: make possible for users to override it as a whole, or each part from site-start.d/ -- more info in docs (Sergey Vlasov <vsu at altlinux.ru>; a move to default.el is our future); - 10selection.el, 10mouse.el: reflect the changes in emacs-21.2-alt11, pc-select should no more conflict with traditional selection keys; * Mon Nov 11 2002 Stanislav Ievlev <inger@altlinux.ru> 0.0.1-alt4 - rebuild * Fri Apr 13 2002 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.1-alt3 - provide /root/.emacs instead of rootfiles (based on skel.ru_RU.KOI8-R/.emacs with a lot of features turned off) - fixes \#808 at bugs.altlinux.ru; * Thu Feb 28 2002 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.1-alt2 - buildreq-ignore: add the main script /etc/emacs/site-start.el because we don't want this pkg to appear in dependencies. * Thu Feb 28 2002 Ivan Zakharyaschev <imz@altlinux.ru> 0.0.1-alt1 - initial version (0.0.1): extracted from emacs-common-21.1-alt11 (taken the scripts and the pattern for buildreq); - fix a typo in /etc/emacs/site-start.d/10mouse.el. # Local Variables: # compile-command: "rpmbuild -ba emacs-base.spec" # End: |