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