vim-vl.spec 43 KB

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