SHA256
7
0
forked from pool/vim
Files
vim/vim.spec

795 lines
25 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package vim
#
- update to 9.1.0993 * 9.1.0993: New 'cmdheight' behavior may be surprising * runtime(sh): fix typo in Last Change header * 9.1.0992: Vim9: double-free after v9.1.0988 * 9.1.0991: v:stacktrace has wrong type in Vim9 script * runtime(sh): add PS0 to bashSpecialVariables in syntax script * runtime(vim): Remove trailing comma from match_words * runtime(zsh): sync syntax script with upstream repo * runtime(doc): Capitalise the mnemonic "Zero" for the 'z' flag of search() * 9.1.0990: Inconsistent behavior when changing cmdheight * 9.1.0989: Vim9: Whitespace after the final enum value causes a syntax error * runtime(java): Quietly opt out for unsupported markdown.vim versions * runtime(vim): fix failing vim syntax test * 9.1.0988: Vim9: no error when using uninitialized var in new() * runtime(doc): update index.txt * 9.1.0987: filetype: cake files are not recognized * 9.1.0986: filetype: 'jj' filetype is a bit imprecise * runtime(jj): Support diffs in jj syntax * runtime(vim): Update matchit pattern, no Vim9 short names * 9.1.0985: Vim9: some ex commands can be shortened * 9.1.0984: exception handling can be improved * runtime(doc): update doc for :horizontal * runtime(doc): update index.txt, windows.txt and version9.txt * runtime(doc): Tweak documentation about base64 function * runtime(chordpro): update syntax script * 9.1.0983: not able to get the displayed items in complete_info() * runtime(doc): use standard SGR format at :h xterm-true-color * 9.1.0982: TI linker files are not recognized * runtime(vim): update vim generator syntax script * 9.1.0981: tests: typo in test_filetype.vim OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=871
2025-01-07 18:19:57 +00:00
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 636139 from home:mimi_vx:branches:editors - update to version 8.1.401 * refresh vim-8.1.0297-dump3.patch * Can't get swap name of another buffer. * Using freed memory with :diffget. * 'hlsearch' highlight remains in other window * No event triggered after updating diffs * Diffs are not always updated correctly * Not all white space difference options available. * Error while typing :/foo/s// with 'incsearch' enabled * Building in a shadow directory fails. * Coverity complains about possible NULL pointer use. * Sign ordering depends on +netbeans feature. * Missing source file rename. * some make programs can't handle dependency on "xdiff/../" * Variable declaration not at start of block. * "make proto" doesn't work well. * Xdiff doesn't use the Vim memory allocation functions * Compiler warning for uninitialized variable. * Moving the cursor is slow when 'relativenumber' is set. * Screen updating still slow when 'cursorline' is set. * Argument types for select() may be wrong. * Not using internal diff if 'diffopt' is not changed * Continuation lines cannot contain comments. * GTK code has too many #ifdefs and building fails with GTK 2.10. * getchar(1) no longer processes pending messages * Pieces of the xdiff code are not used. * Function profile doesn't specify where it was defined. * compiler warning in xdiff code * Internal diff isn't used by default as advertised. * Cannot get the script line number when executing a function. OBS-URL: https://build.opensuse.org/request/show/636139 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=516
2018-09-17 11:34:01 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define pkg_version 9.1
- update to 9.1.1508 * patch 9.1.1508: string manipulation can be improved in cmdexpand.c * runtime(vim): Update base-syntax and generator, match all default highlight groups * runtime(vim): Update base-syntax and generator, generate command modifiers * patch 9.1.1507: symlinks are resolved on :cd commands * runtime(postscr): Correct some standard font names in syntax * runtime(optwin): show 'guiligatures' option also on MS-Windows builds * patch 9.1.1506: tests: missing cleanup in Test_search_cmdline_incsearch_highlight() * patch 9.1.1505: not possible to return completion type for :ex command * patch 9.1.1504: filetype: numbat files are not recognized * patch 9.1.1503: filetype: haxe files are not recognized * patch 9.1.1502: filetype: quickbms files are not recognized * patch 9.1.1501: filetype: flix files are not recognized * runtime(go): add section movement mappings to ftplugin * runtime(doc): Tweak documentation style * patch 9.1.1500: if_python: typo in python error variable * runtime(tutor): regenerate utf-8 version of French vimtutor manpage * runtime(netrw): upstream snapshot of v183 * runtime(vim): Update base-syntax, improve :syn-sync line defaults * patch 9.1.1498: completion: 'complete' funcs behave different to 'omnifunc' * patch 9.1.1497: Link error with shm_open() * patch 9.1.1496: terminal: still not highlighting empty cells correctly * README: mention POSIX vi as a goal of this project * patch 9.1.1495: Wayland: uses $XDG_SEAT to determine seat * patch 9.1.1494: runtime(tutor): no French translation for Chapter 2 * runtime(tutor): apply fixes to runtime/tutor/tutor2 * translation(it): updated Italian manpage * patch 9.1.1493: manually comparing positions on buffer * nsis: copy tutor directory recursively * patch 9.1.1492: tests: failure when Wayland compositor fails to start OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=895
2025-07-04 18:31:01 +00:00
%define patchlevel 1508
- Updated to revision 1390, fixes the following problems * Balloon shows when cursor is in WinBar. * terminal test hangs, executing abcde. (Stucki) * Cannot drag status line or vertical separator of new terminal window. (UncleBill) * MS-Windows: drawing underline, curl and strike-throw is slow, mFallbackDC not properly updated. * Channel test for callback is flaky. * Shift-Insert doesn't always work in MS-Windows console. * Profile log may be truncated halfway a character. * No error when settting 'renderoptions' to an invalid value before starting the GUI. * CTRL-A does not work with an empty line. (Alex) * Window size wrong after maximizing with WinBar. (Lifepillar) * Cursor in terminal not always updated. * Cannot call a dict function in autoloaded dict. * Autoload script sources itself when defining function. * Configure check for selinux does not check for header file. * When recovering a file with "vim -r swapfile" the hit-enter prompt is at the top of the window. * ch_readraw() waits for NL if channel mode is NL. * Get "no write since last change" message if a terminal is open. * Local additions in help skips some files. (joshklod) * Not enough quickfix help; confusing winid. * Python 3.5 is getting old. * Cannot select modified buffers with getbufinfo(). * Wordcount test is old style. * Char not overwritten with ambiguous width char, if the ambiguous char is single width but we reserve double-width space. * getqflist() items are missing if not set, that makes it more difficult OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=464
2017-12-15 13:24:10 +00:00
%define patchlevel_compact %{patchlevel}
%define VIM_SUBDIR vim91
%define site_runtimepath %{_datadir}/vim/site
%define make make VIMRCLOC=%{_sysconfdir} VIMRUNTIMEDIR=%{_datadir}/vim/current MAKE="make -e" %{?_smp_mflags}
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%bcond_without python2
Name: vim
Version: %{pkg_version}.%{patchlevel_compact}
Release: 0
Summary: Vi IMproved
License: Vim
URL: https://www.vim.org/
Source: https://github.com/vim/vim/archive/v%{pkg_version}.%{patchlevel}.tar.gz#/vim-%{pkg_version}.%{patchlevel}.tar.gz
Source3: suse.vimrc
Source4: vimrc_example1
Source5: vimrc_example2
Source8: suse.gvimrc
Source10: README.Japanese-XIM
Source13: vitmp.c
Source14: vitmp.1
Source15: vim132
Source19: gvim.desktop
Source20: spec.skeleton
Source21: spec.vim
Source23: apparmor.vim
2025-08-12 18:18:48 +02:00
Source100: README.md
# Generated using: epstopdf runtime/vimlogo.eps && pdf2svg runtime/vimlogo.pdf gvim.svg
Source24: gvim.svg
2025-08-12 18:18:48 +02:00
Source100: README.md
# Section Bitmap icons generated from gvim.svg using rsvg-convert
Source25: gvim_24.png
Source26: gvim_32.png
Source27: gvim_48.png
Source28: gvim_64.png
Source29: gvim_96.png
Source30: gvim_128.png
Source31: gvim_256.png
Source32: gvim_512.png
2025-08-12 18:18:48 +02:00
Source100: README.md
# /Section
Source99: %{name}-7.4-rpmlintrc
2025-08-12 18:18:48 +02:00
Source100: README.md
Accepting request 1187635 from home:mschreiner:branches:editors - Removed patches, as they're no longer required (refreshing them deleted their contents): * vim-7.3-help_tags.patch * vim-7.4-highlight_fstab.patch - Reorganise all applied patches in the spec file. - Update to 9.1.0588: * 9.1.0588: The maze program no longer compiles on newer clang runtime(typst): Add typst runtime files * 9.1.0587: tests: Test_gui_lowlevel_keyevent is still flaky * 9.1.0586: ocaml runtime files are outdated runtime(termdebug): fix a few issues * 9.1.0585: tests: test_cpoptions leaves swapfiles around * 9.1.0584: Warning about redeclaring f_id() non-static runtime(doc): Add hint how to load termdebug from vimrc runtime(doc): document global insert behavior * 9.1.0583: filetype: *.pdf_tex files are not recognized * 9.1.0582: Printed line doesn't overwrite colon when pressing Enter in Ex mode * 9.1.0581: Various lines are indented inconsistently * 9.1.0580: :lmap mapping for keypad key not applied when typed in Select mode * 9.1.0579: Ex command is still executed after giving E1247 * 9.1.0578: no tests for :Tohtml * 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim * 9.1.0576: tests: still an issue with test_gettext_make * 9.1.0575: Wrong comments in alt_tabpage() * 9.1.0574: ex: wrong handling of commands after bar runtime(doc): add a note for netrw bug reports * 9.1.0573: ex: no implicit print for single addresses runtime(vim): make &indentexpr available from the outside * 9.1.0572: cannot specify tab page closing behaviour runtime(doc): remove obsolete Ex insert behavior OBS-URL: https://build.opensuse.org/request/show/1187635 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=859
2024-07-16 04:17:35 +00:00
Patch1: %{name}-7.4-disable_lang_no.patch
Patch2: %{name}-7.3-gvimrc_fontset.patch
Patch3: %{name}-7.3-sh_is_bash.patch
Patch4: %{name}-7.3-filetype_ftl.patch
Patch5: %{name}-7.3-use_awk.patch
Patch6: %{name}-7.3-name_vimrc.patch
Patch7: %{name}-7.3-mktemp_tutor.patch
Patch8: %{name}-7.4-filetype_apparmor.patch
Patch9: %{name}-7.3-filetype_spec.patch
Patch10: %{name}-7.3-filetype_changes.patch
Patch11: %{name}-7.4-filetype_mine.patch
Patch12: %{name}73-no-static-libpython.patch
Patch13: %{name}-8.0.1568-defaults.patch
Patch14: %{name}-8.2.2411-globalvimrc.patch
Accepting request 1251072 from home:mschreiner:branches:editors - Introduce patch to fix bsc#1235751 (regression). * vim-9.1.1134-revert-putty-terminal-colors.patch - Update to 9.1.1176. * 9.1.1176: wrong indent when expanding multiple lines test(runtime/syntax): improve syntax tests editorconfig: set indent config for *.vim files runtime(doc): mention alternative check for vim9script * 9.1.1175: inconsistent behaviour with exclusive selection and motion commands runtime(man): don't add jumps when loading a manpage runtime(vim): recognize <...> strings (and keys) for 'keywordprg' * 9.1.1174: tests: Test_complete_cmdline() may fail runtime(doc): mention bzip3 in gzip plugin documentation * 9.1.1173: filetype: ABNF files are not detected * 9.1.1172: [security]: overflow with 'nostartofline' and Ex command in tag file * 9.1.1171: tests: wrong arguments passed to assert_equal() * 9.1.1170: wildmenu highlighting in popup can be improved runtime(netrw): upstream snapshot of v179 runtime(doc): fix typo "bet" in :h 'completeopt' * 9.1.1169: using global variable for get_insert()/get_lambda_name() * 9.1.1168: wrong flags passed down to nextwild() * 9.1.1167: mark '] wrong after copying text object runtime(doc): update how to get Vim * 9.1.1166: command-line auto-completion hard with wildmenu runtime(tar): use readblob() instead of shelling out to file(1) * 9.1.1165: diff: regression with multi-file diff blocks * 9.1.1164: [security]: code execution with tar.vim and special crafted tar files translation(it): Update Italian translation runtime(tar): fix syntax error in tar.vim * 9.1.1163: $MYVIMDIR is set too late runtime(syntax-tests): Apply stronger synchronisation between buffers OBS-URL: https://build.opensuse.org/request/show/1251072 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=879
2025-03-07 02:01:07 +00:00
Patch15: %{name}-9.1.1134-revert-putty-terminal-colors.patch
BuildRequires: autoconf
BuildRequires: db-devel
BuildRequires: fdupes
BuildRequires: gettext-devel
BuildRequires: gpm-devel
Accepting request 662793 from home:mimi_vx:branches:editors - Updated to version 8.1.0687 , fixes the following problems + refreshed disable-unreliable-tests.patch * Asan complains about reading before allocated block. * SGR not enabled for mintty because $TERM is "xterm". * Error for NUL byte in ScreenLines goes unnoticed. * Error message for NUL byte in ScreenLines breaks Travis CI. * Execute() always resets display column to zero. (Sha Liu) * 'commentstring' not used when adding fold marker. (Maxim Kim) * Non-silent execute() resets display column to zero. * Stopping a job does not work properly on OpenBSD. * Cannot redefine user command without ! in same script * 'commentstring' not used when adding fold marker in C. * Termdebug: clearing multi-breakpoint does not work. * Indent script tests pick up installed scripts. * Tabpage right-click menu never shows "Close tab". * Cannot disable arabic, rightleft and farsi in configure. * Cannot attach properties to text. * Invalid memory access when using text properties. * Double free without the text properties feature. * Text properties are not enabled. * Using illogical name for get_dict_number()/get_dict_string(). * With search CTRL-L does not pick up composing characters. * Undo test may fail on MS-Windows. * :digraph output is not easy to read. * GvimExt: realloc() failing is not handled properly. * Cannot define a sign with space in the text. * Compilation error in gvimext.cpp. * When a job ends the closed channels are not handled. * Channel sort test is flaky. * The libvterm tests are not run as part of Vim tests. OBS-URL: https://build.opensuse.org/request/show/662793 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=532
2019-01-04 13:34:11 +00:00
BuildRequires: libtool
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: ruby-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(form)
BuildRequires: pkgconfig(formw)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(libacl)
BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(menu)
BuildRequires: pkgconfig(menuw)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(ncurses++)
BuildRequires: pkgconfig(ncurses++w)
BuildRequires: pkgconfig(ncursesw)
BuildRequires: pkgconfig(panel)
BuildRequires: pkgconfig(panelw)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(tic)
BuildRequires: pkgconfig(tinfo)
BuildRequires: pkgconfig(xt)
- Updated to version 8.1.1600, fixes the following problems * Popup_setoptions() is not implemented yet. * Popup window not always redrawn after popup_setoptions(). * Crash when using closures. * Sign column takes up space. (Adam Stankiewicz) * Error message when terminal closes while it is not in the current tab. * Localtime_r() does not respond to $TZ changes. * Cannot build with signs but without diff feature. * Icon signs not displayed properly in the number column. * textprop highlight starts too early if just after a tab. * Compiler warnings with tiny build. (Tony Mechelynck) * Textprop test fails if screenhots do not work. * Tabpage option not yet implemented for popup window. * Compiler warning for unused argument. * Command line redrawn for +arabic without Arabic characters. (Dominique Pelle) * Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) * Cannot make part of a popup transparent. * Shared functions for testing are disorganised. * Cannot build with +textprop but without +timers. * Set_ref_in_list() only sets ref in items. * The evalfunc.c file is getting too big. * :let-heredoc does not trim enough. * Error number used in two places. * Redraw problem when sign icons in the number column. * In :let-heredoc line continuation is recognized. * Popup window does not indicate scroll position. * Popup window test fails. * On error garbage collection may free memory in use. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=558
2019-06-26 18:02:55 +00:00
Requires: vim-data-common = %{version}-%{release}
Requires: xxd = %{version}-%{release}
Recommends: vim-data = %{version}-%{release}
Conflicts: vim-base < 8.2
Provides: vi
Provides: vim-base = %{version}-%{release}
Provides: vim-enhanced = %{version}-%{release}
Provides: vim-python = %{version}-%{release}
Obsoletes: vim-base < %{version}-%{release}
Obsoletes: vim-enhanced < %{version}-%{release}
Obsoletes: vim-python < %{version}-%{release}
Provides: vim_client
%{?libperl_requires}
%if %{with libalternatives}
Requires: alts
%else
Requires(post): update-alternatives
Accepting request 1247758 from home:mschreiner:branches:editors - Version bump to fix bsc#1237359 (fixed as of 9.1.1115). - Update to 9.1.1134. * 9.1.1134: filetype: Guile init file not recognized * 9.1.1133: filetype: xkb files not recognized everywhere * 9.1.1132: Mark positions wrong after triggering multiline completion * 9.1.1131: potential out-of-memory issue in search.c * remove resolved complete item from todo list * 9.1.1130: 'listchars' "precedes" is not drawn on Tabs. * set fileformat=dos in filetype plugin * 9.1.1129: missing out-of-memory test in buf_write() * add commentstring '> %s' to ftplugin * 9.1.1128: 9.1.1119 caused a regression with imports * include simple filetype plugin * 9.1.1127: preinsert text is not cleaned up correctly * 9.1.1126: 9.1.1121 used a wrong way to handle enter * 9.1.1125: cannot loop through pum menu with multiline items * 9.1.1124: No test for 'listchars' "precedes" with double-width char * 9.1.1123: popup hi groups not falling back to defaults * Add support for # comments to ftplugin * 9.1.1122: too many strlen() calls in findfile.c * 9.1.1121: Enter does not insert newline with "noselect" * fix s:NetrwHome() regression * 9.1.1120: tests: Test_registers fails * add reference to extendnew() at extend() * 9.1.1119: Vim9: Not able to use an autoloaded class from another * autoloaded script * 9.1.1118: tests: test_termcodes fails * Update base-syntax, improve performance * 9.1.1117: there are a few minor style issues * 9.1.1116: Vim9: super not supported in lambda expressions OBS-URL: https://build.opensuse.org/request/show/1247758 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=877
2025-02-21 22:44:21 +00:00
Requires(postun): update-alternatives
%endif
- Updated to version 8.1.1600, fixes the following problems * Popup_setoptions() is not implemented yet. * Popup window not always redrawn after popup_setoptions(). * Crash when using closures. * Sign column takes up space. (Adam Stankiewicz) * Error message when terminal closes while it is not in the current tab. * Localtime_r() does not respond to $TZ changes. * Cannot build with signs but without diff feature. * Icon signs not displayed properly in the number column. * textprop highlight starts too early if just after a tab. * Compiler warnings with tiny build. (Tony Mechelynck) * Textprop test fails if screenhots do not work. * Tabpage option not yet implemented for popup window. * Compiler warning for unused argument. * Command line redrawn for +arabic without Arabic characters. (Dominique Pelle) * Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) * Cannot make part of a popup transparent. * Shared functions for testing are disorganised. * Cannot build with +textprop but without +timers. * Set_ref_in_list() only sets ref in items. * The evalfunc.c file is getting too big. * :let-heredoc does not trim enough. * Error number used in two places. * Redraw problem when sign icons in the number column. * In :let-heredoc line continuation is recognized. * Popup window does not indicate scroll position. * Popup window test fails. * On error garbage collection may free memory in use. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=558
2019-06-26 18:02:55 +00:00
%if %{with python2}
BuildRequires: python2-devel
%endif
%description
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
vi. Almost every possible command can be performed using only ASCII
characters. Only the 'Q' command is missing (you do not need it). Many
new features have been added: multilevel undo, command line history,
file name completion, block operations, and editing of binary data.
%package data
Summary: Data files needed for extended vim functionality
- Updated to version 8.1.1600, fixes the following problems * Popup_setoptions() is not implemented yet. * Popup window not always redrawn after popup_setoptions(). * Crash when using closures. * Sign column takes up space. (Adam Stankiewicz) * Error message when terminal closes while it is not in the current tab. * Localtime_r() does not respond to $TZ changes. * Cannot build with signs but without diff feature. * Icon signs not displayed properly in the number column. * textprop highlight starts too early if just after a tab. * Compiler warnings with tiny build. (Tony Mechelynck) * Textprop test fails if screenhots do not work. * Tabpage option not yet implemented for popup window. * Compiler warning for unused argument. * Command line redrawn for +arabic without Arabic characters. (Dominique Pelle) * Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) * Cannot make part of a popup transparent. * Shared functions for testing are disorganised. * Cannot build with +textprop but without +timers. * Set_ref_in_list() only sets ref in items. * The evalfunc.c file is getting too big. * :let-heredoc does not trim enough. * Error number used in two places. * Redraw problem when sign icons in the number column. * In :let-heredoc line continuation is recognized. * Popup window does not indicate scroll position. * Popup window test fails. * On error garbage collection may free memory in use. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=558
2019-06-26 18:02:55 +00:00
Requires: vim-data-common = %{version}-%{release}
# Used to be in vim-plugins package
Obsoletes: vim-plugin-matchit <= 1.13.2
Provides: vim-plugin-matchit = 1.13.2
# conflicts with nginx own plugin
Obsoletes: vim-plugin-nginx < %{version}
Provides: vim-plugin-nginx = %{version}
BuildArch: noarch
%description data
This package contains optional runtime & syntax files for vim.
%package data-common
Summary: Common Data files for vim & gvim
BuildArch: noarch
%description data-common
This package contains basic runtime & syntax files for vim
%package -n gvim
Summary: A GUI for Vi
Requires: gvim_client
Requires: vim-data = %{version}-%{release}
Requires: xxd = %{version}-%{release}
Conflicts: gvim < 8.2
Provides: gvim-base = %{version}-%{release}
Provides: gvim-enhanced = %{version}-%{release}
Obsoletes: gvim-base < %{version}-%{release}
Obsoletes: gvim-enhanced < %{version}-%{release}
Provides: gvim_client
Provides: vi
Provides: vim_client
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Accepting request 1247758 from home:mschreiner:branches:editors - Version bump to fix bsc#1237359 (fixed as of 9.1.1115). - Update to 9.1.1134. * 9.1.1134: filetype: Guile init file not recognized * 9.1.1133: filetype: xkb files not recognized everywhere * 9.1.1132: Mark positions wrong after triggering multiline completion * 9.1.1131: potential out-of-memory issue in search.c * remove resolved complete item from todo list * 9.1.1130: 'listchars' "precedes" is not drawn on Tabs. * set fileformat=dos in filetype plugin * 9.1.1129: missing out-of-memory test in buf_write() * add commentstring '> %s' to ftplugin * 9.1.1128: 9.1.1119 caused a regression with imports * include simple filetype plugin * 9.1.1127: preinsert text is not cleaned up correctly * 9.1.1126: 9.1.1121 used a wrong way to handle enter * 9.1.1125: cannot loop through pum menu with multiline items * 9.1.1124: No test for 'listchars' "precedes" with double-width char * 9.1.1123: popup hi groups not falling back to defaults * Add support for # comments to ftplugin * 9.1.1122: too many strlen() calls in findfile.c * 9.1.1121: Enter does not insert newline with "noselect" * fix s:NetrwHome() regression * 9.1.1120: tests: Test_registers fails * add reference to extendnew() at extend() * 9.1.1119: Vim9: Not able to use an autoloaded class from another * autoloaded script * 9.1.1118: tests: test_termcodes fails * Update base-syntax, improve performance * 9.1.1117: there are a few minor style issues * 9.1.1116: Vim9: super not supported in lambda expressions OBS-URL: https://build.opensuse.org/request/show/1247758 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=877
2025-02-21 22:44:21 +00:00
Requires(postun): update-alternatives
%endif
%description -n gvim
Package gvim contains the largest set of features of vim, which is
graphical windows and language interpreter, like python, ruby, or perl.
You need package vim for the help and other documentation too. If you
want less features, you might want to install vim instead.
%package small
Summary: Vim with reduced features
Requires: vim-data-common = %{version}-%{release}
Provides: vi
Provides: vim_client
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Accepting request 1247758 from home:mschreiner:branches:editors - Version bump to fix bsc#1237359 (fixed as of 9.1.1115). - Update to 9.1.1134. * 9.1.1134: filetype: Guile init file not recognized * 9.1.1133: filetype: xkb files not recognized everywhere * 9.1.1132: Mark positions wrong after triggering multiline completion * 9.1.1131: potential out-of-memory issue in search.c * remove resolved complete item from todo list * 9.1.1130: 'listchars' "precedes" is not drawn on Tabs. * set fileformat=dos in filetype plugin * 9.1.1129: missing out-of-memory test in buf_write() * add commentstring '> %s' to ftplugin * 9.1.1128: 9.1.1119 caused a regression with imports * include simple filetype plugin * 9.1.1127: preinsert text is not cleaned up correctly * 9.1.1126: 9.1.1121 used a wrong way to handle enter * 9.1.1125: cannot loop through pum menu with multiline items * 9.1.1124: No test for 'listchars' "precedes" with double-width char * 9.1.1123: popup hi groups not falling back to defaults * Add support for # comments to ftplugin * 9.1.1122: too many strlen() calls in findfile.c * 9.1.1121: Enter does not insert newline with "noselect" * fix s:NetrwHome() regression * 9.1.1120: tests: Test_registers fails * add reference to extendnew() at extend() * 9.1.1119: Vim9: Not able to use an autoloaded class from another * autoloaded script * 9.1.1118: tests: test_termcodes fails * Update base-syntax, improve performance * 9.1.1117: there are a few minor style issues * 9.1.1116: Vim9: super not supported in lambda expressions OBS-URL: https://build.opensuse.org/request/show/1247758 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=877
2025-02-21 22:44:21 +00:00
Requires(postun): update-alternatives
%endif
%description small
Vim compiled with reduced feature set such as no script
interpreters built in
%package -n xxd
Summary: A hex dump utility
- Updated to version 9.0.1538, fixes the following problems - fixes boo#1211256 CVE-2023-2609 * No error when calling remote_startserver() with an empty string. * Error when heredoc content looks like heredoc. * Line number not displayed when using 'smoothscroll'. * Assert message is confusing with boolean result. assert_inrange() replaces message instead of adding it. * Catch does not work when lines are joined with a newline. * Error message lacks mentioning the erroneous argument. * Misleading variable name for error message. * Crash when using wrong arg types to assert_match(). * Inserting lines when scrolling with 'smoothscroll' set. * Text scrolls unnecessarily when splitting and 'splitkeep' is not "cursor". * Test waits unnecessarily long before checking screendump. * reverse() does not work for a String. * Cannot use special keys in <Cmd> mapping. * Search stats not always visible when searching backwards. * Global 'filetype' is set when it is detected from the file content. * Completion for option name includes all bool options. * Failing redo of command with control characters. * Some functions give two error messages. * Some error messages are not marked for translation. * Passing -1 for bool is not always rejected. * 'smoothscroll' does not always work properly. * Condition is always true. * Crash when using negative value for term_cols. * Libsodium encryption is only used with "huge" features, even when manually enabled through configure. (Tony Mechelynck) * Code style test doesn't check for space after "if". * Cursor moves to wrong line when 'foldmethod' is "diff". (Rick Howe) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=812
2023-05-10 17:06:58 +00:00
Conflicts: vim <= 9.0.1418
%description -n xxd
xxd creates a hex dump of a given file or standard input. It can also convert
a hex dump back to its original binary form.
%prep
%setup -q -n %{name}-%{pkg_version}.%{patchlevel}
- Use mercurial tags instead of applying patches one by one. This reduces unexpected failures. - Updated to revision 417, fixes the following problems * Can't build with Perl on Fedora 20. * Fold does not open after search when there is a CmdwinLeave autocommand. * "foo bar" sorts before "foo" with sort(). (John Little) * Cannot define a command only when it's used. * Cannot build. Warning for shadowed variable. (John Little) * Problem with breakindent/showbreak and tabs. * After splitting a window and setting 'breakindent' the default minimum with is not respected. * Screen updating is slow when using matches. * Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) * Visual block insert breaks a multi-byte character. * Compiler warning for unused argument and unused variable. * Character after "fb" command not mapped if it might be a composing character. * Test 63 fails when run with GUI-only Vim. * Popup menu flickers too much. * When 'equalalways' is set a split may report "no room" even though there is plenty of room. * Title of quickfist list is not kept for setqflist(list, 'r'). * Accessing freed memory after using setqflist(list, 'r'). (Lcd) * Loading python may cause Vim to exit. * Get u_undo error when backspacing in Insert mode deletes more than one line break. (Ayberk Ozgur) * Mapping characters may not work after typing Esc in Insert mode. * Bad interaction between preview window and omnifunc. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
2014-08-25 11:50:01 +00:00
Accepting request 1187635 from home:mschreiner:branches:editors - Removed patches, as they're no longer required (refreshing them deleted their contents): * vim-7.3-help_tags.patch * vim-7.4-highlight_fstab.patch - Reorganise all applied patches in the spec file. - Update to 9.1.0588: * 9.1.0588: The maze program no longer compiles on newer clang runtime(typst): Add typst runtime files * 9.1.0587: tests: Test_gui_lowlevel_keyevent is still flaky * 9.1.0586: ocaml runtime files are outdated runtime(termdebug): fix a few issues * 9.1.0585: tests: test_cpoptions leaves swapfiles around * 9.1.0584: Warning about redeclaring f_id() non-static runtime(doc): Add hint how to load termdebug from vimrc runtime(doc): document global insert behavior * 9.1.0583: filetype: *.pdf_tex files are not recognized * 9.1.0582: Printed line doesn't overwrite colon when pressing Enter in Ex mode * 9.1.0581: Various lines are indented inconsistently * 9.1.0580: :lmap mapping for keypad key not applied when typed in Select mode * 9.1.0579: Ex command is still executed after giving E1247 * 9.1.0578: no tests for :Tohtml * 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim * 9.1.0576: tests: still an issue with test_gettext_make * 9.1.0575: Wrong comments in alt_tabpage() * 9.1.0574: ex: wrong handling of commands after bar runtime(doc): add a note for netrw bug reports * 9.1.0573: ex: no implicit print for single addresses runtime(vim): make &indentexpr available from the outside * 9.1.0572: cannot specify tab page closing behaviour runtime(doc): remove obsolete Ex insert behavior OBS-URL: https://build.opensuse.org/request/show/1187635 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=859
2024-07-16 04:17:35 +00:00
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
%patch -P 7 -p1
Accepting request 1187635 from home:mschreiner:branches:editors - Removed patches, as they're no longer required (refreshing them deleted their contents): * vim-7.3-help_tags.patch * vim-7.4-highlight_fstab.patch - Reorganise all applied patches in the spec file. - Update to 9.1.0588: * 9.1.0588: The maze program no longer compiles on newer clang runtime(typst): Add typst runtime files * 9.1.0587: tests: Test_gui_lowlevel_keyevent is still flaky * 9.1.0586: ocaml runtime files are outdated runtime(termdebug): fix a few issues * 9.1.0585: tests: test_cpoptions leaves swapfiles around * 9.1.0584: Warning about redeclaring f_id() non-static runtime(doc): Add hint how to load termdebug from vimrc runtime(doc): document global insert behavior * 9.1.0583: filetype: *.pdf_tex files are not recognized * 9.1.0582: Printed line doesn't overwrite colon when pressing Enter in Ex mode * 9.1.0581: Various lines are indented inconsistently * 9.1.0580: :lmap mapping for keypad key not applied when typed in Select mode * 9.1.0579: Ex command is still executed after giving E1247 * 9.1.0578: no tests for :Tohtml * 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim * 9.1.0576: tests: still an issue with test_gettext_make * 9.1.0575: Wrong comments in alt_tabpage() * 9.1.0574: ex: wrong handling of commands after bar runtime(doc): add a note for netrw bug reports * 9.1.0573: ex: no implicit print for single addresses runtime(vim): make &indentexpr available from the outside * 9.1.0572: cannot specify tab page closing behaviour runtime(doc): remove obsolete Ex insert behavior OBS-URL: https://build.opensuse.org/request/show/1187635 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=859
2024-07-16 04:17:35 +00:00
cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch -P 8 -p1
%patch -P 9 -p1
%patch -P 10 -p1
%patch -P 11 -p1
Accepting request 1187635 from home:mschreiner:branches:editors - Removed patches, as they're no longer required (refreshing them deleted their contents): * vim-7.3-help_tags.patch * vim-7.4-highlight_fstab.patch - Reorganise all applied patches in the spec file. - Update to 9.1.0588: * 9.1.0588: The maze program no longer compiles on newer clang runtime(typst): Add typst runtime files * 9.1.0587: tests: Test_gui_lowlevel_keyevent is still flaky * 9.1.0586: ocaml runtime files are outdated runtime(termdebug): fix a few issues * 9.1.0585: tests: test_cpoptions leaves swapfiles around * 9.1.0584: Warning about redeclaring f_id() non-static runtime(doc): Add hint how to load termdebug from vimrc runtime(doc): document global insert behavior * 9.1.0583: filetype: *.pdf_tex files are not recognized * 9.1.0582: Printed line doesn't overwrite colon when pressing Enter in Ex mode * 9.1.0581: Various lines are indented inconsistently * 9.1.0580: :lmap mapping for keypad key not applied when typed in Select mode * 9.1.0579: Ex command is still executed after giving E1247 * 9.1.0578: no tests for :Tohtml * 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim * 9.1.0576: tests: still an issue with test_gettext_make * 9.1.0575: Wrong comments in alt_tabpage() * 9.1.0574: ex: wrong handling of commands after bar runtime(doc): add a note for netrw bug reports * 9.1.0573: ex: no implicit print for single addresses runtime(vim): make &indentexpr available from the outside * 9.1.0572: cannot specify tab page closing behaviour runtime(doc): remove obsolete Ex insert behavior OBS-URL: https://build.opensuse.org/request/show/1187635 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=859
2024-07-16 04:17:35 +00:00
%patch -P 12 -p1
%patch -P 13 -p1
%patch -P 14 -p1
Accepting request 1251072 from home:mschreiner:branches:editors - Introduce patch to fix bsc#1235751 (regression). * vim-9.1.1134-revert-putty-terminal-colors.patch - Update to 9.1.1176. * 9.1.1176: wrong indent when expanding multiple lines test(runtime/syntax): improve syntax tests editorconfig: set indent config for *.vim files runtime(doc): mention alternative check for vim9script * 9.1.1175: inconsistent behaviour with exclusive selection and motion commands runtime(man): don't add jumps when loading a manpage runtime(vim): recognize <...> strings (and keys) for 'keywordprg' * 9.1.1174: tests: Test_complete_cmdline() may fail runtime(doc): mention bzip3 in gzip plugin documentation * 9.1.1173: filetype: ABNF files are not detected * 9.1.1172: [security]: overflow with 'nostartofline' and Ex command in tag file * 9.1.1171: tests: wrong arguments passed to assert_equal() * 9.1.1170: wildmenu highlighting in popup can be improved runtime(netrw): upstream snapshot of v179 runtime(doc): fix typo "bet" in :h 'completeopt' * 9.1.1169: using global variable for get_insert()/get_lambda_name() * 9.1.1168: wrong flags passed down to nextwild() * 9.1.1167: mark '] wrong after copying text object runtime(doc): update how to get Vim * 9.1.1166: command-line auto-completion hard with wildmenu runtime(tar): use readblob() instead of shelling out to file(1) * 9.1.1165: diff: regression with multi-file diff blocks * 9.1.1164: [security]: code execution with tar.vim and special crafted tar files translation(it): Update Italian translation runtime(tar): fix syntax error in tar.vim * 9.1.1163: $MYVIMDIR is set too late runtime(syntax-tests): Apply stronger synchronisation between buffers OBS-URL: https://build.opensuse.org/request/show/1251072 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=879
2025-03-07 02:01:07 +00:00
%patch -P 15 -p1
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
%build
- update to 9.1.1366: * patch 9.1.1366: v9.1.1364 unintentionally changed sign.c and sound.c * runtime(lua): update 'path' option in filetype plugin * runtime(sh): Update syntax, match KornShell compound arrays * runtime(doc): Tweak documentation style in develop.txt * runtime(helptoc): the helptoc package can be improved * runtime(spec): add more local macro names according to rpm 4.20 * runtime(sh): Update syntax, fix single-quoted strings in parameter expansions * runtime(new-tutor): Update Serbian translation of chapter 1 * patch 9.1.1365: MS-Windows: compile warnings and too many strlen() calls * patch 9.1.1364: style: more indentation issues * runtime(vim): Update base-syntax, match quote separated numbers * patch 9.1.1363: style: inconsistent indentation in various files * patch 9.1.1362: Vim9: type ignored when adding tuple to instance list var * runtime(tutor): Add Galician language versions of tutor1 and tutor2 * patch 9.1.1361: [security]: possible use-after-free when closing a buffer * runtime(abnf): include ABNF filetype plugin * patch 9.1.1360: filetype: GNU Radio companion files are not recognized * patch 9.1.1359: filetype: GNU Radio config files are not recognized * patch 9.1.1358: if_lua: compile warnings with gcc15 * runtime(vim): Update base-syntax, improve enum highlighting * runtime(doc): update example ctags program and links * patch 9.1.1357: Vim incorrectly escapes tags with "[" in a help buffer * patch 9.1.1356: Vim9: crash when unletting variable * runtime(sh): Update syntax, highlight escaped chars in test expressions * runtime(doc): document that :b cannot handle buffer names starting with "+" * runtime(doc): clarify the use of 'tagfunc', update a comment in tags.c * runtime(doc): tweak documentation style in options.txt * patch 9.1.1355: The pum_redraw() function is too complex * patch 9.1.1354: tests: Test_terminalwinscroll_topline() fails on Windows OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=892
2025-05-06 21:32:58 +00:00
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
export COMMON_OPTIONS="\
--with-vim-name=vim \
--with-ex-name=ex \
--with-view-name=view \
--enable-cscope \
--enable-multibyte \
--with-compiledby='http://www.opensuse.org/' \
--with-tlib=tinfo \
--with-global-runtime=%{site_runtimepath} \
"
# yeah kind of weird to call this small when we then use the
# "normal" set. Calling the package vim-normal is weird though as
# huge is our default.
export SMALL_OPTIONS="\
$COMMON_OPTIONS \
--with-features=small \
--enable-luainterp=no \
--enable-pythoninterp=no \
--enable-perlinterp=no \
--enable-python3interp=no \
--enable-rubyinterp=no"
export HUGE_OPTIONS="\
$COMMON_OPTIONS \
--with-features=huge \
--enable-luainterp=dynamic \
--enable-perlinterp=yes \
--enable-python3interp=dynamic \
--enable-rubyinterp=dynamic
--enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no}"
export GUI_OPTIONS="\
--disable-icon-cache-update \
--enable-xim \
--enable-fontset \
--enable-gui=gtk3"
export NOGUI_OPTIONS="\
--disable-gui \
--disable-gpm \
--with-x=no \
"
pushd src
autoconf
popd
# build smaller vim
%configure ${SMALL_OPTIONS} ${NOGUI_OPTIONS}
sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
%make_build
cp src/vim vim-small
# build normal vim
%make_build -j1 distclean
%configure ${HUGE_OPTIONS} ${NOGUI_OPTIONS}
sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
%make_build
cp src/vim vim-nox11
# build gvim
%make_build -j1 distclean
%configure ${HUGE_OPTIONS} ${GUI_OPTIONS}
sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h
%make_build
#
# build vitmp
gcc %{optflags} %{SOURCE13} -o vitmp
%install
%make_install STRIP=:
# create icon directories and install the icons into it
for SIZE in 24 32 48 64 96 128 256 512; do
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps
install -m 0644 %{_sourcedir}/gvim_${SIZE}.png %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps/gvim.png
done
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
install -m 0644 %{SOURCE24} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/gvim.svg
# the last installed binary is gvim. preserve it
mv %{buildroot}%{_bindir}/vim %{buildroot}%{_bindir}/gvim
%if %{with libalternatives}
for f in vimdiff ex view rview rvim; do
rm %{buildroot}%{_bindir}/$f
done
%else
# fix gvim symlinks. e* was added here as it doesnt make much sense in
# console
for f in egvim egview eview evim gex gvi gview gvimdiff rgview rgvim ; do
ln -s -vf gvim %{buildroot}%{_bindir}/$f
done
%endif
# install vim
install -D -m 0755 vim-small %{buildroot}%{_bindir}/vim-small
install -D -m 0755 vim-nox11 %{buildroot}%{_bindir}/vim-nox11
%if ! %{with libalternatives}
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
ln -s -f %{_sysconfdir}/alternatives/vim %{buildroot}%{_bindir}/vim
ln -s -f %{_sysconfdir}/alternatives/vi %{buildroot}%{_bindir}/vi
%else
for f in vi vim rvim evim eview egview view rview vimdiff edit ex egvim gex gvi gview gvimdiff rgview rgvim ; do
ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/$f
mkdir -p %{buildroot}%{_datadir}/libalternatives/$f
done
for f in vi vim rvim view rview vimdiff edit ex; do
cat > %{buildroot}%{_datadir}/libalternatives/$f/20.conf <<EOF
binary=%{_bindir}/vim-nox11
group=vim,vi
options=KeepArgv0
EOF
done
for f in vi vim evim rvim egview eview view rview vimdiff edit ex egvim gex gvi gview gvimdiff rgview rgvim ; do
cat > %{buildroot}%{_datadir}/libalternatives/$f/30.conf <<EOF
binary=%{_bindir}/gvim
group=vi,vim
options=KeepArgv0
EOF
done
for f in vim vi ; do
cat > %{buildroot}%{_datadir}/libalternatives/$f/19.conf <<EOF
binary=%{_bindir}/vim-small
group=vim,vi
options=KeepArgv0
EOF
done
%endif
# compat symlinks
mkdir %{buildroot}/bin
%if 0%{?suse_version} < 1550
ln -s -f %{_bindir}/vim %{buildroot}/bin/vi
ln -s -f %{_bindir}/vim %{buildroot}/bin/vim
%endif
ln -s -f vim %{buildroot}%{_bindir}/edit
%if 0%{?suse_version} < 1550
ln -s -f %{_bindir}/vim %{buildroot}/bin/ex
%endif
# man pages
ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz
ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz
# vitmp
install -m 0755 vitmp %{buildroot}%{_bindir}/vitmp
install -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man1/vitmp.1
install -m 0755 %{SOURCE15} %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132
# make the vim settings more generic
ln -s -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current
# additional files
install -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/vim/current/suse.vimrc
#install -D -m 0644 /dev/null %{buildroot}%{_sysconfdir}/vimrc
install -D -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/gvimrc
# create site wide runtime directory
mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after
mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload
mkdir -m 0755 %{buildroot}%{site_runtimepath}/colors
mkdir -m 0755 %{buildroot}%{site_runtimepath}/doc
mkdir -m 0755 %{buildroot}%{site_runtimepath}/plugin
mkdir -m 0755 %{buildroot}%{site_runtimepath}/syntax
mkdir -m 0755 %{buildroot}%{site_runtimepath}/ftdetect
mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax
mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons
mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel
# install spec helper
install -m 0644 %{SOURCE20} %{buildroot}%{_datadir}/vim/current/skeletons/skeleton.spec
install -m 0644 %{SOURCE21} %{buildroot}%{_datadir}/vim/current/plugin/spec.vim
# desktop file for gvim
install -D -m 0644 %{SOURCE19} %{buildroot}%{_datadir}/applications/gvim.desktop
%suse_update_desktop_file gvim Utility TextEditor
#
# documentation
install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/
install -D -m 0644 \
vimrc_example1 vimrc_example2 suse.vimrc \
README.txt READMEdir/README_src.txt READMEdir/README_unix.txt \
%{buildroot}%{_docdir}/vim/
2025-01-21 12:28:31 +00:00
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/LICENSE
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/README.txt
# gvim
install -D -m 0644 \
README.Japanese-XIM runtime/gvimrc_example.vim suse.gvimrc \
%{buildroot}%{_docdir}/gvim/
# remove unecessary duplicate manpages
rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/
rm -rf %{buildroot}%{_mandir}/fr.UTF-8/
rm -rf %{buildroot}%{_mandir}/pl.ISO8859-2/
rm -rf %{buildroot}%{_mandir}/pl.UTF-8/
rm -rf %{buildroot}%{_mandir}/ru.KOI8-R/
rm -rf %{buildroot}%{_mandir}/it.ISO8859-1/
rm -rf %{buildroot}%{_mandir}/it.UTF-8/
Accepting request 622350 from home:mimi_vx:branches:editors - update to 8.1 revision 8.1.0178 - refresh disable-unreliable-tests.patch vim-7.3-filetype_changes.patch vim-7.3-filetype_ftl.patch vim-7.3-filetype_spec.patch vim-7.3-help_tags.patch vim-7.3-name_vimrc.patch vim-7.4-filetype_apparmor.patch * Warning for passing pointer to non-pointer argument. * Overlapping string argument for strcpy(). * Marks test fails in very wide window * After paging up and down fold line is wrong. * 'viminfofile' option does not behave like a file name. * Typing CTRL-W n in a terminal window causes ml_get error. * Invalid memory use with complicated pattern. * Calling message_filtered() a bit too often. * output of :marks is too short with multi-byte chars * lock flag in new dictitem is reset in many places * using dict_add_nr_str() is clumsy * :clist output can be very long. * luaeval('vim.buffer().name') returns an error. * Danish and German man pages are not installed. * Buffer not updated with 'autoread' set if file was deleted. * completion for user names does not work for a prefix. * GUI: input() fails if CTRL-C was pressed before * Evim.man missing from the distribution. * Crash with "set smarttab shiftwidth=0 softtabstop=-1". * Build with SHADOWDIR fails. * session is wrong with multiple tabs when :lcd was used * Memory leak when using :tcl expr command. OBS-URL: https://build.opensuse.org/request/show/622350 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=503
2018-07-13 06:48:02 +00:00
rm -rf %{buildroot}%{_mandir}/da.UTF-8/
rm -rf %{buildroot}%{_mandir}/de.UTF-8/
rm -rf %{buildroot}%{_mandir}/da.ISO8859-1/
rm -rf %{buildroot}%{_mandir}/de.ISO8859-1/
- Updated to version 8.2.1154, fixes the following problems * Vim9 test fails without job feature. * Running channel tests may leave running process behind. * Vim9: closure cannot store value in outer context. * Vim9: memory leak in disassemble test. * Indent tests don't run on CI for FreeBSD. * Vim9: using assert_fails() causes function to finish. * Vim9 function test fails. * Vim9: constant expressions are not simplified. * Netbeans test sometimes fails. * With a long running Vim the temp directory might be cleared on some systems. * Various code not fully tested. * The pam_environment file is not recognized. * Vim9: handling constant expression does not scale. * Vim9: leaking memory. * Vim9: another memory leak. * Vim9: postponed constant expressions does not scale. * Gcc warning for returning pointer to local variable. (John Marriott) * Vim9: more expressions can be evaluated at compile time * Occasional exit when encountering an X error. (Manfred Lotz) * Vim9: leaking memory when skipping. * Vim9: not handling constant expression for elseif. * Vim9: nested constant expression not evaluated compile time. * Vim9: appending to buffer/window/tab variable not tested * Vim9: cannot call a function declared later in Vim9 script. * Vim9: leaking memory when calling not compiled :def function. * Messages about a deadly signal are not left aligned. * Vim9: When reloading a script variables are not cleared. * Vim9: Assignment to dict member does not work. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=612
2020-07-08 17:36:52 +00:00
rm -Rf %{buildroot}%{_mandir}/tr.ISO8859-9/
rm -Rf %{buildroot}%{_mandir}/tr.UTF-8/
# remove unnecessary files
rm -rf %{buildroot}%{_datadir}/applications/vim.desktop
rm -rf %{buildroot}%{_datadir}/icons/locolor
# and move russian manpages to a place where they can be found
mv %{buildroot}%{_mandir}/ru.UTF-8 %{buildroot}%{_mandir}/ru
# remove some c source files
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c
# Remove sample server to avoid python dependency
rm %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/demoserver.py
# Create ghost files (see vim.conf)
mkdir -p %{buildroot}%{_localstatedir}/run/vi.recover
%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang
%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tutor
%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin
sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.pl
sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/doc/vim2html.pl
- Updated to version 8.1.1600, fixes the following problems * Popup_setoptions() is not implemented yet. * Popup window not always redrawn after popup_setoptions(). * Crash when using closures. * Sign column takes up space. (Adam Stankiewicz) * Error message when terminal closes while it is not in the current tab. * Localtime_r() does not respond to $TZ changes. * Cannot build with signs but without diff feature. * Icon signs not displayed properly in the number column. * textprop highlight starts too early if just after a tab. * Compiler warnings with tiny build. (Tony Mechelynck) * Textprop test fails if screenhots do not work. * Tabpage option not yet implemented for popup window. * Compiler warning for unused argument. * Command line redrawn for +arabic without Arabic characters. (Dominique Pelle) * Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) * Cannot make part of a popup transparent. * Shared functions for testing are disorganised. * Cannot build with +textprop but without +timers. * Set_ref_in_list() only sets ref in items. * The evalfunc.c file is getting too big. * :let-heredoc does not trim enough. * Error number used in two places. * Redraw problem when sign icons in the number column. * In :let-heredoc line continuation is recognized. * Popup window does not indicate scroll position. * Popup window test fails. * On error garbage collection may free memory in use. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=558
2019-06-26 18:02:55 +00:00
%if %{with libalternatives}
# with libalternatives
%pre
# removing old update-alternatives entries
if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] && [ ! -e %{_bindir}/vim-nox11 ]; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-nox11
fi
%pre -n gvim
if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] && [ ! -e %{_bindir}/gvim ] ; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim
fi
%pre small
if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] && [ ! -e %{_bindir}/vim-small ]; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small
fi
%if 0%{?suse_version} <= 1315
%post -n gvim
%icon_theme_cache_post
%postun -n gvim
%icon_theme_cache_postun
%endif
%else
# without libalternatives
%post
%{_sbindir}/update-alternatives \
--install %{_bindir}/vim vim %{_bindir}/vim-nox11 20 \
--slave %{_bindir}/vi vi %{_bindir}/vim-nox11
%postun
if [ ! -e %{_bindir}/vim-nox11 ] ; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-nox11
fi
%post -n gvim
%{_sbindir}/update-alternatives \
--install %{_bindir}/vim vim %{_bindir}/gvim 30 \
--slave %{_bindir}/vi vi %{_bindir}/gvim
%if 0%{?suse_version} <= 1315
%icon_theme_cache_post
%endif
%postun -n gvim
if [ ! -e %{_bindir}/gvim ] ; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim
fi
%if 0%{?suse_version} <= 1315
%icon_theme_cache_postun
%endif
%post small
%{_sbindir}/update-alternatives \
--install %{_bindir}/vim vim %{_bindir}/vim-small 19 \
--slave %{_bindir}/vi vi %{_bindir}/vim-small
%postun small
if [ ! -e %{_bindir}/vim-small ] ; then
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small
fi
%endif
%files
%if ! %{with libalternatives}
%ghost %{_sysconfdir}/alternatives/vim
%ghost %{_sysconfdir}/alternatives/vi
%else
%dir %{_datadir}/libalternatives
%dir %{_datadir}/libalternatives/vi
%{_datadir}/libalternatives/vi/20.conf
%dir %{_datadir}/libalternatives/vim
%{_datadir}/libalternatives/vim/20.conf
%dir %{_datadir}/libalternatives/rvim
%{_datadir}/libalternatives/rvim/20.conf
%dir %{_datadir}/libalternatives/view
%{_datadir}/libalternatives/view/20.conf
%dir %{_datadir}/libalternatives/rview
%{_datadir}/libalternatives/rview/20.conf
%dir %{_datadir}/libalternatives/ex
%{_datadir}/libalternatives/ex/20.conf
%dir %{_datadir}/libalternatives/edit
%{_datadir}/libalternatives/edit/20.conf
%dir %{_datadir}/libalternatives/vimdiff
%{_datadir}/libalternatives/vimdiff/20.conf
%endif
%{_bindir}/vim-nox11
%{_bindir}/vim
# symlinks
%if 0%{?suse_version} < 1550
/bin/vi
/bin/vim
/bin/ex
%endif
%{_bindir}/edit
%{_bindir}/ex
%{_bindir}/rview
%{_bindir}/rvim
%{_bindir}/vi
%{_bindir}/view
%{_bindir}/vimdiff
# additional binaries
%{_bindir}/vitmp
%{_bindir}/vimtutor
%{_bindir}/gvimtutor
# man pages
%{_mandir}/man1/eview.1%{?ext_man}
%{_mandir}/man1/evim.1%{?ext_man}
%{_mandir}/man1/ex.1%{?ext_man}
%{_mandir}/man1/gview.1%{?ext_man}
%{_mandir}/man1/gvim.1%{?ext_man}
%{_mandir}/man1/gvimdiff.1%{?ext_man}
%{_mandir}/man1/rgview.1%{?ext_man}
%{_mandir}/man1/rgvim.1%{?ext_man}
%{_mandir}/man1/rview.1%{?ext_man}
%{_mandir}/man1/rvim.1%{?ext_man}
%{_mandir}/man1/vi.1%{?ext_man}
%{_mandir}/man1/view.1%{?ext_man}
%{_mandir}/man1/vim.1%{?ext_man}
%{_mandir}/man1/vimdiff.1%{?ext_man}
%{_mandir}/man1/vimtutor.1%{?ext_man}
%{_mandir}/man1/vitmp.1%{?ext_man}
Accepting request 622350 from home:mimi_vx:branches:editors - update to 8.1 revision 8.1.0178 - refresh disable-unreliable-tests.patch vim-7.3-filetype_changes.patch vim-7.3-filetype_ftl.patch vim-7.3-filetype_spec.patch vim-7.3-help_tags.patch vim-7.3-name_vimrc.patch vim-7.4-filetype_apparmor.patch * Warning for passing pointer to non-pointer argument. * Overlapping string argument for strcpy(). * Marks test fails in very wide window * After paging up and down fold line is wrong. * 'viminfofile' option does not behave like a file name. * Typing CTRL-W n in a terminal window causes ml_get error. * Invalid memory use with complicated pattern. * Calling message_filtered() a bit too often. * output of :marks is too short with multi-byte chars * lock flag in new dictitem is reset in many places * using dict_add_nr_str() is clumsy * :clist output can be very long. * luaeval('vim.buffer().name') returns an error. * Danish and German man pages are not installed. * Buffer not updated with 'autoread' set if file was deleted. * completion for user names does not work for a prefix. * GUI: input() fails if CTRL-C was pressed before * Evim.man missing from the distribution. * Crash with "set smarttab shiftwidth=0 softtabstop=-1". * Build with SHADOWDIR fails. * session is wrong with multiple tabs when :lcd was used * Memory leak when using :tcl expr command. OBS-URL: https://build.opensuse.org/request/show/622350 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=503
2018-07-13 06:48:02 +00:00
%dir %{_mandir}/da
%dir %{_mandir}/da/man1/
%{_mandir}/da/man1/*.1%{?ext_man}
Accepting request 622350 from home:mimi_vx:branches:editors - update to 8.1 revision 8.1.0178 - refresh disable-unreliable-tests.patch vim-7.3-filetype_changes.patch vim-7.3-filetype_ftl.patch vim-7.3-filetype_spec.patch vim-7.3-help_tags.patch vim-7.3-name_vimrc.patch vim-7.4-filetype_apparmor.patch * Warning for passing pointer to non-pointer argument. * Overlapping string argument for strcpy(). * Marks test fails in very wide window * After paging up and down fold line is wrong. * 'viminfofile' option does not behave like a file name. * Typing CTRL-W n in a terminal window causes ml_get error. * Invalid memory use with complicated pattern. * Calling message_filtered() a bit too often. * output of :marks is too short with multi-byte chars * lock flag in new dictitem is reset in many places * using dict_add_nr_str() is clumsy * :clist output can be very long. * luaeval('vim.buffer().name') returns an error. * Danish and German man pages are not installed. * Buffer not updated with 'autoread' set if file was deleted. * completion for user names does not work for a prefix. * GUI: input() fails if CTRL-C was pressed before * Evim.man missing from the distribution. * Crash with "set smarttab shiftwidth=0 softtabstop=-1". * Build with SHADOWDIR fails. * session is wrong with multiple tabs when :lcd was used * Memory leak when using :tcl expr command. OBS-URL: https://build.opensuse.org/request/show/622350 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=503
2018-07-13 06:48:02 +00:00
%dir %{_mandir}/de
%dir %{_mandir}/de/man1/
%{_mandir}/de/man1/*.1%{?ext_man}
%dir %{_mandir}/fr
%dir %{_mandir}/fr/man1/
%{_mandir}/fr/man1/*.1%{?ext_man}
%dir %{_mandir}/it
%dir %{_mandir}/it/man1/
%{_mandir}/it/man1/*.1%{?ext_man}
%dir %{_mandir}/ru
%dir %{_mandir}/ru/man1/
%{_mandir}/ru/man1/*.1%{?ext_man}
%dir %{_mandir}/pl
%dir %{_mandir}/pl/man1/
%{_mandir}/pl/man1/*.1%{?ext_man}
%dir %{_mandir}/ja
%dir %{_mandir}/ja/man1/
%{_mandir}/ja/man1/*.1%{?ext_man}
- Updated to version 8.2.1154, fixes the following problems * Vim9 test fails without job feature. * Running channel tests may leave running process behind. * Vim9: closure cannot store value in outer context. * Vim9: memory leak in disassemble test. * Indent tests don't run on CI for FreeBSD. * Vim9: using assert_fails() causes function to finish. * Vim9 function test fails. * Vim9: constant expressions are not simplified. * Netbeans test sometimes fails. * With a long running Vim the temp directory might be cleared on some systems. * Various code not fully tested. * The pam_environment file is not recognized. * Vim9: handling constant expression does not scale. * Vim9: leaking memory. * Vim9: another memory leak. * Vim9: postponed constant expressions does not scale. * Gcc warning for returning pointer to local variable. (John Marriott) * Vim9: more expressions can be evaluated at compile time * Occasional exit when encountering an X error. (Manfred Lotz) * Vim9: leaking memory when skipping. * Vim9: not handling constant expression for elseif. * Vim9: nested constant expression not evaluated compile time. * Vim9: appending to buffer/window/tab variable not tested * Vim9: cannot call a function declared later in Vim9 script. * Vim9: leaking memory when calling not compiled :def function. * Messages about a deadly signal are not left aligned. * Vim9: When reloading a script variables are not cleared. * Vim9: Assignment to dict member does not work. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=612
2020-07-08 17:36:52 +00:00
%dir %{_mandir}/tr
%dir %{_mandir}/tr/man1/
%{_mandir}/tr/man1/*.1%{?ext_man}
# docs and data file
%license LICENSE
%doc %{_docdir}/vim
#
%dir %{_datadir}/vim/%{VIM_SUBDIR}/colors/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/compiler/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/doc/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/indent/
- Updated to version 8.2.5038, fixes the following problems * Valgrind warning for using uninitialized variable. * Screendump test may fail when using valgrind. * Vim9: misplaced elseif causes invalid memory access. * "P" in Visual mode still changes some registers. * Cannot make 'breakindent' use a specific column. * String interpolation only works in heredoc. * Test fails without the job/channel feature. (Dominique Pellé) * Test fails with the job/channel feature. * Vim9: redir in skipped block seen as assignment. * Channel log does not show invoking a timer callback. * Line number of lambda ignores line continuation. * Inconsistent capitalization in error messages. * Vim help presentation could be better. * Test failures because of changed error messages. * Distributed import files are not installed. * Buffer overflow with invalid command with composing chars. * Expression in command block does not look after NL when command is typed. * Comment inside an expression in lambda ignores the rest of the expression. * Coverity complains about pointer usage. * With latin1 encoding CTRL-W might go before the start of the command line. * Vim9 expression test fails without the job feature. * NULL pointer access when using invalid pattern. * Mouse wheel scrolling is inconsistent. * Cannot get the current cmdline completion type and position. * codecov includes MS-Windows install files. * codecov includes MS-Windows install header file. * Some users do not want a line comment always inserted. * No text formatting for // comment after a statement. * MODE_ enum entries names are too generic. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=717
2022-05-29 16:39:50 +00:00
%dir %{_datadir}/vim/%{VIM_SUBDIR}/import/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/import/dist/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/keymap/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/lang/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/macros/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/pack/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/plugin/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/print/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/spell/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/tools/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/tutor/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/
%dir %{site_runtimepath}
%dir %{site_runtimepath}/autoload/
%dir %{site_runtimepath}/colors/
%dir %{site_runtimepath}/doc/
%dir %{site_runtimepath}/plugin/
%dir %{site_runtimepath}/syntax/
%dir %{site_runtimepath}/ftdetect/
%dir %{site_runtimepath}/after/
%dir %{site_runtimepath}/after/syntax/
%files data
# exclude common files
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/script.vim
- fix boo#1192871 - Updated to version 8.2.3640, fixes the following problems * Arglist test does not clear the argument list consistently. * ":verbose pwd" does not mention 'autochdir' was applied. * getcwd() is unclear about how 'autochdir' is used. * Cannot use a lambda for 'operatorfunc'. * Memory leak reported in libtlib. * Build failure. * "verbose pwd" shows confusing info when :lcd does not change directory. * "$*" is expanded to "nonomatch". * When renaming a terminal buffer the status text is not updated. * Illegal memory access when C-indenting. * "au!" and "au! event" cannot be followed by another command as documented. * difficult to know where the text starts in a window. (Sergey Vlasov) * Looking up terminal colors is a bit slow. * Command completion in cmdline window uses global user commands, not local commands for the window where it was opened from. * Printf() with %S does not handle multi-byte correctly. * "syntax enable" does not work properly in Vim9 context. * GTK3: undercurl does not get removed properly. * Vim9: line number of lambda is off by one. * Error for already defined function uses wrong line number. * GTK: composing underline does not show. * Coverity warns for unreachable code. * Typos in test files. * getcompletion() always passes zero as position to custom completion function. * Line commented out accidentally. * Freeze when calling term_wait() in a close callback. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=695
2021-11-22 09:14:03 +00:00
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/colors/lists/default.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syncolor.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/synload.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/vim.vim
# data files
%{_datadir}/vim/%{VIM_SUBDIR}/autoload/*
%{_datadir}/vim/%{VIM_SUBDIR}/colors/*
%{_datadir}/vim/%{VIM_SUBDIR}/compiler/*
%{_datadir}/vim/%{VIM_SUBDIR}/doc/*
%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/*
%{_datadir}/vim/%{VIM_SUBDIR}/indent/*
- Updated to version 8.2.5038, fixes the following problems * Valgrind warning for using uninitialized variable. * Screendump test may fail when using valgrind. * Vim9: misplaced elseif causes invalid memory access. * "P" in Visual mode still changes some registers. * Cannot make 'breakindent' use a specific column. * String interpolation only works in heredoc. * Test fails without the job/channel feature. (Dominique Pellé) * Test fails with the job/channel feature. * Vim9: redir in skipped block seen as assignment. * Channel log does not show invoking a timer callback. * Line number of lambda ignores line continuation. * Inconsistent capitalization in error messages. * Vim help presentation could be better. * Test failures because of changed error messages. * Distributed import files are not installed. * Buffer overflow with invalid command with composing chars. * Expression in command block does not look after NL when command is typed. * Comment inside an expression in lambda ignores the rest of the expression. * Coverity complains about pointer usage. * With latin1 encoding CTRL-W might go before the start of the command line. * Vim9 expression test fails without the job feature. * NULL pointer access when using invalid pattern. * Mouse wheel scrolling is inconsistent. * Cannot get the current cmdline completion type and position. * codecov includes MS-Windows install files. * codecov includes MS-Windows install header file. * Some users do not want a line comment always inserted. * No text formatting for // comment after a statement. * MODE_ enum entries names are too generic. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=717
2022-05-29 16:39:50 +00:00
%{_datadir}/vim/%{VIM_SUBDIR}/import/dist/*
%{_datadir}/vim/%{VIM_SUBDIR}/keymap/*
%{_datadir}/vim/%{VIM_SUBDIR}/lang/*
%{_datadir}/vim/%{VIM_SUBDIR}/macros/*
%{_datadir}/vim/%{VIM_SUBDIR}/pack/*
%{_datadir}/vim/%{VIM_SUBDIR}/plugin/*
%{_datadir}/vim/%{VIM_SUBDIR}/print/*
%{_datadir}/vim/%{VIM_SUBDIR}/skeletons/*
%{_datadir}/vim/%{VIM_SUBDIR}/spell/*
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/*
%{_datadir}/vim/%{VIM_SUBDIR}/tools/*
%{_datadir}/vim/%{VIM_SUBDIR}/tutor/*
%files data-common
# we can't currently own /etc/vimrc. If we keep owning it, an
# existing, unmodified vimrc would not be removed. That results in a
# duplicated definition of SKEL_spec().
# see also https://github.com/rpm-software-management/rpm/issues/1296
#%ghost %config(noreplace) %{_sysconfdir}/vimrc
%{_datadir}/vim/current
%dir %{_datadir}/vim/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/
%dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/
%{_datadir}/vim/%{VIM_SUBDIR}/suse.vimrc
%{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
%{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/script.vim
- fix boo#1192871 - Updated to version 8.2.3640, fixes the following problems * Arglist test does not clear the argument list consistently. * ":verbose pwd" does not mention 'autochdir' was applied. * getcwd() is unclear about how 'autochdir' is used. * Cannot use a lambda for 'operatorfunc'. * Memory leak reported in libtlib. * Build failure. * "verbose pwd" shows confusing info when :lcd does not change directory. * "$*" is expanded to "nonomatch". * When renaming a terminal buffer the status text is not updated. * Illegal memory access when C-indenting. * "au!" and "au! event" cannot be followed by another command as documented. * difficult to know where the text starts in a window. (Sergey Vlasov) * Looking up terminal colors is a bit slow. * Command completion in cmdline window uses global user commands, not local commands for the window where it was opened from. * Printf() with %S does not handle multi-byte correctly. * "syntax enable" does not work properly in Vim9 context. * GTK3: undercurl does not get removed properly. * Vim9: line number of lambda is off by one. * Error for already defined function uses wrong line number. * GTK: composing underline does not show. * Coverity warns for unreachable code. * Typos in test files. * getcompletion() always passes zero as position to custom completion function. * Line commented out accidentally. * Freeze when calling term_wait() in a close callback. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=695
2021-11-22 09:14:03 +00:00
%{_datadir}/vim/%{VIM_SUBDIR}/colors/lists/default.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syncolor.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/synload.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/vim.vim
%{_datadir}/vim/%{VIM_SUBDIR}/*.vim
%files -n gvim
%doc runtime/doc/gui_x11.txt
%ghost %config(missingok) %{_sysconfdir}/gvimrc
%if ! %{with libalternatives}
%ghost %{_sysconfdir}/alternatives/vim
%ghost %{_sysconfdir}/alternatives/vi
%else
%dir %{_datadir}/libalternatives
%dir %{_datadir}/libalternatives/vi
%{_datadir}/libalternatives/vi/30.conf
%dir %{_datadir}/libalternatives/vim
%{_datadir}/libalternatives/vim/30.conf
%dir %{_datadir}/libalternatives/rvim
%{_datadir}/libalternatives/rvim/30.conf
%dir %{_datadir}/libalternatives/view
%{_datadir}/libalternatives/view/30.conf
%dir %{_datadir}/libalternatives/rview
%{_datadir}/libalternatives/rview/30.conf
%dir %{_datadir}/libalternatives/eview
%{_datadir}/libalternatives/eview/30.conf
%dir %{_datadir}/libalternatives/ex
%{_datadir}/libalternatives/ex/30.conf
%dir %{_datadir}/libalternatives/edit
%{_datadir}/libalternatives/edit/30.conf
%dir %{_datadir}/libalternatives/vimdiff
%{_datadir}/libalternatives/vimdiff/30.conf
%dir %{_datadir}/libalternatives/egvim
%{_datadir}/libalternatives/egvim/30.conf
%dir %{_datadir}/libalternatives/egview
%{_datadir}/libalternatives/egview/30.conf
%dir %{_datadir}/libalternatives/evim
%{_datadir}/libalternatives/evim/30.conf
%dir %{_datadir}/libalternatives/gex
%{_datadir}/libalternatives/gex/30.conf
%dir %{_datadir}/libalternatives/gvi
%{_datadir}/libalternatives/gvi/30.conf
%dir %{_datadir}/libalternatives/gview
%{_datadir}/libalternatives/gview/30.conf
%dir %{_datadir}/libalternatives/gvimdiff
%{_datadir}/libalternatives/gvimdiff/30.conf
%dir %{_datadir}/libalternatives/rgvim
%{_datadir}/libalternatives/rgvim/30.conf
%dir %{_datadir}/libalternatives/rgview
%{_datadir}/libalternatives/rgview/30.conf
%endif
%{_bindir}/vi
%{_bindir}/vim
%{_bindir}/egview
%{_bindir}/egvim
%{_bindir}/eview
%{_bindir}/evim
%{_bindir}/gex
%{_bindir}/gvi
%{_bindir}/gview
%{_bindir}/gvim
%{_bindir}/gvimdiff
%{_bindir}/rgview
%{_bindir}/rgvim
# menu icon
%{_datadir}/applications/gvim.desktop
%{_datadir}/icons/hicolor/*/apps/gvim.*
%doc %{_docdir}/gvim
%files small
%license LICENSE
%if ! %{with libalternatives}
%ghost %{_sysconfdir}/alternatives/vim
%ghost %{_sysconfdir}/alternatives/vi
%else
%dir %{_datadir}/libalternatives
%dir %{_datadir}/libalternatives/vi
%{_datadir}/libalternatives/vi/19.conf
%dir %{_datadir}/libalternatives/vim
%{_datadir}/libalternatives/vim/19.conf
%endif
%{_bindir}/vi
%{_bindir}/vim
%{_bindir}/vim-small
%files -n xxd
%license LICENSE
%{_bindir}/xxd
%{_mandir}/man1/xxd.1%{?ext_man}
%changelog