vim-vl.spec 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291
  1. %bcond_with vim_big
  2. # version, patch version
  3. %define vimversion 8.2
  4. %define vimsrcpversion 3547
  5. %define vimpversion 3547
  6. %define vimsubdir vim%(echo %{vimversion} | sed -e's/\\.//')
  7. #define vimdir %{vimsubdir}
  8. %define vimdir vim-%{vimversion}.%{vimsrcpversion}
  9. %define binprefix /
  10. %define x11prefix /usr
  11. %define vimrcloc %{_sysconfdir}/vim
  12. %define vimruntime %{_datadir}/vim
  13. %define configopts --bindir='${exec_prefix}/bin' --disable-gpm
  14. %define features_x11 --exec-prefix=%{_prefix} --with-x=yes --enable-gtk3-check --enable-gui=gtk3 --enable-xim --enable-fontset
  15. %define features_nox11 --exec-prefix=%{_prefix} --with-x=no --enable-gui=no
  16. %define features_huge --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-luainterp
  17. %define features_big --with-features=big --enable-multibyte
  18. %define features_normal --with-features=normal --enable-multibyte
  19. %define features_tiny --exec-prefix=%{binprefix} --with-features=tiny --enable-multibyte --with-tlib=tinfo
  20. Summary: Vi IMproved - enhanced vi editor
  21. Summary(ja): Vi IMproved - 改良された vi エディタ
  22. Name: vim
  23. %if %{vimpversion}
  24. Version: %{vimversion}.%{vimpversion}
  25. %else
  26. Version: %{vimversion}
  27. %endif
  28. Release: 1%{?_dist_release}
  29. Group: accessories
  30. Distribution: Vine Linux
  31. Vendor: Project Vine
  32. License: Vim
  33. URL: https://www.vim.org/
  34. Source0: https://github.com/vim/vim/archive/v%{vimversion}.%{vimsrcpversion}.tar.gz#/vim-%{vimversion}.%{vimsrcpversion}.tar.bz2
  35. # gvim desktop file
  36. Source100: gvim.desktop
  37. Source101: gvim16.png
  38. Source102: gvim32.png
  39. Source103: gvim48.png
  40. Source104: gvim64.png
  41. Source300: vimrc.ja
  42. Source400: format.vim
  43. Source401: verifyenc.vim
  44. # http://trac.vinelinux.org/wiki/SpecTemplates/PlainPackage
  45. Source500: template.spec.vine
  46. Patch2002: vim-7.0-fixkeys.patch
  47. Patch2003: vim-8.0-specsyntax.patch
  48. # Patches 2000 and up are patches from the base maintainer.
  49. # If you're as lazy as me, generate the list using
  50. # for i in seq 1 154; do printf "Patch%04d: ftp://ftp.vim.org/pub/vim/patches/8.0/8.0.%04d\n" $i $i; done > vimpatches
  51. # nothing
  52. Patch2010: xxd-locale.patch
  53. Patch3007: vim-7.4-fstabsyntax.patch
  54. Patch3010: vim-7.3-manpage-typo-668894-675480.patch
  55. Patch3011: vim-manpagefixes-948566.patch
  56. Patch3013: vim-7.4-globalsyntax.patch
  57. Patch3014: vim-7.4-releasestring-1318991.patch
  58. # migrate shebangs in script to /usr/bin/python3 and use python2 when necessary
  59. Patch3017: vim-python3-tests.patch
  60. # fips warning
  61. Patch3018: vim-crypto-warning.patch
  62. Patch4000: vim-7.2-fix-menu.patch
  63. # Patch4010: vim-7.3-enable-syntax.patch
  64. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  65. BuildRequires: ruby, ruby-devel, python-devel, perl, gtk3-devel, ncurses-devel, autoconf, libtool, net-tools, pixman-devel, libXt-devel
  66. BuildRequires: lua-devel
  67. %if "%{?_dist_release}" != "vl5"
  68. BuildRequires: glibc-static
  69. %endif
  70. Requires(post): alternatives
  71. Requires: vim-common = %{version}
  72. %description
  73. VIM (VIsual editor iMproved) is an updated and improved version of the
  74. vi editor. Vi was the first real screen-based editor for UNIX, and is
  75. still very popular. VIM has many new features including:
  76. multiple windows, multi-level undos, block highlighting and more.
  77. vim-normal package provides a VIM executable configured
  78. with essential features enabled.
  79. %description -l ja
  80. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  81. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  82. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  83. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  84. トなどです.
  85. このパッケージでは最も基本的な機能を含んだVIMが提供されます.
  86. %package common
  87. Summary: Common files needed by the non-X VIM packages
  88. Summary(ja): 各種の VIM パッケージに必要なファイル
  89. Group: accessories
  90. Requires: gawk
  91. Conflicts: vim-X11 < 6.0, vim-enhanced < 6.0, vim-minimal < 6.0
  92. %description common
  93. vim-common package contains files which every VIM binary packages will
  94. need in order to run. VIM itself is included in various packages (under
  95. every different configuration) such as:
  96. * vim - normal features
  97. * vim-big - big features
  98. * vim-huge - huge features and Ruby/Perl/Python support
  99. %package man
  100. Summary: Man pages for the VIM editor
  101. Summary(ja): VIM エディタの man ページ
  102. Group: documentation
  103. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1
  104. %description man
  105. This package contains man pages for the VIM editor.
  106. %description -l ja man
  107. このパッケージはVIMエディタのmanページを含んでいます.
  108. %package tiny
  109. Summary: A minimal version of the VIM editor
  110. Summary(ja): 最小構成の VIM エディタ
  111. Group: accessories
  112. Requires(post): alternatives
  113. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1, vim-minimal
  114. Obsoletes: vim-minimal
  115. %description tiny
  116. VIM (VIsual editor iMproved) is an updated and improved version of the
  117. vi editor. Vi was the first real screen-based editor for UNIX, and is
  118. still very popular. VIM has many new features including:
  119. multiple windows, multi-level undos, block highlighting and more.
  120. vim-tiny package contains /bin/vi, a minimally configured version
  121. of the VIM. It may be handy when only the root partition is present.
  122. vim-common package is NOT needed to run this program.
  123. %description -l ja tiny
  124. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  125. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  126. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  127. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  128. トなどです.
  129. このパッケージでは最小構成のVIMを/bin/vimとして提供しています。このパッ
  130. ケージで提供されるVIMを使うにあたってはvim-commonパッケージは必要あり
  131. ません.
  132. %if %{with big}
  133. %package big
  134. Summary: VIM editor with big features
  135. Summary(ja): 多機能版の VIM エディタ
  136. Group: accessories
  137. Requires(post): alternatives
  138. Requires: vim-common = %{version}
  139. Obsoletes: vim-color
  140. %description big
  141. VIM (VIsual editor iMproved) is an updated and improved version of the
  142. vi editor. Vi was the first real screen-based editor for UNIX, and is
  143. still very popular. VIM has many new features including:
  144. multiple windows, multi-level undos, block highlighting and more.
  145. vim-big package contains the VIM with "big" features enabled.
  146. %description -l ja big
  147. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  148. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  149. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  150. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  151. トなどです.
  152. このパッケージではvimパッケージで提供されるVIMよりも多くの機能を含んだ
  153. VIMを提供しています.
  154. %endif
  155. %package huge
  156. Summary: VIM editor with huge features
  157. Summary(ja): 最大機能版の VIM エディタ
  158. Group: accessories
  159. Requires(post): alternatives
  160. Requires: vim-common = %{version}
  161. Requires: %(perl -le 'use Config; print $Config{archlibexp}')
  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 Oct 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3547-1
  657. - new upstream release.
  658. * Tue Sep 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3458-1
  659. - new upstream release.
  660. - dropped Patch3000, 3002, 3004, 3008 and 3016.
  661. * Fri Sep 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3423-1
  662. - new upstream release.
  663. * Wed Aug 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3356-1
  664. - new upstream release.
  665. - disabled vim-{,X11-}big.
  666. - dropped update-desktop-database scriptlets.
  667. * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.3290-1
  668. - new upstream release.
  669. * Mon Feb 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.2517-1
  670. - new upstream release.
  671. - updated Patch3016.
  672. * Mon Sep 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1712-1
  673. - new upstream release.
  674. - updated Patch3007 and 3017.
  675. * Mon Mar 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0390-1
  676. - new upstream release.
  677. - built with ruby-2.6.5.
  678. * Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0365-1
  679. - new upstream release.
  680. - updated fedora patches.
  681. - updated .spec template for Vine Linux.
  682. - switched gui to gtk3.
  683. * Mon May 20 2019 Toshiaki Ara <ara_t@384.jp> 8.0.599-2
  684. - rebuild with perl-5.26
  685. * Fri May 19 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 8.0.599-1
  686. - update to 8.0.599
  687. - update spec plugin patches (Patch3006, Patch3011)
  688. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.589-5
  689. - build with ruby 2.4.1
  690. * Tue Nov 29 2016 Toshiaki Ara <ara_t@384.jp> 7.4.589-4
  691. - fix %%post error when installing vim-huge, vim-X11 and vi-X11-huge
  692. - change /usr/bin/vi to /usr/bin/vi
  693. * Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-3
  694. - add Source500 (template.spec.vine)
  695. * Fri Sep 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-2
  696. - rebuild with ruby-2.2.3
  697. * Sat Jan 31 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 7.4.589-1
  698. - update to 7.4.589
  699. * Thu Jul 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.334-3
  700. - rebuild with perl-5.16.3
  701. * Wed Jun 25 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-2vl7
  702. - build with Ruby 2.1
  703. * Thu Jun 19 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.334-1
  704. - update to 7.4.334
  705. * Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.131-1
  706. - update to 7.4.131
  707. * Sat Nov 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.110-1
  708. - update to 7.4.110
  709. - add 7.4 patches (Patch51..110)
  710. - enable Lua support
  711. - fix 7.4.50-1 changelog
  712. * Fri Oct 4 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.50-1
  713. - update to 7.4.50
  714. - drop 7.3 patches (Patch001..712)
  715. - add 7.4 patches (Patch1..50)
  716. - drop crv patch (Patch2004)
  717. - update some patches from Fedora vim-7.4.027-2
  718. - syntax patch (Patch3000):
  719. - fstabsyntax patch (Patch3007)
  720. - add Distribution and Vendor tags
  721. * Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.712-1
  722. - update to 7.3.712
  723. - build with ruby-1.9.3
  724. * Sun Jun 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.206-1
  725. - update to 7.3.206
  726. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.154-1
  727. - update to 7.3.154
  728. - update Patch001-154
  729. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-5
  730. - rebuild with perl-5.12.3
  731. * Sun Jan 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.2.446-4
  732. - add BuildRequires: libXt-devel
  733. * Sun Jan 09 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-3
  734. - update vimrc.ja (fixed http://bts.vinelinux.org/user.cgi?action=view_report&id=1067&project=VineLinux)
  735. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-2
  736. - do not BR: glibc-static on Vine 5.x
  737. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-1
  738. - update tp 7.2.446 (add Patch149-446)
  739. - run update-alternatives on vim-huge post script
  740. - drop Patch3004 (use %%{_datadir}/vim/vimrc)
  741. - add vimrc.tiny for vim.tiny
  742. - add BR: glibc-static to build vime-tiny
  743. * Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 7.2.148-2
  744. - rebuilt with python-2.6
  745. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.148-1
  746. - new upstream release
  747. - modified vimrc.ja to support utf-8 locale
  748. - drop vim-{ruby,perl,python}
  749. * Mon May 05 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 6.4.10-1vl5
  750. - rebuild with perl-5.10.0
  751. - applied new versioning policy
  752. - add "make installghelplinks"
  753. - add BuildRequires: pixman-devel
  754. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 6.4.10-0vl3
  755. - [SECURITY] add helptags.patch (patch2000) renamed from 7.1.039
  756. - fix format string vulnerability in the helptags_one (CVE-2007-2953)
  757. * Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.4.10-0vl2
  758. - changed man Group to Applications/Documentation
  759. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.10-0vl1
  760. - new upstream patch version
  761. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl2
  762. - update patching script
  763. - exit if upstream patches not exist
  764. * Mon Feb 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl1
  765. - new upstream patch version
  766. * Fri Nov 04 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl2
  767. - add cssIdentifier.patch to avoid error
  768. * Mon Oct 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl1
  769. - new upstream release
  770. - drop tmpfile.patch
  771. - import verifyenc.vim from KaoriYa.net ([vine-users:073279])
  772. - http://www.kaoriya.net/dist/vim-6.4-w32j.tar.bz2
  773. - import checkhl.patch from FC 6.4.000-2
  774. * Tue Oct 25 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-2
  775. - add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)
  776. * Mon Oct 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.90-0vl1
  777. - new upstream patch version
  778. - add numeric-keypad.patch (patch101)
  779. - Thanks, ISOBE Takeshi
  780. * Sun Aug 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl2
  781. - [SECURITY] re-add patches, import tmpfile.patch from FC
  782. - oops, patches not added at 6.3.86-0vl1
  783. - overwrite or create arbitrary files via a symlink attack (CAN-2005-0069)
  784. * Sat Jul 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl1
  785. - [SECURITY] new upstream patch version
  786. - modelines shell command execution vulnerability (CAN-2005-2368)
  787. - add README_patches.txt
  788. * Sun May 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.71-0vl1
  789. - new upstream patch version
  790. - update desktop file
  791. - import icons from FC
  792. - import gvim.desktop from FC and modify
  793. - move gvim.desktop to %%{_datadir}/applications
  794. - run update-desktop-database at X11-common's post/postun
  795. - import specsyntax.patch from FC
  796. * Wed Jan 26 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.58-0vl1
  797. - new upstream patch version
  798. - perl/huge/X11-huge
  799. - add Requires: %%(perl -le 'use Config; print $Config{archlibexp}')
  800. * Tue Jan 11 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl2
  801. - rebuild with perl-5.8.6
  802. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl1
  803. - [SECURITY] new upstream patch version
  804. - arbitrary command execution vulnerability (CAN-2004-1138)
  805. - add URL
  806. - fix common's Japanese description
  807. - remove package information about vim-X11-*
  808. - add Provides: gvim (vim-X11-*)
  809. * Fri Oct 29 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.31-0vl1
  810. - new upstream patch version
  811. - fix URLs (source1,2)
  812. * Sun Jun 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.3.6-0vl1
  813. - new upstream release
  814. - update configurations of alternatives
  815. - vim-tiny contains /bin/vim.tiny only
  816. - remove 'Requires: vim-common' from vim-man subpackage
  817. - change order of fileencordings in vimrc.ja
  818. * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl3
  819. - use gtk2 instead of gtk+
  820. - add Requires: gtk2 to vim-X11-common
  821. - add BuildRequires: gtk2-devel
  822. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl2
  823. - add --enable-multibyte to vim-tiny
  824. * Sat May 15 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.532-0vl1
  825. - new upstream patch version
  826. * Sat Mar 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.382-0vl1
  827. - new upstream version
  828. * Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 6.2.106-0vl1
  829. - new upstream version
  830. - bulid with ruby-1.8.0.
  831. * Tue Jun 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 6.2.14-0vl1
  832. - new upstream version
  833. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.300-0vl1
  834. - new upstream patch version
  835. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.265-0vl1
  836. - patch level 265, including fix of modeline vulnerability
  837. cf. http://www.guninski.com/vim1.html
  838. * Wed Apr 03 2002 akira yamada <akira@vinelinux.org> 6.1.5-0vl1
  839. - new upstream version.
  840. - updated format.vim. (extracted from
  841. http://www.kaoriya.net/dist/gvim-6.1-w32j.tar.bz2.)
  842. - clean uped vimrc, vimrc.ja, gvimrc, gvimrc.ja.
  843. * Thu Jan 31 2002 Toru Sagami <sagami@vinelinux.org> 6.0.158-0vl1
  844. - patch level 6.0.158
  845. * Sun Nov 25 2001 akira yamada <akira@vinelinux.org> 6.0.93-0vl1
  846. - new upstream patch version.
  847. - added PreReqs: alternatives for vim, vim-tiny, vim-X11.
  848. * Mon Nov 12 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl4
  849. - added Japanese descriptions.
  850. - English descriptions by shaolin.
  851. * Wed Nov 07 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl3
  852. - added triggerpostun for vim-minimal.
  853. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl2
  854. - patch #44, #54, #64 is now available.
  855. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl1
  856. - new upstream patch version.
  857. - removed jcode2.vim and added new default vimrc.
  858. - removed unused sources and patches.
  859. - alternatives for /bin/vi.
  860. - added net-tools to BuildRequires. (/bin/hostname)
  861. * Wed Oct 31 2001 akira yamada <akira@vinelinux.org> 6.0.43-0vl1
  862. - new upstream patch version.
  863. - added vim-lang and vim-extra.
  864. - added gawk to Requires of vim-common.
  865. - added gtk+ to Requires of vim-X11-common.
  866. * Wed Oct 17 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl2
  867. - added autoconf and libtool to BuildRequires.
  868. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl1
  869. - vim and vim-X11 is no longer virturl package.
  870. - obsoleted vim-normal and vim-X11-normal.
  871. - added check "$1" = "0" for preun scripts.
  872. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0-0vl2
  873. - linked staticly vim of vim-tiny.
  874. * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 6.0-0vl1
  875. - new upstream version.
  876. - now, vim and vim-X11 is virtual package.
  877. - new sub-packages vim-tiny, vim-normal, vim-big, vim-ruby, vim-perl,
  878. vim-python, vim-huge, vim-X11-normal, vim-X11-big and vim-X11-huge.
  879. - obsoleted vim-minimal and vin-enhanced.
  880. * Sat Sep 08 2001 Toru Sagami <sagami@vinelinux.org>
  881. - 5.8-0vl4: rebuilt on current ncurses
  882. - added format.vim and more useful comments in vimrc.ja
  883. * Sat Aug 04 2001 <sagami@vinelinux.org>
  884. - 5.8-0vl3: patch level 5.8.9
  885. - dont pack duplicated runtime/syntax directory into %%doc
  886. * Thu Jul 19 2001 <sagami@vinelinux.org>
  887. - 5.8-0vl2: patch level 5.8.7
  888. - Add postfix config syntax highlighting
  889. * Fri Jun 08 2001 <sagami@vinelinux.org>
  890. - vim-5.8-0vl1: patch level 5.8.002
  891. * Fri Jun 01 2001 <sagami@vinelinux.org>
  892. - vim-5.8-0vl0: vim-5.8 bug fix release
  893. * Thu May 10 2001 <sagami@vinelinux.org>
  894. - vim-5.7-0vl8: patch level 5.7.030
  895. - use versioned sources, not older ones and patches
  896. - sync with RH6.2 updates
  897. * Wed Apr 18 2001 sagami@vinelinux.org
  898. - jcode2.vim: fix back to original one
  899. - patch level 5.7.028
  900. * Mon Feb 05 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  901. - patch level 5.7.024
  902. - small fix for jcode2.vim
  903. - split man package from common package to avoid conflict with jvim3
  904. * Tue Dec 26 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  905. - %%{makeinstall}
  906. - acutally build against current ncurses5 without gpm with ncurses4
  907. * Thu Dec 21 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  908. - build against current ncurses5
  909. - added CVS commit filetype detection to scripts.vim
  910. * Wed Dec 06 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  911. - 5.7.19
  912. - jcode.pl-2.13
  913. - added License recognition to .spec syntax
  914. - added RFC822 mail/ emacs-lips filetype detection to scripts.vim
  915. - FHS stuff: _mandir
  916. * Wed Jul 19 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  917. - based on RH 5.6-14 -> 5.7 (patchlevel .2)
  918. - manpath: /usr/share/man -> /usr/man/man :-)
  919. - delete %%makeinstall macro for rpm-3.0.x
  920. - gvim: --enable-multibyte, xim, fontset
  921. - vim: --enable-multibyte
  922. - jcode.pl-2.11 and jcode2.vim from Nozomu Kobayashi's rpm package
  923. - vimrc: added bzip2 and Japanese stuff of a kind
  924. * Sat Jun 3 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  925. - patchlevel 74
  926. - add %%makeinstall macro recognition to .spec file syntax highlighting rules
  927. - fix up Makefiles
  928. * Fri Apr 14 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  929. - patchlevel 66
  930. - fix compilation with perl 5.6.0
  931. * Mon Mar 20 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  932. - patchlevel 12
  933. * Tue Mar 07 2000 Preston Brown <pbrown@redhat.com>
  934. - fix home/end in vimrc (we did a term = rxvt, totally wrong)
  935. * Tue Feb 29 2000 Preston Brown <pbrown@redhat.com>
  936. - change F1-F4 keybindings for xterm builtin terminfo to match real terminfo
  937. * Thu Feb 17 2000 Bill Nottingham <notting@redhat.com>
  938. - kill autoindent
  939. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  940. - wmconfig -> desktop
  941. * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  942. - Patchlevel 11
  943. - handle compressed man pages
  944. - fix man page symlinks
  945. * Wed Feb 2 2000 Bill Nottingham <notting@redhat.com>
  946. - eliminate dependencies on X in vim-enhanced, and ncurses/gpm
  947. in vim-minimal
  948. * Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
  949. - eliminate dependencies on csh and perl in vim-common
  950. * Wed Jan 19 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  951. - Use awk, not nawk
  952. * Tue Jan 18 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  953. - 5.6
  954. - patch 5.6.001
  955. - remove /usr/bin/vi - if you want vim, type vim
  956. * Tue Jan 11 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  957. - 5.6a
  958. - Remove dependency on nawk (introduced by base update)
  959. - some tweaks to make updating easier
  960. * Tue Nov 9 1999 Bernhard Rosenkr舅zer <bero@redhat.com>
  961. - 5.5
  962. - fix path to vimrc
  963. * Tue Jul 27 1999 Michael K. Johnson <johnsonm@redhat.com>
  964. - moved from athena to gtk widgets for X version
  965. - removed vim.1 from X11 filelist because X11 depends on vim-common anyway
  966. - fixed rogue dependencies from sample files
  967. * Tue Jul 27 1999 Jeff Johnson <jbj@redhat.com>
  968. - update to 5.4.
  969. * Thu Jul 22 1999 Jeff Johnson <jbj@redhat.com>
  970. - man page had buildroot pollution (#3629).
  971. * Thu Mar 25 1999 Preston Brown <pbrown@redhat.com>
  972. - with recent termcap/terminfo fixes, regular vim works in xterm/console
  973. - in color, so vim-color package removed.
  974. * Tue Mar 23 1999 Erik Troan <ewt@redhat.com>
  975. - removed "set backupdir=/tmp/vim_backup" from default vimrc
  976. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  977. - auto rebuild in the new build environment (release 5)
  978. * Thu Dec 17 1998 Michael Maher <mike@redaht.com>
  979. - built pacakge for 6.0
  980. * Tue Sep 15 1998 Michael Maher <mike@redhat.com>
  981. - removed '--with-tlib=termcap' so that color-vim works
  982. * Wed Sep 2 1998 Jeff Johnson <jbj@redhat.com>
  983. - update to 5.3.
  984. * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
  985. - merge in Toshio's changes
  986. - color-vim: changed "--disable-p" to "--disable-perlinterp --with-tlib=termcap"
  987. - added minimal rvi/rview and man pages.
  988. - move Obsoletes to same package as executable.
  989. * Thu Aug 06 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  990. - Break the package apart similar to the way the netscape package was
  991. broken down to handle navigator or communicator: The vim package is
  992. Obsolete, now there is vim-common with all the common files, and a
  993. package for each binary: vim-minimal (has /bin/vi compiled with no
  994. frills), vim-enhanced (has /usr/bin/vim with extra perl and python
  995. interpreters), and vim-X11 (has /usr/X11R6/bin/gvim compiled with
  996. GUI support.)
  997. - Enable the perl and python interpreters in the gui version (gvim).
  998. * Tue Jun 30 1998 Michael Maher <mike@redhat.com>
  999. - Fixed tutor help.
  1000. - cvim package added. Thanks to Stevie Wills for finding this one :-)
  1001. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  1002. - translations modified for de, fr, tr
  1003. * Fri May 01 1998 Donnie Barnes <djb@redhat.com>
  1004. - added patch to turn off the "vi compatibility" by default. You can
  1005. still get it via the -C command line option
  1006. * Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
  1007. - removed perl and python interpreters (sorry, but those don't belong
  1008. in a /bin/vi and having two vi's seemed like overkill...complain
  1009. to suggest@redhat.com if you care)
  1010. * Fri Apr 17 1998 Donnie Barnes <djb@redhat.com>
  1011. - fixed buildroot bug
  1012. * Sat Apr 11 1998 Donnie Barnes <djb@redhat.com>
  1013. - updated from 4.6 to 5.1
  1014. - moved to buildroot
  1015. * Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
  1016. - fixed missing man page
  1017. * Wed Oct 22 1997 Donnie Barnes <djb@redhat.com>
  1018. - added wmconfig entry to vim-X11
  1019. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  1020. - upgraded from 4.5 to 4.6
  1021. * Fri Jun 13 1997 Erik Troan <ewt@redhat.com>
  1022. - built against glibc
  1023. * Tue Mar 25 1997 Michael K. Johnson <johnsonm@redhat.com>
  1024. - Upgraded to 4.5
  1025. - Added ex symlinks
  1026. * Tue Mar 11 1997 Michael K. Johnson <johnsonm@redhat.com>
  1027. - Added view symlink.