vim-vl.spec 48 KB

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