vim-vl.spec 46 KB

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