vim-vl.spec 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342
  1. %bcond_with vim_big
  2. # version, patch version
  3. %define vimversion 8.2
  4. %define vimsrcpversion 4833
  5. %define vimpversion 4833
  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. 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. * Thu Apr 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4833-1
  657. - new upstream release.
  658. * Thu Apr 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4747-1
  659. - new upstream release.
  660. * Sun Mar 27 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4632-1
  661. - new upstream release.
  662. * Wed Feb 23 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4451-1
  663. - new upstream release.
  664. * Wed Feb 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4333-1
  665. - new upstream release.
  666. * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4285-1
  667. - new upstream release.
  668. - updated Patch2002.
  669. * Wed Jan 26 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4217-1
  670. - new upstream release.
  671. * Fri Jan 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4087-1
  672. - new upstream release.
  673. * Sat Jan 08 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4036-1
  674. - new upstream release.
  675. * Wed Jan 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.4005-1
  676. - new upstream release.
  677. * Wed Dec 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3756-1
  678. - new upstream release.
  679. * Sat Dec 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3732-1
  680. - new upstream release.
  681. * Fri Nov 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3617-1
  682. - new upstream release.
  683. - built with perl-5.34.0.
  684. * Mon Nov 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3595-1
  685. - new upstream release.
  686. - rebuilt with ruby-3.0.2.
  687. * Tue Nov 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3582-1
  688. - new upstream release.
  689. * Wed Nov 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3570-1
  690. - new upstream release.
  691. * Thu Oct 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3547-1
  692. - new upstream release.
  693. * Tue Sep 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3458-1
  694. - new upstream release.
  695. - dropped Patch3000, 3002, 3004, 3008 and 3016.
  696. * Fri Sep 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3423-1
  697. - new upstream release.
  698. * Wed Aug 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3356-1
  699. - new upstream release.
  700. - disabled vim-{,X11-}big.
  701. - dropped update-desktop-database scriptlets.
  702. * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3290-1
  703. - new upstream release.
  704. * Mon Feb 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.2517-1
  705. - new upstream release.
  706. - updated Patch3016.
  707. * Mon Sep 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1712-1
  708. - new upstream release.
  709. - updated Patch3007 and 3017.
  710. * Mon Mar 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0390-1
  711. - new upstream release.
  712. - built with ruby-2.6.5.
  713. * Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0365-1
  714. - new upstream release.
  715. - updated fedora patches.
  716. - updated .spec template for Vine Linux.
  717. - switched gui to gtk3.
  718. * Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 8.0.599-2
  719. - rebuild with perl-5.26
  720. * Fri May 19 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 8.0.599-1
  721. - update to 8.0.599
  722. - update spec plugin patches (Patch3006, Patch3011)
  723. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.589-5
  724. - build with ruby 2.4.1
  725. * Tue Nov 29 2016 Toshiaki Ara <ara_t@384.jp> 7.4.589-4
  726. - fix %%post error when installing vim-huge, vim-X11 and vi-X11-huge
  727. - change /usr/bin/vi to /usr/bin/vi
  728. * Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-3
  729. - add Source500 (template.spec.vine)
  730. * Fri Sep 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-2
  731. - rebuild with ruby-2.2.3
  732. * Sat Jan 31 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 7.4.589-1
  733. - update to 7.4.589
  734. * Thu Jul 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.334-3
  735. - rebuild with perl-5.16.3
  736. * Wed Jun 25 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-2vl7
  737. - build with Ruby 2.1
  738. * Thu Jun 19 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-1
  739. - update to 7.4.334
  740. * Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.131-1
  741. - update to 7.4.131
  742. * Sat Nov 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.110-1
  743. - update to 7.4.110
  744. - add 7.4 patches (Patch51..110)
  745. - enable Lua support
  746. - fix 7.4.50-1 changelog
  747. * Fri Oct 4 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.50-1
  748. - update to 7.4.50
  749. - drop 7.3 patches (Patch001..712)
  750. - add 7.4 patches (Patch1..50)
  751. - drop crv patch (Patch2004)
  752. - update some patches from Fedora vim-7.4.027-2
  753. - syntax patch (Patch3000):
  754. - fstabsyntax patch (Patch3007)
  755. - add Distribution and Vendor tags
  756. * Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.712-1
  757. - update to 7.3.712
  758. - build with ruby-1.9.3
  759. * Sun Jun 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.206-1
  760. - update to 7.3.206
  761. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.154-1
  762. - update to 7.3.154
  763. - update Patch001-154
  764. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-5
  765. - rebuild with perl-5.12.3
  766. * Sun Jan 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.2.446-4
  767. - add BuildRequires: libXt-devel
  768. * Sun Jan 09 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-3
  769. - update vimrc.ja (fixed http://bts.vinelinux.org/user.cgi?action=view_report&id=1067&project=VineLinux)
  770. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-2
  771. - do not BR: glibc-static on Vine 5.x
  772. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-1
  773. - update tp 7.2.446 (add Patch149-446)
  774. - run update-alternatives on vim-huge post script
  775. - drop Patch3004 (use %%{_datadir}/vim/vimrc)
  776. - add vimrc.tiny for vim.tiny
  777. - add BR: glibc-static to build vime-tiny
  778. * Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 7.2.148-2
  779. - rebuilt with python-2.6
  780. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.148-1
  781. - new upstream release
  782. - modified vimrc.ja to support utf-8 locale
  783. - drop vim-{ruby,perl,python}
  784. * Mon May 05 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 6.4.10-1vl5
  785. - rebuild with perl-5.10.0
  786. - applied new versioning policy
  787. - add "make installghelplinks"
  788. - add BuildRequires: pixman-devel
  789. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 6.4.10-0vl3
  790. - [SECURITY] add helptags.patch (patch2000) renamed from 7.1.039
  791. - fix format string vulnerability in the helptags_one (CVE-2007-2953)
  792. * Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.4.10-0vl2
  793. - changed man Group to Applications/Documentation
  794. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.10-0vl1
  795. - new upstream patch version
  796. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl2
  797. - update patching script
  798. - exit if upstream patches not exist
  799. * Mon Feb 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl1
  800. - new upstream patch version
  801. * Fri Nov 04 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl2
  802. - add cssIdentifier.patch to avoid error
  803. * Mon Oct 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl1
  804. - new upstream release
  805. - drop tmpfile.patch
  806. - import verifyenc.vim from KaoriYa.net ([vine-users:073279])
  807. - http://www.kaoriya.net/dist/vim-6.4-w32j.tar.bz2
  808. - import checkhl.patch from FC 6.4.000-2
  809. * Tue Oct 25 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-2
  810. - add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)
  811. * Mon Oct 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.90-0vl1
  812. - new upstream patch version
  813. - add numeric-keypad.patch (patch101)
  814. - Thanks, ISOBE Takeshi
  815. * Sun Aug 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl2
  816. - [SECURITY] re-add patches, import tmpfile.patch from FC
  817. - oops, patches not added at 6.3.86-0vl1
  818. - overwrite or create arbitrary files via a symlink attack (CAN-2005-0069)
  819. * Sat Jul 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl1
  820. - [SECURITY] new upstream patch version
  821. - modelines shell command execution vulnerability (CAN-2005-2368)
  822. - add README_patches.txt
  823. * Sun May 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.71-0vl1
  824. - new upstream patch version
  825. - update desktop file
  826. - import icons from FC
  827. - import gvim.desktop from FC and modify
  828. - move gvim.desktop to %%{_datadir}/applications
  829. - run update-desktop-database at X11-common's post/postun
  830. - import specsyntax.patch from FC
  831. * Wed Jan 26 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.58-0vl1
  832. - new upstream patch version
  833. - perl/huge/X11-huge
  834. - add Requires: %%(perl -le 'use Config; print $Config{archlibexp}')
  835. * Tue Jan 11 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl2
  836. - rebuild with perl-5.8.6
  837. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl1
  838. - [SECURITY] new upstream patch version
  839. - arbitrary command execution vulnerability (CAN-2004-1138)
  840. - add URL
  841. - fix common's Japanese description
  842. - remove package information about vim-X11-*
  843. - add Provides: gvim (vim-X11-*)
  844. * Fri Oct 29 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.31-0vl1
  845. - new upstream patch version
  846. - fix URLs (source1,2)
  847. * Sun Jun 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.3.6-0vl1
  848. - new upstream release
  849. - update configurations of alternatives
  850. - vim-tiny contains /bin/vim.tiny only
  851. - remove 'Requires: vim-common' from vim-man subpackage
  852. - change order of fileencordings in vimrc.ja
  853. * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl3
  854. - use gtk2 instead of gtk+
  855. - add Requires: gtk2 to vim-X11-common
  856. - add BuildRequires: gtk2-devel
  857. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl2
  858. - add --enable-multibyte to vim-tiny
  859. * Sat May 15 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.532-0vl1
  860. - new upstream patch version
  861. * Sat Mar 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.382-0vl1
  862. - new upstream version
  863. * Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 6.2.106-0vl1
  864. - new upstream version
  865. - bulid with ruby-1.8.0.
  866. * Tue Jun 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 6.2.14-0vl1
  867. - new upstream version
  868. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.300-0vl1
  869. - new upstream patch version
  870. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.265-0vl1
  871. - patch level 265, including fix of modeline vulnerability
  872. cf. http://www.guninski.com/vim1.html
  873. * Wed Apr 03 2002 akira yamada <akira@vinelinux.org> 6.1.5-0vl1
  874. - new upstream version.
  875. - updated format.vim. (extracted from
  876. http://www.kaoriya.net/dist/gvim-6.1-w32j.tar.bz2.)
  877. - clean uped vimrc, vimrc.ja, gvimrc, gvimrc.ja.
  878. * Thu Jan 31 2002 Toru Sagami <sagami@vinelinux.org> 6.0.158-0vl1
  879. - patch level 6.0.158
  880. * Sun Nov 25 2001 akira yamada <akira@vinelinux.org> 6.0.93-0vl1
  881. - new upstream patch version.
  882. - added PreReqs: alternatives for vim, vim-tiny, vim-X11.
  883. * Mon Nov 12 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl4
  884. - added Japanese descriptions.
  885. - English descriptions by shaolin.
  886. * Wed Nov 07 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl3
  887. - added triggerpostun for vim-minimal.
  888. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl2
  889. - patch #44, #54, #64 is now available.
  890. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl1
  891. - new upstream patch version.
  892. - removed jcode2.vim and added new default vimrc.
  893. - removed unused sources and patches.
  894. - alternatives for /bin/vi.
  895. - added net-tools to BuildRequires. (/bin/hostname)
  896. * Wed Oct 31 2001 akira yamada <akira@vinelinux.org> 6.0.43-0vl1
  897. - new upstream patch version.
  898. - added vim-lang and vim-extra.
  899. - added gawk to Requires of vim-common.
  900. - added gtk+ to Requires of vim-X11-common.
  901. * Wed Oct 17 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl2
  902. - added autoconf and libtool to BuildRequires.
  903. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl1
  904. - vim and vim-X11 is no longer virturl package.
  905. - obsoleted vim-normal and vim-X11-normal.
  906. - added check "$1" = "0" for preun scripts.
  907. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0-0vl2
  908. - linked staticly vim of vim-tiny.
  909. * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 6.0-0vl1
  910. - new upstream version.
  911. - now, vim and vim-X11 is virtual package.
  912. - new sub-packages vim-tiny, vim-normal, vim-big, vim-ruby, vim-perl,
  913. vim-python, vim-huge, vim-X11-normal, vim-X11-big and vim-X11-huge.
  914. - obsoleted vim-minimal and vin-enhanced.
  915. * Sat Sep 08 2001 Toru Sagami <sagami@vinelinux.org>
  916. - 5.8-0vl4: rebuilt on current ncurses
  917. - added format.vim and more useful comments in vimrc.ja
  918. * Sat Aug 04 2001 <sagami@vinelinux.org>
  919. - 5.8-0vl3: patch level 5.8.9
  920. - dont pack duplicated runtime/syntax directory into %%doc
  921. * Thu Jul 19 2001 <sagami@vinelinux.org>
  922. - 5.8-0vl2: patch level 5.8.7
  923. - Add postfix config syntax highlighting
  924. * Fri Jun 08 2001 <sagami@vinelinux.org>
  925. - vim-5.8-0vl1: patch level 5.8.002
  926. * Fri Jun 01 2001 <sagami@vinelinux.org>
  927. - vim-5.8-0vl0: vim-5.8 bug fix release
  928. * Thu May 10 2001 <sagami@vinelinux.org>
  929. - vim-5.7-0vl8: patch level 5.7.030
  930. - use versioned sources, not older ones and patches
  931. - sync with RH6.2 updates
  932. * Wed Apr 18 2001 sagami@vinelinux.org
  933. - jcode2.vim: fix back to original one
  934. - patch level 5.7.028
  935. * Mon Feb 05 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  936. - patch level 5.7.024
  937. - small fix for jcode2.vim
  938. - split man package from common package to avoid conflict with jvim3
  939. * Tue Dec 26 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  940. - %%{makeinstall}
  941. - acutally build against current ncurses5 without gpm with ncurses4
  942. * Thu Dec 21 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  943. - build against current ncurses5
  944. - added CVS commit filetype detection to scripts.vim
  945. * Wed Dec 06 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  946. - 5.7.19
  947. - jcode.pl-2.13
  948. - added License recognition to .spec syntax
  949. - added RFC822 mail/ emacs-lips filetype detection to scripts.vim
  950. - FHS stuff: _mandir
  951. * Wed Jul 19 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  952. - based on RH 5.6-14 -> 5.7 (patchlevel .2)
  953. - manpath: /usr/share/man -> /usr/man/man :-)
  954. - delete %%makeinstall macro for rpm-3.0.x
  955. - gvim: --enable-multibyte, xim, fontset
  956. - vim: --enable-multibyte
  957. - jcode.pl-2.11 and jcode2.vim from Nozomu Kobayashi's rpm package
  958. - vimrc: added bzip2 and Japanese stuff of a kind
  959. * Sat Jun 3 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  960. - patchlevel 74
  961. - add %%makeinstall macro recognition to .spec file syntax highlighting rules
  962. - fix up Makefiles
  963. * Fri Apr 14 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  964. - patchlevel 66
  965. - fix compilation with perl 5.6.0
  966. * Mon Mar 20 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  967. - patchlevel 12
  968. * Tue Mar 07 2000 Preston Brown <pbrown@redhat.com>
  969. - fix home/end in vimrc (we did a term = rxvt, totally wrong)
  970. * Tue Feb 29 2000 Preston Brown <pbrown@redhat.com>
  971. - change F1-F4 keybindings for xterm builtin terminfo to match real terminfo
  972. * Thu Feb 17 2000 Bill Nottingham <notting@redhat.com>
  973. - kill autoindent
  974. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  975. - wmconfig -> desktop
  976. * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  977. - Patchlevel 11
  978. - handle compressed man pages
  979. - fix man page symlinks
  980. * Wed Feb 2 2000 Bill Nottingham <notting@redhat.com>
  981. - eliminate dependencies on X in vim-enhanced, and ncurses/gpm
  982. in vim-minimal
  983. * Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
  984. - eliminate dependencies on csh and perl in vim-common
  985. * Wed Jan 19 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  986. - Use awk, not nawk
  987. * Tue Jan 18 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  988. - 5.6
  989. - patch 5.6.001
  990. - remove /usr/bin/vi - if you want vim, type vim
  991. * Tue Jan 11 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  992. - 5.6a
  993. - Remove dependency on nawk (introduced by base update)
  994. - some tweaks to make updating easier
  995. * Tue Nov 9 1999 Bernhard Rosenkr舅zer <bero@redhat.com>
  996. - 5.5
  997. - fix path to vimrc
  998. * Tue Jul 27 1999 Michael K. Johnson <johnsonm@redhat.com>
  999. - moved from athena to gtk widgets for X version
  1000. - removed vim.1 from X11 filelist because X11 depends on vim-common anyway
  1001. - fixed rogue dependencies from sample files
  1002. * Tue Jul 27 1999 Jeff Johnson <jbj@redhat.com>
  1003. - update to 5.4.
  1004. * Thu Jul 22 1999 Jeff Johnson <jbj@redhat.com>
  1005. - man page had buildroot pollution (#3629).
  1006. * Thu Mar 25 1999 Preston Brown <pbrown@redhat.com>
  1007. - with recent termcap/terminfo fixes, regular vim works in xterm/console
  1008. - in color, so vim-color package removed.
  1009. * Tue Mar 23 1999 Erik Troan <ewt@redhat.com>
  1010. - removed "set backupdir=/tmp/vim_backup" from default vimrc
  1011. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1012. - auto rebuild in the new build environment (release 5)
  1013. * Thu Dec 17 1998 Michael Maher <mike@redaht.com>
  1014. - built pacakge for 6.0
  1015. * Tue Sep 15 1998 Michael Maher <mike@redhat.com>
  1016. - removed '--with-tlib=termcap' so that color-vim works
  1017. * Wed Sep 2 1998 Jeff Johnson <jbj@redhat.com>
  1018. - update to 5.3.
  1019. * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
  1020. - merge in Toshio's changes
  1021. - color-vim: changed "--disable-p" to "--disable-perlinterp --with-tlib=termcap"
  1022. - added minimal rvi/rview and man pages.
  1023. - move Obsoletes to same package as executable.
  1024. * Thu Aug 06 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  1025. - Break the package apart similar to the way the netscape package was
  1026. broken down to handle navigator or communicator: The vim package is
  1027. Obsolete, now there is vim-common with all the common files, and a
  1028. package for each binary: vim-minimal (has /bin/vi compiled with no
  1029. frills), vim-enhanced (has /usr/bin/vim with extra perl and python
  1030. interpreters), and vim-X11 (has /usr/X11R6/bin/gvim compiled with
  1031. GUI support.)
  1032. - Enable the perl and python interpreters in the gui version (gvim).
  1033. * Tue Jun 30 1998 Michael Maher <mike@redhat.com>
  1034. - Fixed tutor help.
  1035. - cvim package added. Thanks to Stevie Wills for finding this one :-)
  1036. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  1037. - translations modified for de, fr, tr
  1038. * Fri May 01 1998 Donnie Barnes <djb@redhat.com>
  1039. - added patch to turn off the "vi compatibility" by default. You can
  1040. still get it via the -C command line option
  1041. * Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
  1042. - removed perl and python interpreters (sorry, but those don't belong
  1043. in a /bin/vi and having two vi's seemed like overkill...complain
  1044. to suggest@redhat.com if you care)
  1045. * Fri Apr 17 1998 Donnie Barnes <djb@redhat.com>
  1046. - fixed buildroot bug
  1047. * Sat Apr 11 1998 Donnie Barnes <djb@redhat.com>
  1048. - updated from 4.6 to 5.1
  1049. - moved to buildroot
  1050. * Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
  1051. - fixed missing man page
  1052. * Wed Oct 22 1997 Donnie Barnes <djb@redhat.com>
  1053. - added wmconfig entry to vim-X11
  1054. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  1055. - upgraded from 4.5 to 4.6
  1056. * Fri Jun 13 1997 Erik Troan <ewt@redhat.com>
  1057. - built against glibc
  1058. * Tue Mar 25 1997 Michael K. Johnson <johnsonm@redhat.com>
  1059. - Upgraded to 4.5
  1060. - Added ex symlinks
  1061. * Tue Mar 11 1997 Michael K. Johnson <johnsonm@redhat.com>
  1062. - Added view symlink.