vim-vl.spec 48 KB

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