vim-vl.spec 44 KB

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