vim-vl.spec 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213
  1. # version, patch version
  2. %define vimversion 8.0
  3. %define vimsrcpversion 586
  4. %define vimpversion 599
  5. %define vimsubdir vim%(echo %{vimversion} | sed -e's/\\.//')
  6. %define vimdir %{vimsubdir}
  7. %define binprefix /
  8. %define x11prefix /usr
  9. %define vimrcloc %{_sysconfdir}/vim
  10. %define vimruntime %{_datadir}/vim
  11. %define configopts --bindir='${exec_prefix}/bin' --disable-gpm
  12. %define features_x11 --exec-prefix=%{_prefix} --with-x=yes --enable-gui=gtk2 --enable-xim --enable-fontset
  13. %define features_nox11 --exec-prefix=%{_prefix} --with-x=no --enable-gui=no
  14. %define features_huge --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-luainterp
  15. %define features_big --with-features=big --enable-multibyte
  16. %define features_normal --with-features=normal --enable-multibyte
  17. %define features_tiny --exec-prefix=%{binprefix} --with-features=tiny --enable-multibyte --with-tlib=tinfo
  18. Summary: Vi IMproved - enhanced vi editor
  19. Summary(ja): Vi IMproved - 改良された vi エディタ
  20. Name: vim
  21. License: Vim
  22. Group: Applications/Editors
  23. URL: http://www.vim.org/
  24. %if %{vimpversion}
  25. Version: %{vimversion}.%{vimpversion}
  26. %else
  27. Version: %{vimversion}
  28. %endif
  29. Release: 1%{?_dist_release}
  30. Distribution: Vine Linux
  31. Vendor: Project Vine
  32. Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{vimversion}.%{vimsrcpversion}.tar.bz2
  33. # gvim desktop file
  34. Source100: gvim.desktop
  35. Source101: gvim16.png
  36. Source102: gvim32.png
  37. Source103: gvim48.png
  38. Source104: gvim64.png
  39. Source300: vimrc.ja
  40. Source400: format.vim
  41. Source401: verifyenc.vim
  42. # http://trac.vinelinux.org/wiki/SpecTemplates/PlainPackage
  43. Source500: template.spec.vine
  44. Patch2002: vim-7.0-fixkeys.patch
  45. Patch2003: vim-8.0-specsyntax.patch
  46. # Patches 1000 and up are patches from the base maintainer.
  47. # If you're as lazy as me, generate the list using
  48. # for i in seq 1 154; do printf "Patch%04d: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.%04d\n" $i $i; done > vimpatches
  49. Patch0587: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0587
  50. Patch0588: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0588
  51. Patch0589: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0589
  52. Patch0590: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0590
  53. Patch0591: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0591
  54. Patch0592: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0592
  55. Patch0593: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0593
  56. Patch0594: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0594
  57. Patch0595: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0595
  58. Patch0596: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0596
  59. Patch0597: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0597
  60. Patch0598: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0598
  61. Patch0599: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.0599
  62. Patch2010: xxd-locale.patch
  63. Patch3000: vim-7.4-syntax.patch
  64. Patch3002: vim-7.1-nowarnings.patch
  65. Patch3003: vim-6.1-rh3.patch
  66. #Patch3004: vim-7.0-rclocation.patch
  67. Patch3006: vim-8.0-checkhl.patch
  68. Patch3007: vim-7.4-fstabsyntax.patch
  69. Patch3009: vim-7.0-warning.patch
  70. Patch3010: vim-7.0-syncolor.patch
  71. Patch3011: vim-8.0-specedit.patch
  72. Patch4000: vim-7.2-fix-menu.patch
  73. # Patch4010: vim-7.3-enable-syntax.patch
  74. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  75. BuildRequires: ruby, ruby-devel, python-devel, perl, gtk2-devel, ncurses-devel, autoconf, libtool, net-tools, pixman-devel, libXt-devel
  76. BuildRequires: lua-devel
  77. %if "%{?_dist_release}" != "vl5"
  78. BuildRequires: glibc-static
  79. %endif
  80. Requires(post): alternatives
  81. Requires: vim-common = %{version}
  82. %description
  83. VIM (VIsual editor iMproved) is an updated and improved version of the
  84. vi editor. Vi was the first real screen-based editor for UNIX, and is
  85. still very popular. VIM has many new features including:
  86. multiple windows, multi-level undos, block highlighting and more.
  87. vim-normal package provides a VIM executable configured
  88. with essential features enabled.
  89. %description -l ja
  90. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  91. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  92. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  93. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  94. トなどです.
  95. このパッケージでは最も基本的な機能を含んだVIMが提供されます.
  96. %package common
  97. Summary: Common files needed by the non-X VIM packages
  98. Summary(ja): 各種の VIM パッケージに必要なファイル
  99. Group: Applications/Editors
  100. Requires: gawk
  101. Conflicts: vim-X11 < 6.0, vim-enhanced < 6.0, vim-minimal < 6.0
  102. %description common
  103. vim-common package contains files which every VIM binary packages will
  104. need in order to run. VIM itself is included in various packages (under
  105. every different configuration) such as:
  106. * vim - normal features
  107. * vim-big - big features
  108. * vim-huge - huge features and Ruby/Perl/Python support
  109. %package man
  110. Summary: Man pages for the VIM editor
  111. Summary(ja): VIM エディタの man ページ
  112. Group: Applications/Documentation
  113. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1
  114. %description man
  115. This package contains man pages for the VIM editor.
  116. %description -l ja man
  117. このパッケージはVIMエディタのmanページを含んでいます.
  118. %package tiny
  119. Summary: A minimal version of the VIM editor
  120. Summary(ja): 最小構成の VIM エディタ
  121. Group: Applications/Editors
  122. Requires(post): alternatives
  123. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1, vim-minimal
  124. Obsoletes: vim-minimal
  125. %description tiny
  126. VIM (VIsual editor iMproved) is an updated and improved version of the
  127. vi editor. Vi was the first real screen-based editor for UNIX, and is
  128. still very popular. VIM has many new features including:
  129. multiple windows, multi-level undos, block highlighting and more.
  130. vim-tiny package contains /bin/vi, a minimally configured version
  131. of the VIM. It may be handy when only the root partition is present.
  132. vim-common package is NOT needed to run this program.
  133. %description -l ja tiny
  134. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  135. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  136. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  137. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  138. トなどです.
  139. このパッケージでは最小構成のVIMを/bin/vimとして提供しています。このパッ
  140. ケージで提供されるVIMを使うにあたってはvim-commonパッケージは必要あり
  141. ません.
  142. %package big
  143. Summary: VIM editor with big features
  144. Summary(ja): 多機能版の VIM エディタ
  145. Group: Applications/Editors
  146. Requires(post): alternatives
  147. Requires: vim-common = %{version}
  148. Obsoletes: vim-color
  149. %description big
  150. VIM (VIsual editor iMproved) is an updated and improved version of the
  151. vi editor. Vi was the first real screen-based editor for UNIX, and is
  152. still very popular. VIM has many new features including:
  153. multiple windows, multi-level undos, block highlighting and more.
  154. vim-big package contains the VIM with "big" features enabled.
  155. %description -l ja big
  156. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  157. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  158. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  159. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  160. トなどです.
  161. このパッケージではvimパッケージで提供されるVIMよりも多くの機能を含んだ
  162. VIMを提供しています.
  163. %package huge
  164. Summary: VIM editor with huge features
  165. Summary(ja): 最大機能版の VIM エディタ
  166. Group: Applications/Editors
  167. Requires(post): alternatives
  168. Requires: vim-common = %{version}
  169. Requires: %(perl -le 'use Config; print $Config{archlibexp}')
  170. Obsoletes: vim-color
  171. Obsoletes: vim-ruby, vim-python, vim-perl
  172. %description huge
  173. VIM (VIsual editor iMproved) is an updated and improved version of the
  174. vi editor. Vi was the first real screen-based editor for UNIX, and is
  175. still very popular. VIM has many new features including:
  176. multiple windows, multi-level undos, block highlighting and more.
  177. vim-huge package contains the VIM with most of its features (except
  178. X11 features) enabled such as Ruby, Perl, Python and Lua features.
  179. %description -l ja huge
  180. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  181. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  182. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  183. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  184. トなどです.
  185. このパッケージではX11対応以外のほとんどすべての機能のサポートに加え,
  186. Ruby/Perl/Python/Luaスクリプトの実行機能までを含んでVIMを提供しています.
  187. %package X11
  188. Summary: VIM editor with X11 support
  189. Summary(ja): X11 対応の VIM エディタ
  190. Group: Applications/Editors
  191. Requires(post): alternatives
  192. Requires: vim-X11-common = %{version}
  193. Provides: gvim
  194. %description X11
  195. VIM (VIsual editor iMproved) is an updated and improved version of the
  196. vi editor. Vi was the first real screen-based editor for UNIX, and is
  197. still very popular. VIM has many new features including:
  198. multiple windows, multi-level undos, block highlighting and more.
  199. vim-X11 package contains the VIM with X11 features enabled:
  200. you can run VIM as an X application with a full GUI interface and mouse
  201. support.
  202. %description -l ja X11
  203. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  204. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  205. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  206. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  207. トなどです.
  208. このパッケージでは最も基本的な構成のVIMにX11対応を加えたものを提供して
  209. います.
  210. %package X11-common
  211. Summary: The common files needed by any version of the GVIM editor
  212. Summary(ja): X11 対応 VIM エディタに必要な共通ファイル
  213. Group: Applications/Editors
  214. Requires: vim-common = %{version}, gtk2
  215. Requires(post): desktop-file-utils
  216. Requires(postun): desktop-file-utils
  217. %description X11-common
  218. vim-X11-common package contains files which every GVIM (VIM with X11
  219. features enabled) binaries will need in order to run.
  220. GVIM itself is included in various packages (under every different
  221. configuration) such as:
  222. * vim-X11 - normal features
  223. * vim-X11-big - big features
  224. * vim-X11-huge - huge features and Ruby/Perl/Python/Lua support
  225. %description -l ja X11-common
  226. このパッケージは以下に示す各X11対応のVIMパッケージで提供されるVIMエディ
  227. タを実行するために必要となる共通のファイル群を提供します:
  228. * vim-X11 - X対応機能を有効にしたVIMパッケージ
  229. * vim-X11-big - vim-bigをX対応にしたVIMパッケージ
  230. * vim-X11-huge - vim-hugeをX対応にしたVIMパッケージ
  231. %package X11-big
  232. Summary: VIM editor with big features and X11 support
  233. Summary(ja): X11 対応の多機能版 VIM エディタ
  234. Group: Applications/Editors
  235. Requires(post): alternatives
  236. Requires: vim-X11-common = %{version}
  237. Provides: gvim
  238. %description X11-big
  239. VIM-X11 is a version of the VIM editor which is configured to run on the X
  240. Window System. If you install this package, you can run VIM as an X
  241. application with a full GUI interface and mouse support.
  242. The vim-X11-big package provides the VIM which supports more features
  243. than vim-X11 package does.
  244. %description -l ja X11-big
  245. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  246. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  247. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  248. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  249. トなどです.
  250. このパッケージではvim-X11パッケージで提供されるVIMよりも,より多くの機
  251. 能を含んだVIMを提供しています.
  252. %package X11-huge
  253. Summary: VIM editor with huge features and X11 support
  254. Summary(ja): X11 対応の最大機能版 VIM エディタ
  255. Group: Applications/Editors
  256. Requires(post): alternatives
  257. Requires: vim-X11-common = %{version}
  258. Requires: %(perl -le 'use Config; print $Config{archlibexp}')
  259. Provides: gvim
  260. %description X11-huge
  261. VIM-X11 is a version of the VIM editor which is configured to run on the X
  262. Window System. If you install this package, you can run VIM as an X
  263. application with a full GUI interface and mouse support.
  264. The vim-X11-huge package provides the VIM which supports much more extra
  265. features than vim-X11-huge does, such as Ruby/Perl/Python/Lua support.
  266. %description -l ja X11-huge
  267. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  268. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  269. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  270. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  271. トなどです.
  272. このパッケージではX11対応も含めたほとんどすべての機能のサポートに加え,
  273. Ruby/Perl/Python/Luaスクリプトの実行機能までを含んでVIMを提供しています.
  274. %prep
  275. %setup -q -b 0 -n %{vimdir}
  276. # fix rogue dependencies from sample code
  277. chmod -x runtime/tools/mve.awk
  278. %patch2002 -p1
  279. %patch2003 -p1
  280. perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
  281. # Base patches...
  282. # for i in seq 1 154; do printf "%%patch%04d -p0\n" $i; done
  283. %patch0587 -p0
  284. %patch0588 -p0
  285. %patch0589 -p0
  286. %patch0590 -p0
  287. #%patch0591 -p0
  288. %patch0592 -p0
  289. %patch0593 -p0
  290. %patch0594 -p0
  291. %patch0595 -p0
  292. %patch0596 -p0
  293. %patch0597 -p0
  294. %patch0598 -p0
  295. %patch0599 -p0
  296. %patch2010 -p1
  297. %patch3000 -p1
  298. %patch3002 -p1
  299. %patch3003 -p1
  300. #%patch3004 -p1
  301. %patch3006 -p1
  302. %patch3007 -p1
  303. #%patch3008 -p1
  304. %patch3009 -p1
  305. %patch3010 -p1
  306. %patch3011 -p1
  307. %patch4000 -p1
  308. # %patch4010 -p1
  309. %build
  310. cd src
  311. autoconf
  312. make shadow
  313. mv shadow vim-X11-huge
  314. (cd vim-X11-huge && \
  315. mkdir po && (cd po && ln -s ../../po/* .) && \
  316. %configure %{configopts} %{features_x11} %{features_huge} && \
  317. make %{?_smp_mflags})
  318. make shadow
  319. mv shadow vim-X11-big
  320. (cd vim-X11-big && \
  321. mkdir po && (cd po && ln -s ../../po/* .) && \
  322. %configure %{configopts} %{features_x11} %{features_big} && \
  323. make %{?_smp_mflags})
  324. make shadow
  325. mv shadow vim-X11-normal
  326. (cd vim-X11-normal && \
  327. mkdir po && (cd po && ln -s ../../po/* .) && \
  328. %configure %{configopts} %{features_x11} %{features_normal} && \
  329. make %{?_smp_mflags})
  330. make shadow
  331. mv shadow vim-huge
  332. (cd vim-huge && \
  333. mkdir po && (cd po && ln -s ../../po/* .) && \
  334. %configure %{configopts} %{features_nox11} %{features_huge} && \
  335. make %{?_smp_mflags})
  336. make shadow
  337. mv shadow vim-big
  338. (cd vim-big && \
  339. mkdir po && (cd po && ln -s ../../po/* .) && \
  340. %configure %{configopts} %{features_nox11} %{features_big} && \
  341. make %{?_smp_mflags})
  342. make shadow
  343. mv shadow vim-normal
  344. (cd vim-normal && \
  345. mkdir po && (cd po && ln -s ../../po/* .) && \
  346. %configure %{configopts} %{features_nox11} %{features_normal} && \
  347. make %{?_smp_mflags})
  348. make shadow
  349. mv shadow vim-tiny
  350. cp os_unix.h os_unix.h.orig
  351. sed -i -e 's|$VIM/vimrc|/etc/vimrc.tiny|g' os_unix.h
  352. (cd vim-tiny && \
  353. LDFLAGS=-static export LDFLAGS; \
  354. %configure %{configopts} %{features_nox11} %{features_tiny} && \
  355. make %{?_smp_mflags})
  356. cp os_unix.h.orig os_unix.h
  357. %install
  358. rm -rf %{buildroot}
  359. mkdir -p %{buildroot}
  360. mkdir -p %{buildroot}%{vimrcloc}
  361. mkdir -p %{buildroot}/%{vimruntime}
  362. ln -s %{vimrcloc}/vimrc.ja %{buildroot}/%{vimruntime}/vimrc
  363. ln -s %{vimrcloc}/gvimrc.ja %{buildroot}/%{vimruntime}/gvimrc
  364. ln -s %{vimrcloc} %{buildroot}/%{vimruntime}/vimfiles
  365. cd src
  366. for d in vim-normal vim-big vim-huge vim-X11-normal vim-X11-big vim-X11-huge vim-tiny
  367. do
  368. make -C$d DESTDIR=%{buildroot} installvimbin
  369. vimbin=`find %{buildroot} -name vim -type f`
  370. mv $vimbin `dirname $vimbin`/`echo $d | sed -e's/^vim-/vim./'`
  371. done
  372. make -Cvim-huge DESTDIR=%{buildroot} installtools installtutor
  373. make -Cvim-X11-huge DESTDIR=%{buildroot} installtools installtutor installtutorbin
  374. make -Cvim-X11-huge DESTDIR=%{buildroot} install-languages install-icons
  375. make -Cvim-X11-huge DESTDIR=%{buildroot} installruntime installlinks installmanlinks
  376. find %{buildroot}/%{_bindir} -type l -exec rm \{\} \;
  377. # Dependency cleanups
  378. chmod 644 %{buildroot}/%{_datadir}/vim/%{vimsubdir}/doc/vim2html.pl \
  379. %{buildroot}/%{_datadir}/vim/%{vimsubdir}/tools/*.pl \
  380. %{buildroot}/%{_datadir}/vim/%{vimsubdir}/tools/vim132
  381. chmod 644 ../runtime/doc/vim2html.pl
  382. # installing vimrc files.
  383. install -p -m644 %{SOURCE300} %{buildroot}%{vimrcloc}/vimrc.ja
  384. install -p -m644 %{SOURCE300} %{buildroot}%{vimrcloc}/gvimrc.ja
  385. install -p -m644 %{SOURCE300} %{buildroot}%{_sysconfdir}/vimrc.tiny
  386. # installing misc utils.
  387. install -p -m644 %{SOURCE400} %{buildroot}%{_datadir}/vim/%{vimsubdir}/plugin/format.vim
  388. install -p -m644 %{SOURCE401} %{buildroot}%{_datadir}/vim/%{vimsubdir}/plugin/verifyenc.vim
  389. # installing template.spec
  390. install -p -m644 %{SOURCE500} %{buildroot}%{vimrcloc}/template.spec
  391. cd ../..
  392. # desktop file
  393. %__mkdir_p %{buildroot}%{_datadir}/applications
  394. %__install -p -m644 %{SOURCE100} %{buildroot}%{_datadir}/applications/gvim.desktop
  395. # icons
  396. %__mkdir_p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
  397. %__install -p -m644 %{SOURCE101} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/gvim.png
  398. %__install -p -m644 %{SOURCE102} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gvim.png
  399. %__install -p -m644 %{SOURCE103} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gvim.png
  400. %__install -p -m644 %{SOURCE104} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gvim.png
  401. # remove international manuals
  402. rm -rf %{buildroot}/%{_mandir}/{fr,it,ru,pl}*
  403. %post tiny
  404. update-alternatives \
  405. --install /bin/vi vi /bin/vim.tiny 20 \
  406. --slave /usr/bin/vi vi /bin/vim.tiny \
  407. --slave /bin/vim vim /bin/vim.tiny \
  408. --slave /bin/eview eview /bin/vim.tiny \
  409. --slave /bin/evim evim /bin/vim.tiny \
  410. --slave /bin/ex ex /bin/vim.tiny \
  411. --slave /bin/rview rview /bin/vim.tiny \
  412. --slave /bin/rvim rvim /bin/vim.tiny \
  413. --slave /bin/view view /bin/vim.tiny \
  414. --slave /bin/vimdiff vimdiff /bin/vim.tiny
  415. %triggerpostun -- vim-minimal < 6.0
  416. update-alternatives --auto vi
  417. %triggerpostun tiny -- vim-tiny <= 6.2.532-0vl3
  418. update-alternatives --remove vi /bin/vim
  419. update-alternatives --auto vi
  420. %preun tiny
  421. if [ "$1" = "0" ]
  422. then
  423. update-alternatives --remove vi /bin/vim.tiny
  424. fi
  425. %post
  426. update-alternatives \
  427. --install /bin/vi vi %{_bindir}/vim.normal 31 \
  428. --slave /usr/bin/vi vi %{_bindir}/vim.normal \
  429. --slave /bin/vim vim %{_bindir}/vim.normal \
  430. --slave /bin/eview eview %{_bindir}/vim.normal \
  431. --slave /bin/evim evim %{_bindir}/vim.normal \
  432. --slave /bin/ex ex %{_bindir}/vim.normal \
  433. --slave /bin/rview rview %{_bindir}/vim.normal \
  434. --slave /bin/rvim rvim %{_bindir}/vim.normal \
  435. --slave /bin/view view %{_bindir}/vim.normal \
  436. --slave /bin/vimdiff vimdiff %{_bindir}/vim.normal
  437. %triggerpostun -- vim <= 6.2.532-0vl3
  438. update-alternatives --remove vim /usr/bin/vim.normal
  439. %preun
  440. if [ "$1" = "0" ]
  441. then
  442. update-alternatives --remove vi %{_bindir}/vim.normal
  443. fi
  444. %post big
  445. update-alternatives \
  446. --install /bin/vi vi %{_bindir}/vim.big 41 \
  447. --slave /usr/bin/vi vi %{_bindir}/vim.big \
  448. --slave /bin/vim vim %{_bindir}/vim.big \
  449. --slave /bin/eview eview %{_bindir}/vim.big \
  450. --slave /bin/evim evim %{_bindir}/vim.big \
  451. --slave /bin/ex ex %{_bindir}/vim.big \
  452. --slave /bin/rview rview %{_bindir}/vim.big \
  453. --slave /bin/rvim rvim %{_bindir}/vim.big \
  454. --slave /bin/view view %{_bindir}/vim.big \
  455. --slave /bin/vimdiff vimdiff %{_bindir}/vim.big
  456. %triggerpostun big -- vim-big <= 6.2.532-0vl3
  457. update-alternatives --remove vim /usr/bin/vim.big
  458. %preun big
  459. if [ "$1" = "0" ]
  460. then
  461. update-alternatives --remove vi %{_bindir}/vim.big
  462. fi
  463. %post huge
  464. update-alternatives \
  465. --install /bin/vi vi %{_bindir}/vim.huge 51 \
  466. --slave /usr/bin/vi vi %{_bindir}/vim.huge \
  467. --slave /bin/vim vim %{_bindir}/vim.huge \
  468. --slave /bin/eview eview %{_bindir}/vim.huge \
  469. --slave /bin/evim evim %{_bindir}/vim.huge \
  470. --slave /bin/ex ex %{_bindir}/vim.huge \
  471. --slave /bin/rview rview %{_bindir}/vim.huge \
  472. --slave /bin/rvim rvim %{_bindir}/vim.huge \
  473. --slave /bin/view view %{_bindir}/vim.huge \
  474. --slave /bin/vimdiff vimdiff %{_bindir}/vim.huge
  475. %triggerpostun huge -- vim-huge <= 6.2.532-0vl3
  476. update-alternatives --remove vim /usr/bin/vim.huge
  477. %preun huge
  478. if [ "$1" = "0" ]
  479. then
  480. update-alternatives --remove vi %{_bindir}/vim.huge
  481. fi
  482. %post X11
  483. update-alternatives \
  484. --install /bin/vi vi %{_bindir}/vim.X11-normal 30 \
  485. --slave /usr/bin/vi vi %{_bindir}/vim.X11-normal \
  486. --slave /bin/vim vim %{_bindir}/vim.X11-normal \
  487. --slave /bin/eview eview %{_bindir}/vim.X11-normal \
  488. --slave /bin/evim evim %{_bindir}/vim.X11-normal \
  489. --slave /bin/ex ex %{_bindir}/vim.X11-normal \
  490. --slave /bin/rview rview %{_bindir}/vim.X11-normal \
  491. --slave /bin/rvim rvim %{_bindir}/vim.X11-normal \
  492. --slave /bin/view view %{_bindir}/vim.X11-normal \
  493. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-normal
  494. update-alternatives \
  495. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-normal 30 \
  496. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-normal \
  497. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-normal \
  498. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-normal \
  499. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-normal
  500. %triggerpostun X11 -- vim-X11 <= 6.2.532-0vl3
  501. update-alternatives --remove vim %{_bindir}/vim.X11-normal
  502. %preun X11
  503. if [ "$1" = "0" ]
  504. then
  505. update-alternatives --remove vi %{_bindir}/vim.X11-normal
  506. update-alternatives --remove gvim %{_bindir}/vim.X11-normal
  507. fi
  508. %post X11-big
  509. update-alternatives \
  510. --install /bin/vi vi %{_bindir}/vim.X11-big 40 \
  511. --slave /usr/bin/vi vi %{_bindir}/vim.X11-big \
  512. --slave /bin/vim vim %{_bindir}/vim.X11-big \
  513. --slave /bin/eview eview %{_bindir}/vim.X11-big \
  514. --slave /bin/evim evim %{_bindir}/vim.X11-big \
  515. --slave /bin/ex ex %{_bindir}/vim.X11-big \
  516. --slave /bin/rview rview %{_bindir}/vim.X11-big \
  517. --slave /bin/rvim rvim %{_bindir}/vim.X11-big \
  518. --slave /bin/view view %{_bindir}/vim.X11-big \
  519. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-big
  520. update-alternatives \
  521. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-big 40 \
  522. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-big \
  523. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-big \
  524. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-big \
  525. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-big
  526. %triggerpostun X11-big -- vim-X11-big <= 6.2.532-0vl3
  527. update-alternatives --remove vim %{_bindir}/vim.X11-big
  528. %preun X11-big
  529. if [ "$1" = "0" ]
  530. then
  531. update-alternatives --remove vi %{_bindir}/vim.X11-big
  532. update-alternatives --remove gvim %{_bindir}/vim.X11-big
  533. fi
  534. %post X11-huge
  535. update-alternatives \
  536. --install /bin/vi vi %{_bindir}/vim.X11-huge 50 \
  537. --slave /usr/bin/vi vi %{_bindir}/vim.X11-huge \
  538. --slave /bin/vim vim %{_bindir}/vim.X11-huge \
  539. --slave /bin/eview eview %{_bindir}/vim.X11-huge \
  540. --slave /bin/evim evim %{_bindir}/vim.X11-huge \
  541. --slave /bin/ex ex %{_bindir}/vim.X11-huge \
  542. --slave /bin/rview rview %{_bindir}/vim.X11-huge \
  543. --slave /bin/rvim rvim %{_bindir}/vim.X11-huge \
  544. --slave /bin/view view %{_bindir}/vim.X11-huge \
  545. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-huge
  546. update-alternatives \
  547. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-huge 50 \
  548. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-huge \
  549. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-huge \
  550. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-huge \
  551. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-huge
  552. %triggerpostun X11-huge -- vim-X11-huge <= 6.2.532-0vl3
  553. update-alternatives --remove vim %{_bindir}/vim.X11-huge
  554. %preun X11-huge
  555. if [ "$1" = "0" ]
  556. then
  557. update-alternatives --remove vi %{_bindir}/vim.X11-huge
  558. update-alternatives --remove gvim %{_bindir}/vim.X11-huge
  559. fi
  560. %post X11-common
  561. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  562. %postun X11-common
  563. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  564. %clean
  565. rm -rf %{buildroot}
  566. %files
  567. %defattr(-,root,root)
  568. %{_bindir}/vim.normal
  569. %files common
  570. %defattr(-,root,root)
  571. %doc README.txt
  572. %doc README_extra.txt
  573. %doc README_unix.txt
  574. %{vimrcloc}
  575. %{_bindir}/vimtutor
  576. %{_bindir}/xxd
  577. %{_datadir}/vim
  578. %files man
  579. %defattr(-,root,root)
  580. %{_mandir}/man1/eview.1*
  581. %{_mandir}/man1/evim.1*
  582. %{_mandir}/man1/ex.1*
  583. %{_mandir}/man1/rgview.1*
  584. %{_mandir}/man1/rgvim.1*
  585. %{_mandir}/man1/rview.1*
  586. %{_mandir}/man1/rvim.1*
  587. %{_mandir}/man1/view.1*
  588. %{_mandir}/man1/vim.1*
  589. %{_mandir}/man1/vimdiff.1*
  590. %{_mandir}/man1/vimtutor.1*
  591. %{_mandir}/man1/xxd.1*
  592. %{_mandir}/ja/man1/eview.1.gz
  593. %{_mandir}/ja/man1/evim.1.gz
  594. %{_mandir}/ja/man1/ex.1.gz
  595. %{_mandir}/ja/man1/gview.1.gz
  596. %{_mandir}/ja/man1/gvim.1.gz
  597. %{_mandir}/ja/man1/gvimdiff.1.gz
  598. %{_mandir}/ja/man1/rgview.1.gz
  599. %{_mandir}/ja/man1/rgvim.1.gz
  600. %{_mandir}/ja/man1/rview.1.gz
  601. %{_mandir}/ja/man1/rvim.1.gz
  602. %{_mandir}/ja/man1/view.1.gz
  603. %{_mandir}/ja/man1/vim.1.gz
  604. %{_mandir}/ja/man1/vimdiff.1.gz
  605. %{_mandir}/ja/man1/vimtutor.1.gz
  606. %{_mandir}/ja/man1/xxd.1.gz
  607. %files X11-common
  608. %defattr(-,root,root)
  609. %config(missingok) %{_datadir}/applications/gvim.desktop
  610. %config(missingok) %{_datadir}/applications/vim.desktop
  611. %{_datadir}/icons/hicolor/*/apps/gvim.png
  612. %{_datadir}/icons/locolor/*/apps/gvim.png
  613. %{_mandir}/man1/gview.1*
  614. %{_mandir}/man1/gvim.1*
  615. %{_mandir}/man1/gvimdiff.1*
  616. %files tiny
  617. %defattr(-,root,root)
  618. %{binprefix}bin/vim.tiny
  619. %{_sysconfdir}/vimrc.tiny
  620. %files big
  621. %defattr(-,root,root)
  622. %{_bindir}/vim.big
  623. %files huge
  624. %defattr(-,root,root)
  625. %{_bindir}/vim.huge
  626. %files X11
  627. %defattr(-,root,root)
  628. %{_bindir}/vim.X11-normal
  629. %files X11-big
  630. %defattr(-,root,root)
  631. %{_bindir}/vim.X11-big
  632. %files X11-huge
  633. %defattr(-,root,root)
  634. %{_bindir}/vim.X11-huge
  635. %changelog
  636. * Fri May 19 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 8.0.599-1
  637. - update to 8.0.599
  638. - update spec plugin patches (Patch3006, Patch3011)
  639. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.589-5
  640. - build with ruby 2.4.1
  641. * Tue Nov 29 2016 Toshiaki Ara <ara_t@384.jp> 7.4.589-4
  642. - fix %%post error when installing vim-huge, vim-X11 and vi-X11-huge
  643. - change /usr/bin/vi to /usr/bin/vi
  644. * Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-3
  645. - add Source500 (template.spec.vine)
  646. * Fri Sep 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-2
  647. - rebuild with ruby-2.2.3
  648. * Sat Jan 31 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 7.4.589-1
  649. - update to 7.4.589
  650. * Thu Jul 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.334-3
  651. - rebuild with perl-5.16.3
  652. * Wed Jun 25 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-2vl7
  653. - build with Ruby 2.1
  654. * Thu Jun 19 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-1
  655. - update to 7.4.334
  656. * Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.131-1
  657. - update to 7.4.131
  658. * Sat Nov 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.110-1
  659. - update to 7.4.110
  660. - add 7.4 patches (Patch51..110)
  661. - enable Lua support
  662. - fix 7.4.50-1 changelog
  663. * Fri Oct 4 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.50-1
  664. - update to 7.4.50
  665. - drop 7.3 patches (Patch001..712)
  666. - add 7.4 patches (Patch1..50)
  667. - drop crv patch (Patch2004)
  668. - update some patches from Fedora vim-7.4.027-2
  669. - syntax patch (Patch3000):
  670. - fstabsyntax patch (Patch3007)
  671. - add Distribution and Vendor tags
  672. * Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.712-1
  673. - update to 7.3.712
  674. - build with ruby-1.9.3
  675. * Sun Jun 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.206-1
  676. - update to 7.3.206
  677. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.154-1
  678. - update to 7.3.154
  679. - update Patch001-154
  680. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-5
  681. - rebuild with perl-5.12.3
  682. * Sun Jan 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.2.446-4
  683. - add BuildRequires: libXt-devel
  684. * Sun Jan 09 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-3
  685. - update vimrc.ja (fixed http://bts.vinelinux.org/user.cgi?action=view_report&id=1067&project=VineLinux)
  686. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-2
  687. - do not BR: glibc-static on Vine 5.x
  688. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-1
  689. - update tp 7.2.446 (add Patch149-446)
  690. - run update-alternatives on vim-huge post script
  691. - drop Patch3004 (use %%{_datadir}/vim/vimrc)
  692. - add vimrc.tiny for vim.tiny
  693. - add BR: glibc-static to build vime-tiny
  694. * Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 7.2.148-2
  695. - rebuilt with python-2.6
  696. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.148-1
  697. - new upstream release
  698. - modified vimrc.ja to support utf-8 locale
  699. - drop vim-{ruby,perl,python}
  700. * Mon May 05 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 6.4.10-1vl5
  701. - rebuild with perl-5.10.0
  702. - applied new versioning policy
  703. - add "make installghelplinks"
  704. - add BuildRequires: pixman-devel
  705. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 6.4.10-0vl3
  706. - [SECURITY] add helptags.patch (patch2000) renamed from 7.1.039
  707. - fix format string vulnerability in the helptags_one (CVE-2007-2953)
  708. * Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.4.10-0vl2
  709. - changed man Group to Applications/Documentation
  710. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.10-0vl1
  711. - new upstream patch version
  712. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl2
  713. - update patching script
  714. - exit if upstream patches not exist
  715. * Mon Feb 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl1
  716. - new upstream patch version
  717. * Fri Nov 04 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl2
  718. - add cssIdentifier.patch to avoid error
  719. * Mon Oct 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl1
  720. - new upstream release
  721. - drop tmpfile.patch
  722. - import verifyenc.vim from KaoriYa.net ([vine-users:073279])
  723. - http://www.kaoriya.net/dist/vim-6.4-w32j.tar.bz2
  724. - import checkhl.patch from FC 6.4.000-2
  725. * Tue Oct 25 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-2
  726. - add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)
  727. * Mon Oct 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.90-0vl1
  728. - new upstream patch version
  729. - add numeric-keypad.patch (patch101)
  730. - Thanks, ISOBE Takeshi
  731. * Sun Aug 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl2
  732. - [SECURITY] re-add patches, import tmpfile.patch from FC
  733. - oops, patches not added at 6.3.86-0vl1
  734. - overwrite or create arbitrary files via a symlink attack (CAN-2005-0069)
  735. * Sat Jul 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl1
  736. - [SECURITY] new upstream patch version
  737. - modelines shell command execution vulnerability (CAN-2005-2368)
  738. - add README_patches.txt
  739. * Sun May 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.71-0vl1
  740. - new upstream patch version
  741. - update desktop file
  742. - import icons from FC
  743. - import gvim.desktop from FC and modify
  744. - move gvim.desktop to %%{_datadir}/applications
  745. - run update-desktop-database at X11-common's post/postun
  746. - import specsyntax.patch from FC
  747. * Wed Jan 26 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.58-0vl1
  748. - new upstream patch version
  749. - perl/huge/X11-huge
  750. - add Requires: %%(perl -le 'use Config; print $Config{archlibexp}')
  751. * Tue Jan 11 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl2
  752. - rebuild with perl-5.8.6
  753. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl1
  754. - [SECURITY] new upstream patch version
  755. - arbitrary command execution vulnerability (CAN-2004-1138)
  756. - add URL
  757. - fix common's Japanese description
  758. - remove package information about vim-X11-*
  759. - add Provides: gvim (vim-X11-*)
  760. * Fri Oct 29 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.31-0vl1
  761. - new upstream patch version
  762. - fix URLs (source1,2)
  763. * Sun Jun 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.3.6-0vl1
  764. - new upstream release
  765. - update configurations of alternatives
  766. - vim-tiny contains /bin/vim.tiny only
  767. - remove 'Requires: vim-common' from vim-man subpackage
  768. - change order of fileencordings in vimrc.ja
  769. * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl3
  770. - use gtk2 instead of gtk+
  771. - add Requires: gtk2 to vim-X11-common
  772. - add BuildRequires: gtk2-devel
  773. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl2
  774. - add --enable-multibyte to vim-tiny
  775. * Sat May 15 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.532-0vl1
  776. - new upstream patch version
  777. * Sat Mar 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.382-0vl1
  778. - new upstream version
  779. * Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 6.2.106-0vl1
  780. - new upstream version
  781. - bulid with ruby-1.8.0.
  782. * Tue Jun 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 6.2.14-0vl1
  783. - new upstream version
  784. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.300-0vl1
  785. - new upstream patch version
  786. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.265-0vl1
  787. - patch level 265, including fix of modeline vulnerability
  788. cf. http://www.guninski.com/vim1.html
  789. * Wed Apr 03 2002 akira yamada <akira@vinelinux.org> 6.1.5-0vl1
  790. - new upstream version.
  791. - updated format.vim. (extracted from
  792. http://www.kaoriya.net/dist/gvim-6.1-w32j.tar.bz2.)
  793. - clean uped vimrc, vimrc.ja, gvimrc, gvimrc.ja.
  794. * Thu Jan 31 2002 Toru Sagami <sagami@vinelinux.org> 6.0.158-0vl1
  795. - patch level 6.0.158
  796. * Sun Nov 25 2001 akira yamada <akira@vinelinux.org> 6.0.93-0vl1
  797. - new upstream patch version.
  798. - added PreReqs: alternatives for vim, vim-tiny, vim-X11.
  799. * Mon Nov 12 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl4
  800. - added Japanese descriptions.
  801. - English descriptions by shaolin.
  802. * Wed Nov 07 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl3
  803. - added triggerpostun for vim-minimal.
  804. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl2
  805. - patch #44, #54, #64 is now available.
  806. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl1
  807. - new upstream patch version.
  808. - removed jcode2.vim and added new default vimrc.
  809. - removed unused sources and patches.
  810. - alternatives for /bin/vi.
  811. - added net-tools to BuildRequires. (/bin/hostname)
  812. * Wed Oct 31 2001 akira yamada <akira@vinelinux.org> 6.0.43-0vl1
  813. - new upstream patch version.
  814. - added vim-lang and vim-extra.
  815. - added gawk to Requires of vim-common.
  816. - added gtk+ to Requires of vim-X11-common.
  817. * Wed Oct 17 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl2
  818. - added autoconf and libtool to BuildRequires.
  819. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl1
  820. - vim and vim-X11 is no longer virturl package.
  821. - obsoleted vim-normal and vim-X11-normal.
  822. - added check "$1" = "0" for preun scripts.
  823. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0-0vl2
  824. - linked staticly vim of vim-tiny.
  825. * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 6.0-0vl1
  826. - new upstream version.
  827. - now, vim and vim-X11 is virtual package.
  828. - new sub-packages vim-tiny, vim-normal, vim-big, vim-ruby, vim-perl,
  829. vim-python, vim-huge, vim-X11-normal, vim-X11-big and vim-X11-huge.
  830. - obsoleted vim-minimal and vin-enhanced.
  831. * Sat Sep 08 2001 Toru Sagami <sagami@vinelinux.org>
  832. - 5.8-0vl4: rebuilt on current ncurses
  833. - added format.vim and more useful comments in vimrc.ja
  834. * Sat Aug 04 2001 <sagami@vinelinux.org>
  835. - 5.8-0vl3: patch level 5.8.9
  836. - dont pack duplicated runtime/syntax directory into %%doc
  837. * Thu Jul 19 2001 <sagami@vinelinux.org>
  838. - 5.8-0vl2: patch level 5.8.7
  839. - Add postfix config syntax highlighting
  840. * Fri Jun 08 2001 <sagami@vinelinux.org>
  841. - vim-5.8-0vl1: patch level 5.8.002
  842. * Fri Jun 01 2001 <sagami@vinelinux.org>
  843. - vim-5.8-0vl0: vim-5.8 bug fix release
  844. * Thu May 10 2001 <sagami@vinelinux.org>
  845. - vim-5.7-0vl8: patch level 5.7.030
  846. - use versioned sources, not older ones and patches
  847. - sync with RH6.2 updates
  848. * Wed Apr 18 2001 sagami@vinelinux.org
  849. - jcode2.vim: fix back to original one
  850. - patch level 5.7.028
  851. * Mon Feb 05 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  852. - patch level 5.7.024
  853. - small fix for jcode2.vim
  854. - split man package from common package to avoid conflict with jvim3
  855. * Tue Dec 26 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  856. - %%{makeinstall}
  857. - acutally build against current ncurses5 without gpm with ncurses4
  858. * Thu Dec 21 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  859. - build against current ncurses5
  860. - added CVS commit filetype detection to scripts.vim
  861. * Wed Dec 06 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  862. - 5.7.19
  863. - jcode.pl-2.13
  864. - added License recognition to .spec syntax
  865. - added RFC822 mail/ emacs-lips filetype detection to scripts.vim
  866. - FHS stuff: _mandir
  867. * Wed Jul 19 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  868. - based on RH 5.6-14 -> 5.7 (patchlevel .2)
  869. - manpath: /usr/share/man -> /usr/man/man :-)
  870. - delete %%makeinstall macro for rpm-3.0.x
  871. - gvim: --enable-multibyte, xim, fontset
  872. - vim: --enable-multibyte
  873. - jcode.pl-2.11 and jcode2.vim from Nozomu Kobayashi's rpm package
  874. - vimrc: added bzip2 and Japanese stuff of a kind
  875. * Sat Jun 3 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  876. - patchlevel 74
  877. - add %%makeinstall macro recognition to .spec file syntax highlighting rules
  878. - fix up Makefiles
  879. * Fri Apr 14 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  880. - patchlevel 66
  881. - fix compilation with perl 5.6.0
  882. * Mon Mar 20 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  883. - patchlevel 12
  884. * Tue Mar 07 2000 Preston Brown <pbrown@redhat.com>
  885. - fix home/end in vimrc (we did a term = rxvt, totally wrong)
  886. * Tue Feb 29 2000 Preston Brown <pbrown@redhat.com>
  887. - change F1-F4 keybindings for xterm builtin terminfo to match real terminfo
  888. * Thu Feb 17 2000 Bill Nottingham <notting@redhat.com>
  889. - kill autoindent
  890. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  891. - wmconfig -> desktop
  892. * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  893. - Patchlevel 11
  894. - handle compressed man pages
  895. - fix man page symlinks
  896. * Wed Feb 2 2000 Bill Nottingham <notting@redhat.com>
  897. - eliminate dependencies on X in vim-enhanced, and ncurses/gpm
  898. in vim-minimal
  899. * Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
  900. - eliminate dependencies on csh and perl in vim-common
  901. * Wed Jan 19 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  902. - Use awk, not nawk
  903. * Tue Jan 18 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  904. - 5.6
  905. - patch 5.6.001
  906. - remove /usr/bin/vi - if you want vim, type vim
  907. * Tue Jan 11 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  908. - 5.6a
  909. - Remove dependency on nawk (introduced by base update)
  910. - some tweaks to make updating easier
  911. * Tue Nov 9 1999 Bernhard Rosenkr舅zer <bero@redhat.com>
  912. - 5.5
  913. - fix path to vimrc
  914. * Tue Jul 27 1999 Michael K. Johnson <johnsonm@redhat.com>
  915. - moved from athena to gtk widgets for X version
  916. - removed vim.1 from X11 filelist because X11 depends on vim-common anyway
  917. - fixed rogue dependencies from sample files
  918. * Tue Jul 27 1999 Jeff Johnson <jbj@redhat.com>
  919. - update to 5.4.
  920. * Thu Jul 22 1999 Jeff Johnson <jbj@redhat.com>
  921. - man page had buildroot pollution (#3629).
  922. * Thu Mar 25 1999 Preston Brown <pbrown@redhat.com>
  923. - with recent termcap/terminfo fixes, regular vim works in xterm/console
  924. - in color, so vim-color package removed.
  925. * Tue Mar 23 1999 Erik Troan <ewt@redhat.com>
  926. - removed "set backupdir=/tmp/vim_backup" from default vimrc
  927. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  928. - auto rebuild in the new build environment (release 5)
  929. * Thu Dec 17 1998 Michael Maher <mike@redaht.com>
  930. - built pacakge for 6.0
  931. * Tue Sep 15 1998 Michael Maher <mike@redhat.com>
  932. - removed '--with-tlib=termcap' so that color-vim works
  933. * Wed Sep 2 1998 Jeff Johnson <jbj@redhat.com>
  934. - update to 5.3.
  935. * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
  936. - merge in Toshio's changes
  937. - color-vim: changed "--disable-p" to "--disable-perlinterp --with-tlib=termcap"
  938. - added minimal rvi/rview and man pages.
  939. - move Obsoletes to same package as executable.
  940. * Thu Aug 06 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  941. - Break the package apart similar to the way the netscape package was
  942. broken down to handle navigator or communicator: The vim package is
  943. Obsolete, now there is vim-common with all the common files, and a
  944. package for each binary: vim-minimal (has /bin/vi compiled with no
  945. frills), vim-enhanced (has /usr/bin/vim with extra perl and python
  946. interpreters), and vim-X11 (has /usr/X11R6/bin/gvim compiled with
  947. GUI support.)
  948. - Enable the perl and python interpreters in the gui version (gvim).
  949. * Tue Jun 30 1998 Michael Maher <mike@redhat.com>
  950. - Fixed tutor help.
  951. - cvim package added. Thanks to Stevie Wills for finding this one :-)
  952. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  953. - translations modified for de, fr, tr
  954. * Fri May 01 1998 Donnie Barnes <djb@redhat.com>
  955. - added patch to turn off the "vi compatibility" by default. You can
  956. still get it via the -C command line option
  957. * Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
  958. - removed perl and python interpreters (sorry, but those don't belong
  959. in a /bin/vi and having two vi's seemed like overkill...complain
  960. to suggest@redhat.com if you care)
  961. * Fri Apr 17 1998 Donnie Barnes <djb@redhat.com>
  962. - fixed buildroot bug
  963. * Sat Apr 11 1998 Donnie Barnes <djb@redhat.com>
  964. - updated from 4.6 to 5.1
  965. - moved to buildroot
  966. * Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
  967. - fixed missing man page
  968. * Wed Oct 22 1997 Donnie Barnes <djb@redhat.com>
  969. - added wmconfig entry to vim-X11
  970. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  971. - upgraded from 4.5 to 4.6
  972. * Fri Jun 13 1997 Erik Troan <ewt@redhat.com>
  973. - built against glibc
  974. * Tue Mar 25 1997 Michael K. Johnson <johnsonm@redhat.com>
  975. - Upgraded to 4.5
  976. - Added ex symlinks
  977. * Tue Mar 11 1997 Michael K. Johnson <johnsonm@redhat.com>
  978. - Added view symlink.