vim-vl.spec 45 KB

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