emacs23-vl.spec 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895
  1. %define emacsversion 23.4
  2. #% define rcversion rc1
  3. %define emacsrelease 1%{?rcversion:.%rcversion}%{?_dist_release}
  4. %define vine_default_major_version %(echo %_dist_release|%__sed s/vl//)
  5. %define _noVersionedDependencies 1
  6. %define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'PreReq:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
  7. %define infodir %{_infodir}/emacs-%{emacsversion}
  8. %define menutreeelversion 0.97
  9. Summary: GNU Emacs editor
  10. Summary(ja): GNU Emacs エディタ
  11. Name: emacs
  12. Version: %{emacsversion}
  13. Release: %{emacsrelease}
  14. Source0: ftp://ftp.gnu.org/pub/gnu/emacs/emacs-%{version}.tar.bz2
  15. #Source0: ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-%{emacsversion}%{?rcversion:-%rcversion}.tar.gz
  16. ## Sources from Rawhide 21.2-11
  17. Source10: site-start.el.emacs23
  18. Source11: python-mode.el
  19. Source12: http://www.tihlde.org/~stigb/rpm-spec-mode.el
  20. Source13: ftp://ftp.gnu.org/gnu/emacs/elisp-manual-21-2.8.tar.bz2
  21. # 1.0.2 - http://prdownloads.sourceforge.net/php-mode/php-mode-102.el
  22. Source14: php-mode.el
  23. Source15: php-mode-init.el
  24. Source16: ssl.el
  25. Source17: po-mode.el
  26. Source18: po-mode-init.el
  27. ## local settings for local system
  28. Source20: emacs23-local.el
  29. # desktop file
  30. Source50: emacs23.desktop.in
  31. ## Enable Japanese Menu
  32. ## http://www11.atwiki.jp/s-irie/pages/13.html
  33. Source100: menu-tree-el-%{menutreeelversion}.tar.gz
  34. Source110: menu-tree-init.el.emacs23
  35. ## default settings for Vine Linux
  36. Source150: vine-default-base.el
  37. Source151: vine-default-faces.el
  38. ## Vine Patch(es)
  39. Patch10: emacs-21.1-ppc-nocombreloc.patch
  40. Patch11: emacs-23.0.60-locallisppath.patch
  41. Patch20: emacs-23.1.90-fixed-resolution.patch
  42. # Fixed in upstream CVS. (from Fedora)
  43. #Patch30: emacs-23.1-scroll.patch
  44. #Patch31: emacs-23.1-indian.patch
  45. #Patch32: emacs-23.1-memmove.patch
  46. # Accepted by upstream.
  47. #Patch33: emacs-23.2-m17ncheck.patch
  48. # Fix rhbz#595546
  49. # Upstream: http://emacsbugs.donarmstrong.com/cgi/bugreport.cgi?bug=6158
  50. Patch34: emacs-23.2-hideshow-comment.patch
  51. # Reported upstream http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4129
  52. #Patch35: emacs-23.2-spacing.patch
  53. # http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/106247
  54. Patch36: emacs-23.3-wm-state-hidden.patch
  55. # rhbz#751154
  56. Patch37: emacs-23.3-xgselect.patch
  57. # http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/103228
  58. Patch38: emacs-23.1-103228_103227.patch
  59. # Upstream implemented the change in revno. 101105
  60. Patch40: emacs-23.1-xdg.patch
  61. # http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00387.html
  62. #Patch41: emacs-23.3-ede-cve-2012-0035.patch
  63. # security patches (from Debian)
  64. # security patches (from Ubuntu)
  65. # # http://www.vupen.com/english/advisories/2010/0734
  66. # # https://code.launchpad.net/~ubuntu-branches/ubuntu/karmic/emacs23/karmic-security
  67. # Patch501: emacs23-CVE-2010-0825-fix-movemail-race.diff
  68. # patches from Mandrake
  69. Patch1001: emacs-21.1-bzip2.patch.bz2
  70. License: GPLv3+
  71. Group: Applications/Editors/Emacs
  72. Distribution: Vine
  73. Vendor: Project Vine
  74. Packager: munepi, daisuke
  75. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  76. # Requires: tamago >= 4.0.6
  77. Obsoletes: mule-base, mule-canna, mule-wnn6, mule, emacs-beta
  78. Obsoletes: emacs21 <= 21.2-0vl7
  79. Obsoletes: emacs22 <= 22.0.50
  80. Obsoletes: emacs23 <= 23.0.91-2.20090325vl5
  81. Provides: emacs23 = %{version}
  82. Provides: emacsen = 0.1
  83. #% prereq_ge emacsen-common
  84. Requires(post): emacsen-common
  85. Requires(postun): emacsen-common
  86. BuildRequires: autoconf
  87. %if %{?_dist_release} == "vl6" || %{?_dist_release} == "vl7"
  88. BuildRequires: atk-devel
  89. BuildRequires: dbus-devel GConf2-devel
  90. BuildRequires: alsa-lib-devel
  91. %endif
  92. BuildRequires: gtk2-devel, cairo-devel
  93. BuildRequires: freetype-devel, fontconfig-devel
  94. BuildRequires: libpng-devel, libjpeg-devel, libtiff-devel, libungif-devel
  95. ##!! For vl5, m17n-lib-devel (plus)
  96. BuildRequires: librsvg2-devel, libotf-devel
  97. %if %{?_dist_release} == "vl6" || %{?_dist_release} == "vl7"
  98. BuildRequires: m17n-lib-devel
  99. %endif
  100. BuildRequires: libX11-devel, libXau-devel, libXdmcp-devel, libXrender-devel
  101. BuildRequires: libXt-devel, libXpm-devel, ncurses-devel
  102. BuildRequires: xorg-x11-proto-devel, zlib-devel
  103. BuildRequires: texinfo
  104. BuildRequires: nkf
  105. %description
  106. GNU Emacs is the extensible, customizable, self-documenting real-time
  107. display editor.
  108. %description -l ja
  109. GNU Emacs は拡張性が高く、さまざまなカスタマイズが可能な高機能エディタです。
  110. %prep
  111. %setup -q -n emacs-%{version}
  112. %ifarch ppc
  113. #%patch10 -p1
  114. %endif
  115. %patch11 -p1
  116. %patch20 -p1
  117. #%patch30 -p1 -b .scroll
  118. #%patch31 -p1
  119. #%patch32 -p1 -b .memmove
  120. #%patch33 -p1 -b .m17ncheck
  121. %patch34 -p0 -b .hideshow-comment
  122. #%patch35 -p1 -b .spacing
  123. %patch36 -p1 -b .wm-state-hidden
  124. %patch37 -p1 -b .xgselect
  125. %patch38 -p0 -b .svn17
  126. %patch40 -p1 -b .xdg
  127. #%patch41 -p1 -b .ede-cve-2012-0035
  128. #%patch501 -p1 -b .movemail
  129. %patch1001 -p1
  130. autoconf
  131. %build
  132. export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS"
  133. #to find installinfo
  134. export PATH="$PATH:/sbin:/usr/sbin"
  135. %configure --with-pop --with-sound \
  136. --libexecdir=%{_libdir} --infodir=%{infodir} \
  137. --disable-rename \
  138. --with-toolkit=gtk \
  139. --with-freetype --with-xft \
  140. --enable-font-backend \
  141. --without-gpm \
  142. --with-libotf \
  143. %if %{?_dist_release} == "vl5"
  144. --without-m17n-flt \
  145. %endif
  146. %if %{?_dist_release} == "vl6" || %{?_dist_release} == "vl7"
  147. --with-m17n-flt \
  148. --with-dbus --with-gconf \
  149. %endif
  150. ;
  151. %__make bootstrap
  152. %__make %{?_smp_mflags}
  153. #%define recompile src/emacs -batch --no-init-file --no-site-file -f batch-byte-compile
  154. # recompile patched .el files
  155. #%{recompile} lisp/mail/mh-utils.el lisp/progmodes/make-mode.el
  156. # bytecompile python-mode, ssl, php-mode and rpm-spec-mode
  157. #cp %SOURCE12 %SOURCE14 %SOURCE16 %SOURCE17 .
  158. ##%%{recompile} rpm-spec-mode.el php-mode.el ssl.el po-mode.el
  159. %install
  160. [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
  161. ARCHDIR=${RPM_ARCH}-vine-linux
  162. %makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir} \
  163. infodir=${RPM_BUILD_ROOT}%{infodir}
  164. ## This is a duplicate of the file in FLAVOR/site-lisp
  165. %__rm -f $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/subdirs.el || exit 1
  166. (cd $RPM_BUILD_ROOT%{_mandir}/man1/; %__mv ctags.1 gctags.1)
  167. (cd $RPM_BUILD_ROOT%{_bindir}/; %__mv ctags gctags)
  168. %__mkdir_p $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/etc
  169. %__mkdir_p $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp
  170. # cp %{SOURCE100} $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp/menu-tree.el
  171. # nkf -w %{SOURCE100} > $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp/menu-tree-utf8.el
  172. %__tar zxvf %{SOURCE100}
  173. %__cp -a menu-tree-el-%{menutreeelversion}/menu-tree.el $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp/
  174. nkf -w --overwrite $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp/menu-tree.el
  175. ## vine default
  176. %__cp -a %{SOURCE150} %{SOURCE151} \
  177. $RPM_BUILD_ROOT%{_datadir}/emacs-%{version}/site-lisp/
  178. # The elisp reference manual
  179. #bzcat %{SOURCE13} | tar xf -
  180. #pushd elisp-manual-21-2.8
  181. #install -m 644 elisp elisp-? elisp-?? $RPM_BUILD_ROOT/%{infodir}
  182. #popd
  183. # some modifications of installed files
  184. #rm -f $RPM_BUILD_ROOT%{infodir}/dir
  185. #gzip -9nf $RPM_BUILD_ROOT%{infodir}/*
  186. %__install -m 644 %{SOURCE10} \
  187. $RPM_BUILD_ROOT/%{_datadir}/emacs-%{version}/site-lisp/site-start.el
  188. %__sed -i -e 's/EMACS_VERSION/%{version}/g' \
  189. -e 's/VINE_DEFAULT_MAJOR_VERSION/%{vine_default_major_version}/g' \
  190. $RPM_BUILD_ROOT/%{_datadir}/emacs-%{version}/site-lisp/site-start.el
  191. ## create site-start.d directory
  192. %__install -m 755 -d ${RPM_BUILD_ROOT}/etc/emacs-%{version}/site-start.d
  193. # install coding-system init.el
  194. %__install -m644 %{SOURCE110} \
  195. $RPM_BUILD_ROOT/%{_datadir}/emacs-%{version}/site-lisp/menu-tree-init.el
  196. %__ln_s -f %{_datadir}/emacs-%{version}/site-lisp/menu-tree-init.el \
  197. ${RPM_BUILD_ROOT}/etc/emacs-%{version}/site-start.d/60menu-tree-init.el
  198. ## install system-wide configure file
  199. %__install -m755 -d ${RPM_BUILD_ROOT}/etc/emacs
  200. %__install -m644 %{SOURCE20} ${RPM_BUILD_ROOT}/etc/emacs/emacs23-local.el
  201. %__sed -i -e 's/EMACS_VERSION/%{version}/g' \
  202. ${RPM_BUILD_ROOT}/etc/emacs/emacs23-local.el
  203. ## Python mode, php mode and rpm-spec mode
  204. ## make file list
  205. strip $RPM_BUILD_ROOT%{_bindir}/* || :
  206. # install desktop file
  207. %__mkdir_p $RPM_BUILD_ROOT%{_datadir}/applications
  208. %__sed -e "s/@@EMACS_VERSION@@/%{emacsversion}/g" %{SOURCE50} > \
  209. $RPM_BUILD_ROOT%{_datadir}/applications/$(basename %{SOURCE50} .in)
  210. [ -f $RPM_BUILD_ROOT%{_datadir}/applications/emacs.desktop ] && \
  211. %__rm -f $RPM_BUILD_ROOT%{_datadir}/applications/emacs.desktop || exit 1
  212. # install icons
  213. %__mkdir_p $RPM_BUILD_ROOT%{_datadir}/icons
  214. %__cp -a etc/images/icons/hicolor $RPM_BUILD_ROOT%{_datadir}/icons/
  215. ## remove man files
  216. %__rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/* || exit 1
  217. ## Remove ctags
  218. #rm -f $RPM_BUILD_ROOT/usr/bin/ctags
  219. #rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/*ctags*
  220. #rm -f $RPM_BUILD_ROOT/%{_datadir}/emacs/%{version}/etc/ctags*
  221. DIR="${RPM_BUILD_ROOT}%{_datadir}/emacs \
  222. ${RPM_BUILD_ROOT}%{_datadir}/emacs-%{version}"
  223. BIN=${RPM_BUILD_ROOT}%{_bindir}
  224. LIB=${RPM_BUILD_ROOT}%{_libdir}
  225. EL="*.el"
  226. ## prepare file list for emacs
  227. echo "/usr/bin/b2m
  228. /usr/bin/ebrowse
  229. /usr/bin/etags
  230. /usr/bin/rcs-checkin
  231. /usr/bin/emacs
  232. /usr/bin/emacsclient
  233. /usr/bin/gctags
  234. /usr/bin/grep-changelog
  235. /usr/share/icons/hicolor/scalable/apps/emacs.svg
  236. /usr/share/icons/hicolor/scalable/mimetypes/emacs-document.svg"|
  237. %__sed -e "s#[^\n]*#mv ${RPM_BUILD_ROOT}\0 ${RPM_BUILD_ROOT}\0.emacs-%{version}#"|
  238. awk '{system($_)}'
  239. # find ${RPM_BUILD_ROOT}/%{_mandir} -type f |
  240. # sed -e "s#\.gz##"|
  241. # sed -e "s#[^\n]*#mv \0.gz \0-emacs-%{version}.gz#"|
  242. # awk '{system($_)}'
  243. #find ${RPM_BUILD_ROOT}/%{_infodir} -type f |
  244. #sed -e "s#\.gz##"|
  245. #sed -e "s#[^\n]*#mv \0.gz \0-e21.gz#"|
  246. # awk '{system($_)}'
  247. find $DIR $BIN $LIB -type d |
  248. %__sed -e "s#^${RPM_BUILD_ROOT}#%dir #" > rpm-files
  249. find $DIR $BIN $LIB -type f |
  250. %__sed -e "
  251. s#^${RPM_BUILD_ROOT}\(.*movemail\)#%attr(2755, root, mail) \1#
  252. s#^${RPM_BUILD_ROOT}##
  253. " >> rpm-files
  254. %clean
  255. [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
  256. %define info_files ccmode cl dired-x ediff emacs forms gnus info message mh-e reftex sc vip viper widget
  257. %pre
  258. if [ -L %{_datadir}/emacs-%{version}/site-lisp ] ; then
  259. %__rm -f %{_datadir}/emacs-%{version}/site-lisp
  260. fi
  261. if [ -d %{_datadir}/emacs/%{version}/site-lisp ] ; then
  262. find %{_datadir}/emacs/%{version}/site-lisp/* -maxdepth 0 | grep -v subdirs.el | \
  263. xargs %__rm -rf
  264. fi
  265. %post
  266. if [ "$1" = 1 ]; then
  267. %_addflavorslist emacs-%{version}
  268. export PRIORITY=40
  269. %_installemacs emacs-%{version}
  270. unset PRIORITY
  271. fi
  272. if [ "$1" = 2 ]; then
  273. # export PRIORITY=40
  274. # %_installemacs emacs-%{version}
  275. # unset PRIORITY
  276. echo emacs-%{version} > /var/lib/emacsen-common/doinstaflavor-emacs
  277. fi
  278. %postun
  279. if [ $1 = 1 ]; then
  280. # run upgrade install time
  281. # old version uninstall
  282. %_removeflavorslist emacs-%{version}
  283. %_removeemacs emacs-%{version}
  284. #new version install
  285. if [ -f /var/lib/emacsen-common/doinstaflavor-emacs ] ; then
  286. NEWFLAVOR=$(cat /var/lib/emacsen-common/doinstaflavor-emacs)
  287. %_addflavorslist $NEWFLAVOR
  288. export PRIORITY=40
  289. %_installemacs $NEWFLAVOR
  290. unset PRIORITY
  291. %__rm -rf /var/lib/emacsen-common/doinstaflavor-emacs
  292. fi
  293. fi
  294. %preun
  295. if [ $1 = 0 ]; then
  296. %_removeflavorslist emacs-%{version}
  297. %_removeemacs emacs-%{version}
  298. fi
  299. %triggerpostun -- emacs23 < %{version}-%{release}
  300. %_addflavorslist emacs-%{version}
  301. export PRIORITY=40
  302. %_installemacs emacs-%{version}
  303. unset PRIORITY
  304. %files -f rpm-files
  305. %defattr(-,root,root)
  306. %doc INSTALL README BUGS ChangeLog
  307. %dir %{_sysconfdir}/emacs-%{version}
  308. %dir %{_sysconfdir}/emacs-%{version}/site-start.d
  309. %{_sysconfdir}/emacs-%{version}/site-start.d/*.el
  310. %config(noreplace) %{_sysconfdir}/emacs/emacs23-local.el
  311. %{_infodir}/*
  312. # %{_mandir}/*/*
  313. %{_datadir}/applications/emacs23.desktop
  314. %{_datadir}/icons/hicolor/*
  315. # %{_datadir}/emacs-%{version}/site-lisp
  316. %dir %{_localstatedir}/games/emacs
  317. %{_localstatedir}/games/emacs/*
  318. %changelog
  319. * Mon Jan 30 2012 Munehiro Yamamoto <munepi@vinelinux.org> 23.4-1
  320. - update to 23.4
  321. * Sat Jan 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 23.3-5
  322. - added patch41 to handle CVE-2012-0035: CEDET global-ede-mode file loading
  323. vulnerability (rhbz#773024)
  324. * Fri Jan 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 23.3-4
  325. - update to 23.3b
  326. - add patch36: Check for _NET_WM_STATE_HIDDEN (rhbz#711739)
  327. - add patch37: Initialize xgselect in function xg_select when
  328. gfds_size == 0 (rhbz#751154)
  329. - add patch38: Apply upstream Subversion >= 1.7 dir structure
  330. fix for vc-svn.el.
  331. - add patch40: use xdg-open for opening URLs
  332. * Tue Apr 05 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.3-3
  333. - updated site-start.el
  334. - defined vine-default-major-version, vine-default-minor-version,
  335. vine-default-version
  336. - set "ibus-el" to emacs-ime as default
  337. - added a string ", modified for Vine Linux" to the end of emacs-build-system
  338. - set "Vine _at_mark_ vinelinux.org" to report-emacs-bug-address
  339. * Sun Apr 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.3-2
  340. - fixed site-start.el
  341. - do not use the macro loop (contained in the common lisp)
  342. * Fri Mar 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.3-1
  343. - new upstream release
  344. * Tue Mar 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.3-1.rc1
  345. - updated to 23.3-rc1 (23.3 release candidate)
  346. * Tue Feb 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.2.94-1
  347. - updated to 23.2.94 (23.3 pretest)
  348. - updated site-start.el
  349. - defined the function drop-vine-default-from-load-path (regex)
  350. * Wed Feb 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.2.93-1
  351. - updated to 23.2.93 (23.3 pretest)
  352. * Sat Jan 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 23.2.92-1
  353. - updated to 23.2.92 (23.3 pretest)
  354. - dropped upstreamed patches
  355. - emacs-23.2-m17ncheck.patch
  356. - emacs-23.2-spacing.patch
  357. * Sun Dec 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.2-5
  358. - applied new vine-default system
  359. - updated site-start.el
  360. - updated vine-default-{base,faces}.el
  361. - dropped showvdefaultemacs
  362. - merged to emacsen-common package as show-vine-default.sh
  363. - renamed local wide configration file to emacs23-local.el
  364. - updated menu-tree.el to version 0.97
  365. - updated emacs23.desktop.in and menu-tree-init.el.emacs23, little
  366. * Sat Oct 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.2-4
  367. - updated vine-default-base.el
  368. - changed the variable next-line-add-newlines to nil (default)
  369. * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.2-3
  370. - updated menu-tree.el to version 0.96
  371. * Sat Jul 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.2-2
  372. - applied some patches from Fedora
  373. - Fixed handling of dual spacing fonts rhbz#599437
  374. - Add patch to fix rhbz#595546 hideshow library matches wrong parenthesis
  375. under certain circumstances
  376. - Added a patch fixing m17n and libotf version checking (m17ncheck)
  377. - updated menu-tree.el to version 0.95
  378. - merged emacs23-vl.spec of Vine Linux 5.1
  379. #* Thu Apr 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-9
  380. #- applied security fix emacs23-CVE-2010-0825-fix-movemail-race.diff from Ubuntu
  381. #
  382. #* Fri Feb 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-8
  383. #- added Requires(post): emacsen-common, Requires(postun): emacsen-common
  384. #
  385. #* Fri Feb 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-7
  386. #- dropped BuildRequires: m17n-lib-devel
  387. #- added --without-m17n-flt in %%configure
  388. * Mon May 31 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.2-1
  389. - new upstream release
  390. - updated menu-tree.el to version 0.94
  391. - updated menu-tree-init.el.emacs23
  392. - used prefer-coding-system
  393. * Wed Apr 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.96-1
  394. - updated to 23.1.96 (23.2 pretest)
  395. * Sun Apr 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.95-2
  396. - removed /usr/share/emacs/site-lisp/subdirs.el
  397. * Sat Apr 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.95-1
  398. - updated to 23.1.95 (23.2 pretest)
  399. - added BuildRequires:
  400. - atk-devel
  401. - dbus-devel
  402. - GConf2-devel
  403. - alsa-lib-devel
  404. - added some configure options:
  405. --with-libotf --with-m17n-flt --with-dbus --with-gconf
  406. * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.94-1
  407. - updated to 23.1.94
  408. * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.93-1
  409. - updated to 23.1.93 alpha
  410. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.92-2
  411. - added Requires(post): emacsen-common, Requires(postun): emacsen-common
  412. * Tue Feb 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1.92-1
  413. - update to 23.1.92 alpha
  414. * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-6
  415. - added BuildRequires:
  416. - librsvg2-devel
  417. - m17n-lib-devel
  418. - libotf-devel
  419. * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-5
  420. - changed License to GPLv3+
  421. - renamed emacs23.desktop to emacs23.desktop.in
  422. - updated vine-default-base.el (See [vine-users:079919])
  423. - fixed in upstream CVS (from Fedora)
  424. - fix #543046 - Using scroll bar in emacs highlights/selects text
  425. - fix #542657 - emacs does not display indic text
  426. - Fixed rhbz#545398 - ETags messes up filenames
  427. * Tue Sep 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-4
  428. - rebuilt to add signature
  429. * Fri Aug 19 2009 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-3
  430. - added BuildRequires: nkf
  431. - updated menu-tree-init.el.emacs23
  432. - fixed menu-tree encoding <BTS:VineLinux:766>
  433. - set Exec=emacs-@@EMACS_VERSION@@ in emacs23.desktop
  434. * Wed Aug 19 2009 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-2
  435. - replaced BR: libungif-devel with BR: giflib-devel
  436. * Sat Aug 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 23.1-1
  437. - new upstream release
  438. * Sat Jul 25 2009 Munehiro Yamamoto <munepi@vinelinux.org> 23.0.96-2.20090714
  439. - updated vine-default-faces.el to sync with emacs22
  440. * Tue Jul 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 23.0.96-1.20090714
  441. - update to 23.0.96 (20090714) snapshot
  442. - update vine-default-faces.el
  443. - use bash to call gconftool-2
  444. * Sat Jun 27 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.94-4.20090527
  445. - update vine-default-faces.el
  446. - added \'font in default-frame-alist
  447. (if \'font is already in default-frame-alist, overwrited it)
  448. * Wed Jun 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.94-3.20090527
  449. - update vine-default-faces.el:
  450. - use set-frame-font
  451. bacause set-default-font function is obsolete since Emacs 23.1
  452. (See M-x describe-function RET set-default-font)
  453. * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.94-2.20090527
  454. - update vine-default-faces.el:
  455. - set desktop-gnome-interface-monospace-font-name
  456. from /desktop/gnome/interface/monospace_font_name
  457. - automatically set set-default-font
  458. with desktop-gnome-interface-monospace-font-name
  459. * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 23.0.94-1.20090527
  460. - update to emacs-23.0.94 (20090527) snapshot
  461. - add --without-gpm to configure
  462. * Thu May 21 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-7.20090422
  463. - defined show-vine-default function in site-start.el
  464. - added showvdefaultemacs script
  465. * Wed May 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-6.20090422
  466. - set PRIORITY=40
  467. * Wed May 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-5.20090422
  468. - changed menu-tree-init.el from hard copy to symbolic link
  469. on /etc/emacs-23.0.92/site-start.d
  470. - added %%{_mandir}/*/* in %%files section
  471. * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-4.20090422
  472. - updated menu-tree.el to v0.93
  473. * Fri May 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-3.20090422
  474. - returned alternatives priority to 30
  475. (emacs: 30, emacs22: 30)
  476. * Sun Apr 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.92-2.20090422
  477. - installed system-wide configure file in /etc/emacs
  478. - updated vine-default-base.el
  479. - changed alternatives priority from 30 to 50
  480. (emacs: 50, emacs22: 30)
  481. * Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 23.0.92-1.20090422
  482. - update to emacs 23.0.92 (20090422) snapshot
  483. - add %%triggerpostun to fix alternatives
  484. * Tue Apr 21 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.91-3.20090325
  485. - renamed from emacs23 to emacs (emacs-22.x would be renamed to emacs22)
  486. - updated default settings for Vine Linux
  487. - dropped vine-default-mouse.el, vine-default-misc.el
  488. * Sat Apr 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 23.0.91-2.20090325
  489. - enable default settings for Vine Linux
  490. - added site-start.el.emacs23
  491. - updated site-start.el
  492. - added vine-default-base.el, vine-default-faces.el, vine-default-mouse.el,
  493. vine-default-misc.el
  494. * Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 23.0.91-1.20090325
  495. - emacs23 23.0.91 snapshot
  496. * Tue Sep 09 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 23.0.60-2.20080908
  497. - drop patch10
  498. - s/emacsrelese/emacsrelease/
  499. * Mon Sep 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 23.0.60-1.20080908
  500. - emacs23 23.0.60 snapshot
  501. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.3-1
  502. - new upstream release
  503. * Mon Aug 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 22.2-3
  504. - import security fixes from Debian
  505. CVE-2008-2142: fix insecure setting of fast-lock-cache-directories
  506. CVE-2008-1694: fix insecure temporary file creation in vcdiff script
  507. leading to possible symlink attacks
  508. * Tue Jun 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.2-2
  509. - update menu-tree.el
  510. - add 60menu-tree-init.el to sed coding-system and load menu-tree
  511. - build with xorg-x11-7.3
  512. - update BuildRequires
  513. * Sun Mar 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 22.2-1
  514. - new upstream release
  515. * Wed Nov 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 22.1-0vl2
  516. - add Patch10000 to fix local variable processing security bypass
  517. vulnerability.
  518. - http://www.frsirt.com/english/advisories/2007/3715
  519. - http://bugs.debian.org/449008
  520. * Mon Jun 04 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 22.1-0vl1
  521. - new upstream release
  522. - rename to emacs from emacs22 (emacs-21.x would be renameed to emacs21)
  523. - drop emcws support
  524. * Sun May 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 22.0.50-0.20060403vl3
  525. - rebuilt with new toolchain
  526. * Sat May 06 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.0.50-0.20060403vl2
  527. - changed Group:
  528. * Mon Apr 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 22.0.50-0.20060403vl1
  529. - update to CVS-20060403
  530. - update emacs22.desktop
  531. * Wed Sep 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 22.0.50-0.20050927vl2
  532. - fix site-start.el
  533. * Tue Sep 27 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 22.0.50-0.20050927vl1
  534. - update to CVS-20050927
  535. * Thu Sep 8 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 22.0.50-0.20050907vl1
  536. - initial build for Vine Linux based on emacs package.
  537. - emacs-22.0.50 on CVS-20050907
  538. * Sat Sep 3 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.4-0vl3
  539. - create site-start.d directory on %install
  540. * Thu Feb 17 2005 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 21.4-0vl2
  541. - included leim-21.4
  542. - update emcws-21.3-20031213.gz
  543. * Wed Feb 16 2005 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 21.4-0vl1
  544. - update
  545. * Sat Jul 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 21.3-0vl7
  546. - rebuild with Xaw3d, add BuildRequires: Xaw3d-devel
  547. * Fri Jul 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 21.3-0vl6
  548. - add Patch20 to fix display resolutions. (set to 96dpi)
  549. (do not compute dynamically from display's size)
  550. * Tue Mar 16 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.3-0vl5
  551. - rebuilt with new toolchain environment
  552. * Thu Jul 17 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 21.3-0vl4
  553. - use site-start.el(reading /etc/emacs-21.3/site-start.d/*.el)
  554. * Wed May 7 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 21.3-0vl3
  555. - add BuildPrereq: libpng >= 1.2.5
  556. * Tue Apr 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 21.3-0vl2
  557. - fixed %%pre script
  558. * Tue Mar 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 21.3-0vl1
  559. - new upstream release
  560. - remove patch14 whick included in upstream
  561. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl11
  562. - add patch14 to fix frame title text encoding.
  563. - http://tsukuba.m17n.org/mule-ja-archive/2002-10/msg00004.html
  564. * Tue Dec 10 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.2-0vl10
  565. - autoconf-2.13, not autoconf in %%setup section
  566. - BuildPreReq: autoconf213
  567. * Mon Dec 9 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl9
  568. - modifiy rpm scripts.
  569. * Mon Dec 9 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl8
  570. - rename to emacs
  571. - obsoletes emacs21 <= 21.2-0vl7, provides emacs21 = %%{version}
  572. * Sun Dec 1 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl7
  573. - enable menubar fontset patch (Patch103)
  574. * Sat Nov 30 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl6
  575. - add requires/buildprereq tags.
  576. * Sat Nov 30 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 21.2-0vl5
  577. - add emcws-20021014
  578. * Sun Jul 21 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 21.2-0vl4
  579. - removed *-mode
  580. * Sat Jul 20 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 21.2-0vl3
  581. - python-mode was made pending
  582. - some additional *.el files was moved from "emacs/site-lisp" to
  583. "emacs-(version)/site-lisp"
  584. * Sat Jul 13 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 21.2-0vl2
  585. - added some sources and patches from rawhide 21.2-11 and mandrake 21.2-7mdk
  586. * Sat May 11 2002 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 21.2-0vl1
  587. - update.
  588. - Package Name emacs-beta -> emacs21
  589. - Add Patch100,101,102, Source100(default = Disable)
  590. - (from http://phe.phyas.aichi-edu.ac.jp/~cyamauch/pl2.html#emacs21)
  591. - --infodir=%{_infodir}/emacs-21.2(VineSeed-Plus:00723)
  592. * Thu Dec 27 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.1-0vl7
  593. - site-lisp moved under /usr/share/emacs-21.1/ (Patch11 and %%pre section)
  594. * Thu Dec 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.1-0vl5
  595. - move /tmp -> /var/lib/emacsen-common (IP(package)C file)
  596. * Fri Nov 02 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> 21.1-0vl4
  597. - replace patch10 with patch11, posted to gnu.emacs.bug
  598. Message-Id: <jebsiza3db.fsf@sykes.suse.de>
  599. (reported by ABE Yuji <cbo46560@pop12.odn.ne.jp>)
  600. * Fri Oct 26 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.1-0vl3
  601. - fixed build to fail in alpha( only apply patch0 to ppc)
  602. * Tue Oct 23 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 21.1-0vl2
  603. - added Patch10 (thanks Kitame-san)
  604. * Mon Oct 22 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.1-0vl1
  605. - update to 21.1
  606. * Sun Sep 9 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.104-0vl14
  607. - support shared installing otheremacsen.
  608. * Mon Jul 23 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.104-0vl3
  609. - update 21.0.104
  610. * Thu Jul 19 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.103-0vl2
  611. - support emacsen-common
  612. * Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  613. - 21.0.103-0vl1
  614. - updated to 21.0.103
  615. - revamped and cleaned up spec file :-)
  616. - Requires: tamago >= 4.0.6 (...is it reasonable? Mmm...)
  617. * Mon Jan 22 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.95-0vl2
  618. - fixed .spec bugs( _libdir)
  619. * Fri Jan 12 2001 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.95-0vl1
  620. - updated to 21.0.95
  621. * Wed Dec 20 2000 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.93-0vl3
  622. - fixed emacs-beta.spec
  623. * Sat Dec 16 2000 Kazuhisa TAKEI <takei@vinelinux.org> 21.0.93-0vl2
  624. - 21.0.93 test packaging.
  625. * Fri Jun 30 2000 T.R. Kobayashi <tkoba@ike-dyn.ritsumei.ac.jp>
  626. - added linespace-patch
  627. * Mon Jun 19 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  628. - updated to emacs 20.7
  629. * Thu Apr 20 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  630. - updated to emacs 20.6
  631. * Mon Feb 28 2000 kenji KITAYAMA <kenji@gandalf.doshisha.ac.jp>
  632. - [emacs-20.5a-2]
  633. - Modified reference of Emacs Info
  634. * Sun Jan 23 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  635. - [emacs-20.5a-2]
  636. - added ppc patch
  637. * Fri Jan 7 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  638. - [emacs-20.5a-1]
  639. - change version from 20.5 to 20.5a
  640. - added Mule-4.1 patch
  641. * Fri Jan 7 2000 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
  642. - [emacs-20.5-1]
  643. - add desktop-link files for desktop menu.
  644. * Thu Dec 24 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  645. - [emacs-20.4-16]
  646. - replaced Y2K savvy timezone.{el,elc} with one from brand-new apel-10.0
  647. * Tue Dec 21 1999 Jun Nishii <jun@vinelinux.org>
  648. - added documents
  649. - strip bins
  650. * Wed Dec 1 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  651. - [emacs-20.4-14]
  652. - Change Group to Applications/Editors/Emacs
  653. * Sat Nov 6 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  654. - [emacs-20.4-13]
  655. - included Y2K savvy timezone.{el,elc},
  656. modified by Mr. Youichi Teranishi <teranishi@gohome.org>
  657. * Tue Oct 12 1999 Yasuhide OOMORI <dasen@typhoon.co.jp>
  658. - [emacs-20.4-12]
  659. - Modified info-dir.
  660. - Removed -c option from %setup.
  661. * Sun Sep 20 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  662. - fixed XIM support patch
  663. * Sun Sep 19 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  664. - fixed postinst bug and fontset patch
  665. * Sun Jul 18 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  666. - first build