vim-vl.spec 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388
  1. # version, patch version
  2. %define vimversion 7.4
  3. %define vimpversion 131
  4. %define vimsubdir vim%(echo %{vimversion} | sed -e's/\\.//')
  5. %define vimdir %{vimsubdir}
  6. %define binprefix /
  7. %define x11prefix /usr
  8. %define vimrcloc %{_sysconfdir}/vim
  9. %define vimruntime %{_datadir}/vim
  10. %define configopts --bindir='${exec_prefix}/bin' --disable-gpm
  11. %define features_x11 --exec-prefix=%{_prefix} --with-x=yes --enable-gui=gtk2 --enable-xim --enable-fontset
  12. %define features_nox11 --exec-prefix=%{_prefix} --with-x=no --enable-gui=no
  13. %define features_huge --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-luainterp
  14. %define features_big --with-features=big --enable-multibyte
  15. %define features_normal --with-features=normal --enable-multibyte
  16. %define features_tiny --exec-prefix=%{binprefix} --with-features=tiny --enable-multibyte --with-tlib=tinfo
  17. Summary: Vi IMproved - enhanced vi editor
  18. Summary(ja): Vi IMproved - 改良された vi エディタ
  19. Name: vim
  20. License: Vim
  21. Group: Applications/Editors
  22. URL: http://www.vim.org/
  23. %if %{vimpversion}
  24. Version: %{vimversion}.%{vimpversion}
  25. %else
  26. Version: %{vimversion}
  27. %endif
  28. Release: 1%{?_dist_release}
  29. Distribution: Vine Linux
  30. Vendor: Project Vine
  31. Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{vimversion}.tar.bz2
  32. # gvim desktop file
  33. Source100: gvim.desktop
  34. Source101: gvim16.png
  35. Source102: gvim32.png
  36. Source103: gvim48.png
  37. Source104: gvim64.png
  38. Source300: vimrc.ja
  39. Source400: format.vim
  40. Source401: verifyenc.vim
  41. Patch2002: vim-7.0-fixkeys.patch
  42. Patch2003: vim-6.2-specsyntax.patch
  43. # Patches 1000 and up are patches from the base maintainer.
  44. # If you're as lazy as me, generate the list using
  45. # for i in seq 1 154; do printf "Patch%03d: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.%03d\n" $i $i; done > vimpatches
  46. Patch001: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.001
  47. Patch002: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.002
  48. Patch003: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.003
  49. Patch004: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.004
  50. Patch005: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.005
  51. Patch006: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.006
  52. Patch007: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.007
  53. Patch008: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.008
  54. Patch009: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.009
  55. Patch010: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.010
  56. Patch011: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.011
  57. Patch012: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.012
  58. Patch013: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.013
  59. Patch014: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.014
  60. Patch015: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.015
  61. Patch016: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.016
  62. Patch017: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.017
  63. Patch018: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.018
  64. Patch019: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.019
  65. Patch020: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.020
  66. Patch021: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.021
  67. Patch022: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.022
  68. Patch023: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.023
  69. Patch024: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.024
  70. Patch025: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.025
  71. Patch026: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.026
  72. Patch027: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.027
  73. Patch028: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.028
  74. Patch029: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.029
  75. Patch030: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.030
  76. Patch031: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.031
  77. Patch032: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.032
  78. Patch033: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.033
  79. Patch034: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.034
  80. Patch035: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.035
  81. Patch036: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.036
  82. Patch037: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.037
  83. Patch038: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.038
  84. Patch039: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.039
  85. Patch040: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.040
  86. Patch041: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.041
  87. Patch042: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.042
  88. Patch043: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.043
  89. Patch044: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.044
  90. Patch045: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.045
  91. Patch046: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.046
  92. Patch047: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.047
  93. Patch048: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.048
  94. Patch049: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.049
  95. Patch050: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.050
  96. Patch051: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.051
  97. Patch052: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.052
  98. Patch053: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.053
  99. Patch054: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.054
  100. Patch055: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.055
  101. Patch056: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.056
  102. Patch057: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.057
  103. Patch058: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.058
  104. Patch059: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.059
  105. Patch060: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.060
  106. Patch061: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.061
  107. Patch062: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.062
  108. Patch063: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.063
  109. Patch064: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.064
  110. Patch065: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.065
  111. Patch066: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.066
  112. Patch067: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.067
  113. Patch068: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.068
  114. Patch069: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.069
  115. Patch070: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.070
  116. Patch071: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.071
  117. Patch072: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.072
  118. Patch073: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.073
  119. Patch074: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.074
  120. Patch075: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.075
  121. Patch076: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.076
  122. Patch077: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.077
  123. Patch078: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.078
  124. Patch079: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.079
  125. Patch080: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.080
  126. Patch081: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.081
  127. Patch082: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.082
  128. Patch083: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.083
  129. Patch084: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.084
  130. Patch085: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.085
  131. Patch086: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.086
  132. Patch087: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.087
  133. Patch088: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.088
  134. Patch089: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.089
  135. Patch090: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.090
  136. Patch091: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.091
  137. Patch092: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.092
  138. Patch093: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.093
  139. Patch094: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.094
  140. Patch095: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.095
  141. Patch096: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.096
  142. Patch097: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.097
  143. Patch098: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.098
  144. Patch099: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.099
  145. Patch100: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.100
  146. Patch101: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.101
  147. Patch102: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.102
  148. Patch103: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.103
  149. Patch104: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.104
  150. Patch105: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.105
  151. Patch106: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.106
  152. Patch107: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.107
  153. Patch108: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.108
  154. Patch109: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.109
  155. Patch110: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.110
  156. Patch111: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.111
  157. Patch112: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.112
  158. Patch113: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.113
  159. Patch114: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.114
  160. Patch115: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.115
  161. Patch116: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.116
  162. Patch117: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.117
  163. Patch118: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.118
  164. Patch119: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.119
  165. Patch120: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.120
  166. Patch121: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.121
  167. Patch122: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.122
  168. Patch123: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.123
  169. Patch124: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.124
  170. Patch125: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.125
  171. Patch126: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.126
  172. Patch127: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.127
  173. Patch128: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.128
  174. Patch129: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.129
  175. Patch130: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.130
  176. Patch131: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.131
  177. Patch2010: xxd-locale.patch
  178. Patch3000: vim-7.4-syntax.patch
  179. Patch3002: vim-7.1-nowarnings.patch
  180. Patch3003: vim-6.1-rh3.patch
  181. #Patch3004: vim-7.0-rclocation.patch
  182. Patch3006: vim-6.4-checkhl.patch
  183. Patch3007: vim-7.4-fstabsyntax.patch
  184. Patch3009: vim-7.0-warning.patch
  185. Patch3010: vim-7.0-syncolor.patch
  186. Patch3011: vim-7.0-specedit.patch
  187. Patch4000: vim-7.2-fix-menu.patch
  188. # Patch4010: vim-7.3-enable-syntax.patch
  189. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  190. BuildRequires: ruby, ruby-devel, python-devel, perl, gtk2-devel, ncurses-devel, autoconf, libtool, net-tools, pixman-devel, libXt-devel
  191. BuildRequires: lua-devel
  192. %if "%{?_dist_release}" != "vl5"
  193. BuildRequires: glibc-static
  194. %endif
  195. Requires(post): alternatives
  196. Requires: vim-common = %{version}
  197. %description
  198. VIM (VIsual editor iMproved) is an updated and improved version of the
  199. vi editor. Vi was the first real screen-based editor for UNIX, and is
  200. still very popular. VIM has many new features including:
  201. multiple windows, multi-level undos, block highlighting and more.
  202. vim-normal package provides a VIM executable configured
  203. with essential features enabled.
  204. %description -l ja
  205. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  206. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  207. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  208. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  209. トなどです.
  210. このパッケージでは最も基本的な機能を含んだVIMが提供されます.
  211. %package common
  212. Summary: Common files needed by the non-X VIM packages
  213. Summary(ja): 各種の VIM パッケージに必要なファイル
  214. Group: Applications/Editors
  215. Requires: gawk
  216. Conflicts: vim-X11 < 6.0, vim-enhanced < 6.0, vim-minimal < 6.0
  217. %description common
  218. vim-common package contains files which every VIM binary packages will
  219. need in order to run. VIM itself is included in various packages (under
  220. every different configuration) such as:
  221. * vim - normal features
  222. * vim-big - big features
  223. * vim-huge - huge features and Ruby/Perl/Python support
  224. %package man
  225. Summary: Man pages for the VIM editor
  226. Summary(ja): VIM エディタの man ページ
  227. Group: Applications/Documentation
  228. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1
  229. %description man
  230. This package contains man pages for the VIM editor.
  231. %description -l ja man
  232. このパッケージはVIMエディタのmanページを含んでいます.
  233. %package tiny
  234. Summary: A minimal version of the VIM editor
  235. Summary(ja): 最小構成の VIM エディタ
  236. Group: Applications/Editors
  237. Requires(post): alternatives
  238. Conflicts: nvi <= 1.79_jp-18vl1, jvim <= 3.0j2.1a-0vl1, vim-minimal
  239. Obsoletes: vim-minimal
  240. %description tiny
  241. VIM (VIsual editor iMproved) is an updated and improved version of the
  242. vi editor. Vi was the first real screen-based editor for UNIX, and is
  243. still very popular. VIM has many new features including:
  244. multiple windows, multi-level undos, block highlighting and more.
  245. vim-tiny package contains /bin/vi, a minimally configured version
  246. of the VIM. It may be handy when only the root partition is present.
  247. vim-common package is NOT needed to run this program.
  248. %description -l ja tiny
  249. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  250. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  251. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  252. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  253. トなどです.
  254. このパッケージでは最小構成のVIMを/bin/vimとして提供しています。このパッ
  255. ケージで提供されるVIMを使うにあたってはvim-commonパッケージは必要あり
  256. ません.
  257. %package big
  258. Summary: VIM editor with big features
  259. Summary(ja): 多機能版の VIM エディタ
  260. Group: Applications/Editors
  261. Requires(post): alternatives
  262. Requires: vim-common = %{version}
  263. Obsoletes: vim-color
  264. %description big
  265. VIM (VIsual editor iMproved) is an updated and improved version of the
  266. vi editor. Vi was the first real screen-based editor for UNIX, and is
  267. still very popular. VIM has many new features including:
  268. multiple windows, multi-level undos, block highlighting and more.
  269. vim-big package contains the VIM with "big" features enabled.
  270. %description -l ja big
  271. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  272. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  273. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  274. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  275. トなどです.
  276. このパッケージではvimパッケージで提供されるVIMよりも多くの機能を含んだ
  277. VIMを提供しています.
  278. %package huge
  279. Summary: VIM editor with huge features
  280. Summary(ja): 最大機能版の VIM エディタ
  281. Group: Applications/Editors
  282. Requires(post): alternatives
  283. Requires: vim-common = %{version}
  284. Requires: %(perl -le 'use Config; print $Config{archlibexp}')
  285. Obsoletes: vim-color
  286. Obsoletes: vim-ruby, vim-python, vim-perl
  287. %description huge
  288. VIM (VIsual editor iMproved) is an updated and improved version of the
  289. vi editor. Vi was the first real screen-based editor for UNIX, and is
  290. still very popular. VIM has many new features including:
  291. multiple windows, multi-level undos, block highlighting and more.
  292. vim-huge package contains the VIM with most of its features (except
  293. X11 features) enabled such as Ruby, Perl, Python and Lua features.
  294. %description -l ja huge
  295. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  296. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  297. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  298. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  299. トなどです.
  300. このパッケージではX11対応以外のほとんどすべての機能のサポートに加え,
  301. Ruby/Perl/Python/Luaスクリプトの実行機能までを含んでVIMを提供しています.
  302. %package X11
  303. Summary: VIM editor with X11 support
  304. Summary(ja): X11 対応の VIM エディタ
  305. Group: Applications/Editors
  306. Requires(post): alternatives
  307. Requires: vim-X11-common = %{version}
  308. Provides: gvim
  309. %description X11
  310. VIM (VIsual editor iMproved) is an updated and improved version of the
  311. vi editor. Vi was the first real screen-based editor for UNIX, and is
  312. still very popular. VIM has many new features including:
  313. multiple windows, multi-level undos, block highlighting and more.
  314. vim-X11 package contains the VIM with X11 features enabled:
  315. you can run VIM as an X application with a full GUI interface and mouse
  316. support.
  317. %description -l ja X11
  318. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  319. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  320. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  321. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  322. トなどです.
  323. このパッケージでは最も基本的な構成のVIMにX11対応を加えたものを提供して
  324. います.
  325. %package X11-common
  326. Summary: The common files needed by any version of the GVIM editor
  327. Summary(ja): X11 対応 VIM エディタに必要な共通ファイル
  328. Group: Applications/Editors
  329. Requires: vim-common = %{version}, gtk2
  330. Requires(post): desktop-file-utils
  331. Requires(postun): desktop-file-utils
  332. %description X11-common
  333. vim-X11-common package contains files which every GVIM (VIM with X11
  334. features enabled) binaries will need in order to run.
  335. GVIM itself is included in various packages (under every different
  336. configuration) such as:
  337. * vim-X11 - normal features
  338. * vim-X11-big - big features
  339. * vim-X11-huge - huge features and Ruby/Perl/Python/Lua support
  340. %description -l ja X11-common
  341. このパッケージは以下に示す各X11対応のVIMパッケージで提供されるVIMエディ
  342. タを実行するために必要となる共通のファイル群を提供します:
  343. * vim-X11 - X対応機能を有効にしたVIMパッケージ
  344. * vim-X11-big - vim-bigをX対応にしたVIMパッケージ
  345. * vim-X11-huge - vim-hugeをX対応にしたVIMパッケージ
  346. %package X11-big
  347. Summary: VIM editor with big features and X11 support
  348. Summary(ja): X11 対応の多機能版 VIM エディタ
  349. Group: Applications/Editors
  350. Requires(post): alternatives
  351. Requires: vim-X11-common = %{version}
  352. Provides: gvim
  353. %description X11-big
  354. VIM-X11 is a version of the VIM editor which is configured to run on the X
  355. Window System. If you install this package, you can run VIM as an X
  356. application with a full GUI interface and mouse support.
  357. The vim-X11-big package provides the VIM which supports more features
  358. than vim-X11 package does.
  359. %description -l ja X11-big
  360. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  361. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  362. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  363. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  364. トなどです.
  365. このパッケージではvim-X11パッケージで提供されるVIMよりも,より多くの機
  366. 能を含んだVIMを提供しています.
  367. %package X11-huge
  368. Summary: VIM editor with huge features and X11 support
  369. Summary(ja): X11 対応の最大機能版 VIM エディタ
  370. Group: Applications/Editors
  371. Requires(post): alternatives
  372. Requires: vim-X11-common = %{version}
  373. Requires: %(perl -le 'use Config; print $Config{archlibexp}')
  374. Provides: gvim
  375. %description X11-huge
  376. VIM-X11 is a version of the VIM editor which is configured to run on the X
  377. Window System. If you install this package, you can run VIM as an X
  378. application with a full GUI interface and mouse support.
  379. The vim-X11-huge package provides the VIM which supports much more extra
  380. features than vim-X11-huge does, such as Ruby/Perl/Python/Lua support.
  381. %description -l ja X11-huge
  382. VIM(VIsual editor iMproved)はviエディタ互換のエディタで,次のような多
  383. くの機能が加えられています: マルチレベルのアンドゥ,シンタックスハイラ
  384. イト,コマンドのヒストリ,オンラインヘルプ,ファイル名の補完,ブロック
  385. を対象とした処理,行の折り畳み,ユニコードやその他の文字コードのサポー
  386. トなどです.
  387. このパッケージではX11対応も含めたほとんどすべての機能のサポートに加え,
  388. Ruby/Perl/Python/Luaスクリプトの実行機能までを含んでVIMを提供しています.
  389. %prep
  390. %setup -q -b 0 -n %{vimdir}
  391. # fix rogue dependencies from sample code
  392. chmod -x runtime/tools/mve.awk
  393. %patch2002 -p1
  394. %patch2003 -p1
  395. perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
  396. # Base patches...
  397. # for i in seq 1 154; do printf "%%patch%03d -p0\n" $i; done
  398. %patch001 -p0
  399. %patch002 -p0
  400. %patch003 -p0
  401. %patch004 -p0
  402. %patch005 -p0
  403. %patch006 -p0
  404. %patch007 -p0
  405. %patch008 -p0
  406. %patch009 -p0
  407. %patch010 -p0
  408. %patch011 -p0
  409. %patch012 -p0
  410. %patch013 -p0
  411. %patch014 -p0
  412. %patch015 -p0
  413. %patch016 -p0
  414. %patch017 -p0
  415. %patch018 -p0
  416. %patch019 -p0
  417. %patch020 -p0
  418. %patch021 -p0
  419. %patch022 -p0
  420. %patch023 -p0
  421. %patch024 -p0
  422. %patch025 -p0
  423. %patch026 -p0
  424. %patch027 -p0
  425. %patch028 -p0
  426. %patch029 -p0
  427. %patch030 -p0
  428. %patch031 -p0
  429. %patch032 -p0
  430. %patch033 -p0
  431. %patch034 -p0
  432. %patch035 -p0
  433. %patch036 -p0
  434. %patch037 -p0
  435. %patch038 -p0
  436. %patch039 -p0
  437. %patch040 -p0
  438. %patch041 -p0
  439. %patch042 -p0
  440. %patch043 -p0
  441. %patch044 -p0
  442. %patch045 -p0
  443. %patch046 -p0
  444. %patch047 -p0
  445. %patch048 -p0
  446. %patch049 -p0
  447. %patch050 -p0
  448. %patch051 -p0
  449. %patch052 -p0
  450. %patch053 -p0
  451. %patch054 -p0
  452. %patch055 -p0
  453. %patch056 -p0
  454. %patch057 -p0
  455. %patch058 -p0
  456. %patch059 -p0
  457. %patch060 -p0
  458. %patch061 -p0
  459. %patch062 -p0
  460. %patch063 -p0
  461. %patch064 -p0
  462. %patch065 -p0
  463. %patch066 -p0
  464. %patch067 -p0
  465. %patch068 -p0
  466. %patch069 -p0
  467. %patch070 -p0
  468. %patch071 -p0
  469. %patch072 -p0
  470. %patch073 -p0
  471. %patch074 -p0
  472. %patch075 -p0
  473. %patch076 -p0
  474. %patch077 -p0
  475. %patch078 -p0
  476. %patch079 -p0
  477. %patch080 -p0
  478. %patch081 -p0
  479. %patch082 -p0
  480. %patch083 -p0
  481. %patch084 -p0
  482. %patch085 -p0
  483. %patch086 -p0
  484. %patch087 -p0
  485. %patch088 -p0
  486. %patch089 -p0
  487. %patch090 -p0
  488. %patch091 -p0
  489. %patch092 -p0
  490. %patch093 -p0
  491. %patch094 -p0
  492. %patch095 -p0
  493. %patch096 -p0
  494. %patch097 -p0
  495. %patch098 -p0
  496. %patch099 -p0
  497. %patch100 -p0
  498. %patch101 -p0
  499. %patch102 -p0
  500. %patch103 -p0
  501. %patch104 -p0
  502. %patch105 -p0
  503. %patch106 -p0
  504. %patch107 -p0
  505. %patch108 -p0
  506. %patch109 -p0
  507. %patch110 -p0
  508. %patch111 -p0
  509. %patch112 -p0
  510. %patch113 -p0
  511. %patch114 -p0
  512. %patch115 -p0
  513. %patch116 -p0
  514. %patch117 -p0
  515. %patch118 -p0
  516. %patch119 -p0
  517. %patch120 -p0
  518. %patch121 -p0
  519. %patch122 -p0
  520. %patch123 -p0
  521. %patch124 -p0
  522. %patch125 -p0
  523. %patch126 -p0
  524. %patch127 -p0
  525. %patch128 -p0
  526. %patch129 -p0
  527. %patch130 -p0
  528. %patch131 -p0
  529. %patch2010 -p1
  530. %patch3000 -p1
  531. %patch3002 -p1
  532. %patch3003 -p1
  533. #%patch3004 -p1
  534. %patch3006 -p1
  535. %patch3007 -p1
  536. #%patch3008 -p1
  537. %patch3009 -p1
  538. %patch3010 -p1
  539. %patch3011 -p1
  540. %patch4000 -p1
  541. # %patch4010 -p1
  542. %build
  543. cd src
  544. autoconf
  545. make shadow
  546. mv shadow vim-X11-huge
  547. (cd vim-X11-huge && \
  548. mkdir po && (cd po && ln -s ../../po/* .) && \
  549. %configure %{configopts} %{features_x11} %{features_huge} && \
  550. make %{?_smp_mflags})
  551. make shadow
  552. mv shadow vim-X11-big
  553. (cd vim-X11-big && \
  554. mkdir po && (cd po && ln -s ../../po/* .) && \
  555. %configure %{configopts} %{features_x11} %{features_big} && \
  556. make %{?_smp_mflags})
  557. make shadow
  558. mv shadow vim-X11-normal
  559. (cd vim-X11-normal && \
  560. mkdir po && (cd po && ln -s ../../po/* .) && \
  561. %configure %{configopts} %{features_x11} %{features_normal} && \
  562. make %{?_smp_mflags})
  563. make shadow
  564. mv shadow vim-huge
  565. (cd vim-huge && \
  566. mkdir po && (cd po && ln -s ../../po/* .) && \
  567. %configure %{configopts} %{features_nox11} %{features_huge} && \
  568. make %{?_smp_mflags})
  569. make shadow
  570. mv shadow vim-big
  571. (cd vim-big && \
  572. mkdir po && (cd po && ln -s ../../po/* .) && \
  573. %configure %{configopts} %{features_nox11} %{features_big} && \
  574. make %{?_smp_mflags})
  575. make shadow
  576. mv shadow vim-normal
  577. (cd vim-normal && \
  578. mkdir po && (cd po && ln -s ../../po/* .) && \
  579. %configure %{configopts} %{features_nox11} %{features_normal} && \
  580. make %{?_smp_mflags})
  581. make shadow
  582. mv shadow vim-tiny
  583. cp os_unix.h os_unix.h.orig
  584. sed -i -e 's|$VIM/vimrc|/etc/vimrc.tiny|g' os_unix.h
  585. (cd vim-tiny && \
  586. LDFLAGS=-static export LDFLAGS; \
  587. %configure %{configopts} %{features_nox11} %{features_tiny} && \
  588. make %{?_smp_mflags})
  589. cp os_unix.h.orig os_unix.h
  590. %install
  591. rm -rf %{buildroot}
  592. mkdir -p %{buildroot}
  593. mkdir -p %{buildroot}%{vimrcloc}
  594. mkdir -p %{buildroot}/%{vimruntime}
  595. ln -s %{vimrcloc}/vimrc.ja %{buildroot}/%{vimruntime}/vimrc
  596. ln -s %{vimrcloc}/gvimrc.ja %{buildroot}/%{vimruntime}/gvimrc
  597. ln -s %{vimrcloc} %{buildroot}/%{vimruntime}/vimfiles
  598. cd src
  599. for d in vim-normal vim-big vim-huge vim-X11-normal vim-X11-big vim-X11-huge vim-tiny
  600. do
  601. make -C$d DESTDIR=%{buildroot} installvimbin
  602. vimbin=`find %{buildroot} -name vim -type f`
  603. mv $vimbin `dirname $vimbin`/`echo $d | sed -e's/^vim-/vim./'`
  604. done
  605. make -Cvim-huge DESTDIR=%{buildroot} installtools installtutor
  606. make -Cvim-X11-huge DESTDIR=%{buildroot} installtools installtutor installtutorbin
  607. make -Cvim-X11-huge DESTDIR=%{buildroot} install-languages install-icons
  608. make -Cvim-X11-huge DESTDIR=%{buildroot} installruntime installlinks installmanlinks
  609. find %{buildroot}/%{_bindir} -type l -exec rm \{\} \;
  610. # Dependency cleanups
  611. chmod 644 %{buildroot}/%{_datadir}/vim/%{vimsubdir}/doc/vim2html.pl \
  612. %{buildroot}/%{_datadir}/vim/%{vimsubdir}/tools/*.pl \
  613. %{buildroot}/%{_datadir}/vim/%{vimsubdir}/tools/vim132
  614. chmod 644 ../runtime/doc/vim2html.pl
  615. # installing vimrc files.
  616. install -p -m644 %{SOURCE300} %{buildroot}%{vimrcloc}/vimrc.ja
  617. install -p -m644 %{SOURCE300} %{buildroot}%{vimrcloc}/gvimrc.ja
  618. install -p -m644 %{SOURCE300} %{buildroot}%{_sysconfdir}/vimrc.tiny
  619. # installing misc utils.
  620. install -p -m644 %{SOURCE400} %{buildroot}%{_datadir}/vim/%{vimsubdir}/plugin/format.vim
  621. install -p -m644 %{SOURCE401} %{buildroot}%{_datadir}/vim/%{vimsubdir}/plugin/verifyenc.vim
  622. cd ../..
  623. # desktop file
  624. %__mkdir_p %{buildroot}%{_datadir}/applications
  625. %__install -p -m644 %{SOURCE100} %{buildroot}%{_datadir}/applications/gvim.desktop
  626. # icons
  627. %__mkdir_p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
  628. %__install -p -m644 %{SOURCE101} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/gvim.png
  629. %__install -p -m644 %{SOURCE102} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gvim.png
  630. %__install -p -m644 %{SOURCE103} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gvim.png
  631. %__install -p -m644 %{SOURCE104} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gvim.png
  632. # remove international manuals
  633. rm -rf %{buildroot}/%{_mandir}/{fr,it,ru,pl}*
  634. %post tiny
  635. update-alternatives \
  636. --install /bin/vi vi /bin/vim.tiny 20 \
  637. --slave /bin/vim vim /bin/vim.tiny \
  638. --slave /bin/eview eview /bin/vim.tiny \
  639. --slave /bin/evim evim /bin/vim.tiny \
  640. --slave /bin/ex ex /bin/vim.tiny \
  641. --slave /bin/rview rview /bin/vim.tiny \
  642. --slave /bin/rvim rvim /bin/vim.tiny \
  643. --slave /bin/view view /bin/vim.tiny \
  644. --slave /bin/vimdiff vimdiff /bin/vim.tiny
  645. %triggerpostun -- vim-minimal < 6.0
  646. update-alternatives --auto vi
  647. %triggerpostun tiny -- vim-tiny <= 6.2.532-0vl3
  648. update-alternatives --remove vi /bin/vim
  649. update-alternatives --auto vi
  650. %preun tiny
  651. if [ "$1" = "0" ]
  652. then
  653. update-alternatives --remove vi /bin/vim.tiny
  654. fi
  655. %post
  656. update-alternatives \
  657. --install /bin/vi vi %{_bindir}/vim.normal 31 \
  658. --slave /bin/vim vim %{_bindir}/vim.normal \
  659. --slave /bin/eview eview %{_bindir}/vim.normal \
  660. --slave /bin/evim evim %{_bindir}/vim.normal \
  661. --slave /bin/ex ex %{_bindir}/vim.normal \
  662. --slave /bin/rview rview %{_bindir}/vim.normal \
  663. --slave /bin/rvim rvim %{_bindir}/vim.normal \
  664. --slave /bin/view view %{_bindir}/vim.normal \
  665. --slave /bin/vimdiff vimdiff %{_bindir}/vim.normal
  666. %triggerpostun -- vim <= 6.2.532-0vl3
  667. update-alternatives --remove vim /usr/bin/vim.normal
  668. %preun
  669. if [ "$1" = "0" ]
  670. then
  671. update-alternatives --remove vi %{_bindir}/vim.normal
  672. fi
  673. %post big
  674. update-alternatives \
  675. --install /bin/vi vi %{_bindir}/vim.big 41 \
  676. --slave /bin/vim vim %{_bindir}/vim.big \
  677. --slave /bin/eview eview %{_bindir}/vim.big \
  678. --slave /bin/evim evim %{_bindir}/vim.big \
  679. --slave /bin/ex ex %{_bindir}/vim.big \
  680. --slave /bin/rview rview %{_bindir}/vim.big \
  681. --slave /bin/rvim rvim %{_bindir}/vim.big \
  682. --slave /bin/view view %{_bindir}/vim.big \
  683. --slave /bin/vimdiff vimdiff %{_bindir}/vim.big
  684. %triggerpostun big -- vim-big <= 6.2.532-0vl3
  685. update-alternatives --remove vim /usr/bin/vim.big
  686. %preun big
  687. if [ "$1" = "0" ]
  688. then
  689. update-alternatives --remove vi %{_bindir}/vim.big
  690. fi
  691. %post huge
  692. update-alternatives \
  693. --install /bin/vi vi %{_bindir}/vim.huge 51 \
  694. --slave /bin/vim vim %{_bindir}/vim.huge \
  695. --slave /bin/eview eview %{_bindir}/vim.huge \
  696. --slave /bin/evim evim %{_bindir}/vim.huge \
  697. --slave /bin/ex ex %{_bindir}/vim.huge \
  698. --slave /bin/rview rview %{_bindir}/vim.huge \
  699. --slave /bin/rvim rvim %{_bindir}/vim.huge \
  700. --slave /bin/view view %{_bindir}/vim.huge \
  701. --slave /bin/vimdiff vimdiff %{_bindir}/vim.huge
  702. %triggerpostun huge -- vim-huge <= 6.2.532-0vl3
  703. update-alternatives --remove vim /usr/bin/vim.huge
  704. %preun huge
  705. if [ "$1" = "0" ]
  706. then
  707. update-alternatives --remove vi %{_bindir}/vim.huge
  708. fi
  709. %post X11
  710. update-alternatives \
  711. --install /bin/vi vi %{_bindir}/vim.X11-normal 30 \
  712. --slave /bin/vim vim %{_bindir}/vim.X11-normal \
  713. --slave /bin/eview eview %{_bindir}/vim.X11-normal \
  714. --slave /bin/evim evim %{_bindir}/vim.X11-normal \
  715. --slave /bin/ex ex %{_bindir}/vim.X11-normal \
  716. --slave /bin/rview rview %{_bindir}/vim.X11-normal \
  717. --slave /bin/rvim rvim %{_bindir}/vim.X11-normal \
  718. --slave /bin/view view %{_bindir}/vim.X11-normal \
  719. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-normal
  720. update-alternatives \
  721. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-normal 30 \
  722. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-normal \
  723. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-normal \
  724. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-normal \
  725. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-normal
  726. %triggerpostun X11 -- vim-X11 <= 6.2.532-0vl3
  727. update-alternatives --remove vim %{_bindir}/vim.X11-normal
  728. %preun X11
  729. if [ "$1" = "0" ]
  730. then
  731. update-alternatives --remove vi %{_bindir}/vim.X11-normal
  732. update-alternatives --remove gvim %{_bindir}/vim.X11-normal
  733. fi
  734. %post X11-big
  735. update-alternatives \
  736. --install /bin/vi vi %{_bindir}/vim.X11-big 40 \
  737. --slave /bin/vim vim %{_bindir}/vim.X11-big \
  738. --slave /bin/eview eview %{_bindir}/vim.X11-big \
  739. --slave /bin/evim evim %{_bindir}/vim.X11-big \
  740. --slave /bin/ex ex %{_bindir}/vim.X11-big \
  741. --slave /bin/rview rview %{_bindir}/vim.X11-big \
  742. --slave /bin/rvim rvim %{_bindir}/vim.X11-big \
  743. --slave /bin/view view %{_bindir}/vim.X11-big \
  744. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-big
  745. update-alternatives \
  746. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-big 40 \
  747. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-big \
  748. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-big \
  749. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-big \
  750. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-big
  751. %triggerpostun X11-big -- vim-X11-big <= 6.2.532-0vl3
  752. update-alternatives --remove vim %{_bindir}/vim.X11-big
  753. %preun X11-big
  754. if [ "$1" = "0" ]
  755. then
  756. update-alternatives --remove vi %{_bindir}/vim.X11-big
  757. update-alternatives --remove gvim %{_bindir}/vim.X11-big
  758. fi
  759. %post X11-huge
  760. update-alternatives \
  761. --install /bin/vi vi %{_bindir}/vim.X11-huge 50 \
  762. --slave /bin/vim vim %{_bindir}/vim.X11-huge \
  763. --slave /bin/eview eview %{_bindir}/vim.X11-huge \
  764. --slave /bin/evim evim %{_bindir}/vim.X11-huge \
  765. --slave /bin/ex ex %{_bindir}/vim.X11-huge \
  766. --slave /bin/rview rview %{_bindir}/vim.X11-huge \
  767. --slave /bin/rvim rvim %{_bindir}/vim.X11-huge \
  768. --slave /bin/view view %{_bindir}/vim.X11-huge \
  769. --slave /bin/vimdiff vimdiff %{_bindir}/vim.X11-huge
  770. update-alternatives \
  771. --install %{_bindir}/gvim gvim %{_bindir}/vim.X11-huge 50 \
  772. --slave %{_bindir}/gview gview %{_bindir}/vim.X11-huge \
  773. --slave %{_bindir}/gvimdiff gvimdiff %{_bindir}/vim.X11-huge \
  774. --slave %{_bindir}/rgview rgview %{_bindir}/vim.X11-huge \
  775. --slave %{_bindir}/rgvim rgvim %{_bindir}/vim.X11-huge
  776. %triggerpostun X11-huge -- vim-X11-huge <= 6.2.532-0vl3
  777. update-alternatives --remove vim %{_bindir}/vim.X11-huge
  778. %preun X11-huge
  779. if [ "$1" = "0" ]
  780. then
  781. update-alternatives --remove vi %{_bindir}/vim.X11-huge
  782. update-alternatives --remove gvim %{_bindir}/vim.X11-huge
  783. fi
  784. %post X11-common
  785. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  786. %postun X11-common
  787. %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:
  788. %clean
  789. rm -rf %{buildroot}
  790. %files
  791. %defattr(-,root,root)
  792. %{_bindir}/vim.normal
  793. %files common
  794. %defattr(-,root,root)
  795. %doc README.txt
  796. %doc README_extra.txt
  797. %doc README_unix.txt
  798. %{vimrcloc}
  799. %{_bindir}/vimtutor
  800. %{_bindir}/xxd
  801. %{_datadir}/vim
  802. %files man
  803. %defattr(-,root,root)
  804. %{_mandir}/man1/eview.1*
  805. %{_mandir}/man1/evim.1*
  806. %{_mandir}/man1/ex.1*
  807. %{_mandir}/man1/rgview.1*
  808. %{_mandir}/man1/rgvim.1*
  809. %{_mandir}/man1/rview.1*
  810. %{_mandir}/man1/rvim.1*
  811. %{_mandir}/man1/view.1*
  812. %{_mandir}/man1/vim.1*
  813. %{_mandir}/man1/vimdiff.1*
  814. %{_mandir}/man1/vimtutor.1*
  815. %{_mandir}/man1/xxd.1*
  816. %files X11-common
  817. %defattr(-,root,root)
  818. %config(missingok) %{_datadir}/applications/gvim.desktop
  819. %{_datadir}/icons/hicolor/*/apps/gvim.png
  820. %{_mandir}/man1/gview.1*
  821. %{_mandir}/man1/gvim.1*
  822. %{_mandir}/man1/gvimdiff.1*
  823. %files tiny
  824. %defattr(-,root,root)
  825. %{binprefix}bin/vim.tiny
  826. %{_sysconfdir}/vimrc.tiny
  827. %files big
  828. %defattr(-,root,root)
  829. %{_bindir}/vim.big
  830. %files huge
  831. %defattr(-,root,root)
  832. %{_bindir}/vim.huge
  833. %files X11
  834. %defattr(-,root,root)
  835. %{_bindir}/vim.X11-normal
  836. %files X11-big
  837. %defattr(-,root,root)
  838. %{_bindir}/vim.X11-big
  839. %files X11-huge
  840. %defattr(-,root,root)
  841. %{_bindir}/vim.X11-huge
  842. %changelog
  843. * Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.131-1
  844. - update to 7.4.131
  845. * Sat Nov 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.110-1
  846. - update to 7.4.110
  847. - add 7.4 patches (Patch51..110)
  848. - enable Lua support
  849. - fix 7.4.50-1 changelog
  850. * Fri Oct 4 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 7.4.50-1
  851. - update to 7.4.50
  852. - drop 7.3 patches (Patch001..712)
  853. - add 7.4 patches (Patch1..50)
  854. - drop crv patch (Patch2004)
  855. - update some patches from Fedora vim-7.4.027-2
  856. - syntax patch (Patch3000):
  857. - fstabsyntax patch (Patch3007)
  858. - add Distribution and Vendor tags
  859. * Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.712-1
  860. - update to 7.3.712
  861. - build with ruby-1.9.3
  862. * Sun Jun 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.206-1
  863. - update to 7.3.206
  864. * Thu Apr 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3.154-1
  865. - update to 7.3.154
  866. - update Patch001-154
  867. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-5
  868. - rebuild with perl-5.12.3
  869. * Sun Jan 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.2.446-4
  870. - add BuildRequires: libXt-devel
  871. * Sun Jan 09 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.2.446-3
  872. - update vimrc.ja (fixed http://bts.vinelinux.org/user.cgi?action=view_report&id=1067&project=VineLinux)
  873. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-2
  874. - do not BR: glibc-static on Vine 5.x
  875. * Sun Sep 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.446-1
  876. - update tp 7.2.446 (add Patch149-446)
  877. - run update-alternatives on vim-huge post script
  878. - drop Patch3004 (use %%{_datadir}/vim/vimrc)
  879. - add vimrc.tiny for vim.tiny
  880. - add BR: glibc-static to build vime-tiny
  881. * Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 7.2.148-2
  882. - rebuilt with python-2.6
  883. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2.148-1
  884. - new upstream release
  885. - modified vimrc.ja to support utf-8 locale
  886. - drop vim-{ruby,perl,python}
  887. * Mon May 05 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 6.4.10-1vl5
  888. - rebuild with perl-5.10.0
  889. - applied new versioning policy
  890. - add "make installghelplinks"
  891. - add BuildRequires: pixman-devel
  892. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 6.4.10-0vl3
  893. - [SECURITY] add helptags.patch (patch2000) renamed from 7.1.039
  894. - fix format string vulnerability in the helptags_one (CVE-2007-2953)
  895. * Sat Jul 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.4.10-0vl2
  896. - changed man Group to Applications/Documentation
  897. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.10-0vl1
  898. - new upstream patch version
  899. * Tue Feb 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl2
  900. - update patching script
  901. - exit if upstream patches not exist
  902. * Mon Feb 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4.8-0vl1
  903. - new upstream patch version
  904. * Fri Nov 04 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl2
  905. - add cssIdentifier.patch to avoid error
  906. * Mon Oct 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.4-0vl1
  907. - new upstream release
  908. - drop tmpfile.patch
  909. - import verifyenc.vim from KaoriYa.net ([vine-users:073279])
  910. - http://www.kaoriya.net/dist/vim-6.4-w32j.tar.bz2
  911. - import checkhl.patch from FC 6.4.000-2
  912. * Tue Oct 25 2005 Karsten Hopp <karsten@redhat.de> 6.4.000-2
  913. - add syntax highlighting rule for %%check (Ralf Ertzinger, #165277)
  914. * Mon Oct 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.90-0vl1
  915. - new upstream patch version
  916. - add numeric-keypad.patch (patch101)
  917. - Thanks, ISOBE Takeshi
  918. * Sun Aug 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl2
  919. - [SECURITY] re-add patches, import tmpfile.patch from FC
  920. - oops, patches not added at 6.3.86-0vl1
  921. - overwrite or create arbitrary files via a symlink attack (CAN-2005-0069)
  922. * Sat Jul 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.86-0vl1
  923. - [SECURITY] new upstream patch version
  924. - modelines shell command execution vulnerability (CAN-2005-2368)
  925. - add README_patches.txt
  926. * Sun May 15 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.71-0vl1
  927. - new upstream patch version
  928. - update desktop file
  929. - import icons from FC
  930. - import gvim.desktop from FC and modify
  931. - move gvim.desktop to %%{_datadir}/applications
  932. - run update-desktop-database at X11-common's post/postun
  933. - import specsyntax.patch from FC
  934. * Wed Jan 26 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.58-0vl1
  935. - new upstream patch version
  936. - perl/huge/X11-huge
  937. - add Requires: %%(perl -le 'use Config; print $Config{archlibexp}')
  938. * Tue Jan 11 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl2
  939. - rebuild with perl-5.8.6
  940. * Mon Dec 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.53-0vl1
  941. - [SECURITY] new upstream patch version
  942. - arbitrary command execution vulnerability (CAN-2004-1138)
  943. - add URL
  944. - fix common's Japanese description
  945. - remove package information about vim-X11-*
  946. - add Provides: gvim (vim-X11-*)
  947. * Fri Oct 29 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 6.3.31-0vl1
  948. - new upstream patch version
  949. - fix URLs (source1,2)
  950. * Sun Jun 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.3.6-0vl1
  951. - new upstream release
  952. - update configurations of alternatives
  953. - vim-tiny contains /bin/vim.tiny only
  954. - remove 'Requires: vim-common' from vim-man subpackage
  955. - change order of fileencordings in vimrc.ja
  956. * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl3
  957. - use gtk2 instead of gtk+
  958. - add Requires: gtk2 to vim-X11-common
  959. - add BuildRequires: gtk2-devel
  960. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.532-0vl2
  961. - add --enable-multibyte to vim-tiny
  962. * Sat May 15 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.532-0vl1
  963. - new upstream patch version
  964. * Sat Mar 20 2004 Tomoya TAKA <taka@vinelinux.org> 6.2.382-0vl1
  965. - new upstream version
  966. * Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 6.2.106-0vl1
  967. - new upstream version
  968. - bulid with ruby-1.8.0.
  969. * Tue Jun 17 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 6.2.14-0vl1
  970. - new upstream version
  971. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.300-0vl1
  972. - new upstream patch version
  973. * Wed Jan 22 2003 Tomoya TAKA <taka@vinelinux.org> 6.1.265-0vl1
  974. - patch level 265, including fix of modeline vulnerability
  975. cf. http://www.guninski.com/vim1.html
  976. * Wed Apr 03 2002 akira yamada <akira@vinelinux.org> 6.1.5-0vl1
  977. - new upstream version.
  978. - updated format.vim. (extracted from
  979. http://www.kaoriya.net/dist/gvim-6.1-w32j.tar.bz2.)
  980. - clean uped vimrc, vimrc.ja, gvimrc, gvimrc.ja.
  981. * Thu Jan 31 2002 Toru Sagami <sagami@vinelinux.org> 6.0.158-0vl1
  982. - patch level 6.0.158
  983. * Sun Nov 25 2001 akira yamada <akira@vinelinux.org> 6.0.93-0vl1
  984. - new upstream patch version.
  985. - added PreReqs: alternatives for vim, vim-tiny, vim-X11.
  986. * Mon Nov 12 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl4
  987. - added Japanese descriptions.
  988. - English descriptions by shaolin.
  989. * Wed Nov 07 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl3
  990. - added triggerpostun for vim-minimal.
  991. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl2
  992. - patch #44, #54, #64 is now available.
  993. * Mon Nov 05 2001 akira yamada <akira@vinelinux.org> 6.0.68-0vl1
  994. - new upstream patch version.
  995. - removed jcode2.vim and added new default vimrc.
  996. - removed unused sources and patches.
  997. - alternatives for /bin/vi.
  998. - added net-tools to BuildRequires. (/bin/hostname)
  999. * Wed Oct 31 2001 akira yamada <akira@vinelinux.org> 6.0.43-0vl1
  1000. - new upstream patch version.
  1001. - added vim-lang and vim-extra.
  1002. - added gawk to Requires of vim-common.
  1003. - added gtk+ to Requires of vim-X11-common.
  1004. * Wed Oct 17 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl2
  1005. - added autoconf and libtool to BuildRequires.
  1006. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0.11-0vl1
  1007. - vim and vim-X11 is no longer virturl package.
  1008. - obsoleted vim-normal and vim-X11-normal.
  1009. - added check "$1" = "0" for preun scripts.
  1010. * Mon Oct 15 2001 akira yamada <akira@vinelinux.org> 6.0-0vl2
  1011. - linked staticly vim of vim-tiny.
  1012. * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 6.0-0vl1
  1013. - new upstream version.
  1014. - now, vim and vim-X11 is virtual package.
  1015. - new sub-packages vim-tiny, vim-normal, vim-big, vim-ruby, vim-perl,
  1016. vim-python, vim-huge, vim-X11-normal, vim-X11-big and vim-X11-huge.
  1017. - obsoleted vim-minimal and vin-enhanced.
  1018. * Sat Sep 08 2001 Toru Sagami <sagami@vinelinux.org>
  1019. - 5.8-0vl4: rebuilt on current ncurses
  1020. - added format.vim and more useful comments in vimrc.ja
  1021. * Sat Aug 04 2001 <sagami@vinelinux.org>
  1022. - 5.8-0vl3: patch level 5.8.9
  1023. - dont pack duplicated runtime/syntax directory into %%doc
  1024. * Thu Jul 19 2001 <sagami@vinelinux.org>
  1025. - 5.8-0vl2: patch level 5.8.7
  1026. - Add postfix config syntax highlighting
  1027. * Fri Jun 08 2001 <sagami@vinelinux.org>
  1028. - vim-5.8-0vl1: patch level 5.8.002
  1029. * Fri Jun 01 2001 <sagami@vinelinux.org>
  1030. - vim-5.8-0vl0: vim-5.8 bug fix release
  1031. * Thu May 10 2001 <sagami@vinelinux.org>
  1032. - vim-5.7-0vl8: patch level 5.7.030
  1033. - use versioned sources, not older ones and patches
  1034. - sync with RH6.2 updates
  1035. * Wed Apr 18 2001 sagami@vinelinux.org
  1036. - jcode2.vim: fix back to original one
  1037. - patch level 5.7.028
  1038. * Mon Feb 05 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  1039. - patch level 5.7.024
  1040. - small fix for jcode2.vim
  1041. - split man package from common package to avoid conflict with jvim3
  1042. * Tue Dec 26 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  1043. - %%{makeinstall}
  1044. - acutally build against current ncurses5 without gpm with ncurses4
  1045. * Thu Dec 21 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  1046. - build against current ncurses5
  1047. - added CVS commit filetype detection to scripts.vim
  1048. * Wed Dec 06 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  1049. - 5.7.19
  1050. - jcode.pl-2.13
  1051. - added License recognition to .spec syntax
  1052. - added RFC822 mail/ emacs-lips filetype detection to scripts.vim
  1053. - FHS stuff: _mandir
  1054. * Wed Jul 19 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  1055. - based on RH 5.6-14 -> 5.7 (patchlevel .2)
  1056. - manpath: /usr/share/man -> /usr/man/man :-)
  1057. - delete %%makeinstall macro for rpm-3.0.x
  1058. - gvim: --enable-multibyte, xim, fontset
  1059. - vim: --enable-multibyte
  1060. - jcode.pl-2.11 and jcode2.vim from Nozomu Kobayashi's rpm package
  1061. - vimrc: added bzip2 and Japanese stuff of a kind
  1062. * Sat Jun 3 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  1063. - patchlevel 74
  1064. - add %%makeinstall macro recognition to .spec file syntax highlighting rules
  1065. - fix up Makefiles
  1066. * Fri Apr 14 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  1067. - patchlevel 66
  1068. - fix compilation with perl 5.6.0
  1069. * Mon Mar 20 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  1070. - patchlevel 12
  1071. * Tue Mar 07 2000 Preston Brown <pbrown@redhat.com>
  1072. - fix home/end in vimrc (we did a term = rxvt, totally wrong)
  1073. * Tue Feb 29 2000 Preston Brown <pbrown@redhat.com>
  1074. - change F1-F4 keybindings for xterm builtin terminfo to match real terminfo
  1075. * Thu Feb 17 2000 Bill Nottingham <notting@redhat.com>
  1076. - kill autoindent
  1077. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  1078. - wmconfig -> desktop
  1079. * Sat Feb 5 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  1080. - Patchlevel 11
  1081. - handle compressed man pages
  1082. - fix man page symlinks
  1083. * Wed Feb 2 2000 Bill Nottingham <notting@redhat.com>
  1084. - eliminate dependencies on X in vim-enhanced, and ncurses/gpm
  1085. in vim-minimal
  1086. * Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
  1087. - eliminate dependencies on csh and perl in vim-common
  1088. * Wed Jan 19 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  1089. - Use awk, not nawk
  1090. * Tue Jan 18 2000 Bernhard Rosenrk舅zer <bero@redhat.com>
  1091. - 5.6
  1092. - patch 5.6.001
  1093. - remove /usr/bin/vi - if you want vim, type vim
  1094. * Tue Jan 11 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  1095. - 5.6a
  1096. - Remove dependency on nawk (introduced by base update)
  1097. - some tweaks to make updating easier
  1098. * Tue Nov 9 1999 Bernhard Rosenkr舅zer <bero@redhat.com>
  1099. - 5.5
  1100. - fix path to vimrc
  1101. * Tue Jul 27 1999 Michael K. Johnson <johnsonm@redhat.com>
  1102. - moved from athena to gtk widgets for X version
  1103. - removed vim.1 from X11 filelist because X11 depends on vim-common anyway
  1104. - fixed rogue dependencies from sample files
  1105. * Tue Jul 27 1999 Jeff Johnson <jbj@redhat.com>
  1106. - update to 5.4.
  1107. * Thu Jul 22 1999 Jeff Johnson <jbj@redhat.com>
  1108. - man page had buildroot pollution (#3629).
  1109. * Thu Mar 25 1999 Preston Brown <pbrown@redhat.com>
  1110. - with recent termcap/terminfo fixes, regular vim works in xterm/console
  1111. - in color, so vim-color package removed.
  1112. * Tue Mar 23 1999 Erik Troan <ewt@redhat.com>
  1113. - removed "set backupdir=/tmp/vim_backup" from default vimrc
  1114. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1115. - auto rebuild in the new build environment (release 5)
  1116. * Thu Dec 17 1998 Michael Maher <mike@redaht.com>
  1117. - built pacakge for 6.0
  1118. * Tue Sep 15 1998 Michael Maher <mike@redhat.com>
  1119. - removed '--with-tlib=termcap' so that color-vim works
  1120. * Wed Sep 2 1998 Jeff Johnson <jbj@redhat.com>
  1121. - update to 5.3.
  1122. * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
  1123. - merge in Toshio's changes
  1124. - color-vim: changed "--disable-p" to "--disable-perlinterp --with-tlib=termcap"
  1125. - added minimal rvi/rview and man pages.
  1126. - move Obsoletes to same package as executable.
  1127. * Thu Aug 06 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
  1128. - Break the package apart similar to the way the netscape package was
  1129. broken down to handle navigator or communicator: The vim package is
  1130. Obsolete, now there is vim-common with all the common files, and a
  1131. package for each binary: vim-minimal (has /bin/vi compiled with no
  1132. frills), vim-enhanced (has /usr/bin/vim with extra perl and python
  1133. interpreters), and vim-X11 (has /usr/X11R6/bin/gvim compiled with
  1134. GUI support.)
  1135. - Enable the perl and python interpreters in the gui version (gvim).
  1136. * Tue Jun 30 1998 Michael Maher <mike@redhat.com>
  1137. - Fixed tutor help.
  1138. - cvim package added. Thanks to Stevie Wills for finding this one :-)
  1139. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  1140. - translations modified for de, fr, tr
  1141. * Fri May 01 1998 Donnie Barnes <djb@redhat.com>
  1142. - added patch to turn off the "vi compatibility" by default. You can
  1143. still get it via the -C command line option
  1144. * Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
  1145. - removed perl and python interpreters (sorry, but those don't belong
  1146. in a /bin/vi and having two vi's seemed like overkill...complain
  1147. to suggest@redhat.com if you care)
  1148. * Fri Apr 17 1998 Donnie Barnes <djb@redhat.com>
  1149. - fixed buildroot bug
  1150. * Sat Apr 11 1998 Donnie Barnes <djb@redhat.com>
  1151. - updated from 4.6 to 5.1
  1152. - moved to buildroot
  1153. * Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
  1154. - fixed missing man page
  1155. * Wed Oct 22 1997 Donnie Barnes <djb@redhat.com>
  1156. - added wmconfig entry to vim-X11
  1157. * Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
  1158. - upgraded from 4.5 to 4.6
  1159. * Fri Jun 13 1997 Erik Troan <ewt@redhat.com>
  1160. - built against glibc
  1161. * Tue Mar 25 1997 Michael K. Johnson <johnsonm@redhat.com>
  1162. - Upgraded to 4.5
  1163. - Added ex symlinks
  1164. * Tue Mar 11 1997 Michael K. Johnson <johnsonm@redhat.com>
  1165. - Added view symlink.