Accepting request 423740 from home:XRevan86

- Update to version 0.1.5.

OBS-URL: https://build.opensuse.org/request/show/423740
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2016-08-30 07:11:31 +00:00 committed by Git OBS Bridge
parent eb07e091d4
commit 504353b1b4
4 changed files with 99 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb7e359eb83db20c5ec5984b470b249372b6dcd813ae2ccf72c01cce560f93e9
size 7678847

3
neovim-0.1.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f286ff7994ef1835272285425d65804063f112c91925fee3ef8865282a6d2b7e
size 7813974

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Mon Aug 29 22:45:13 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.1.5:
* Breaking changes:
+ 'termguicolors' option enables "true color".
NVIM_TUI_ENABLE_TRUE_COLOR is now ignored.
+ Remove ":oldfiles!", replaced by Vim's ":browse oldfiles".
* Features:
+ Full :ruby support!
+ timers: timer_start(), timer_stop().
+ :CheckHealth command.
+ file: Add buffered reading and writing.
Much faster shada file reading (important for startup time).
+ jobstart() learned 'rpc':
- jobs and RPC channel IDs share the same "namespace".
- jobstart() can start RPC channels, which allows scripts to
handle 'stderr' on a RPC channel, like a typical non-RPC
job.
- jobpid()/jobstop() works on RPC jobs.
- Deprecates rpcstart().
+ man.vim rewrite:
- :Man command is enabled by default.
- New features: completion, window handling, better parsing,
and more.
+ capture() function (renamed to execute())
- Supports nesting, including nested :redir.
+ rplugin manifest: default to XDG dir.
+ Better handling of mouse-clicks on concealed chars.
+ terminal: Ensure b:term_title always has a value.
+ tui: Assume 256 colours in most cases.
+ Always resize the :terminal.
+ api_info().
+ allow setting cwd in jobstart(), termopen().
+ support "special" highlight (undercurl).
+ mouse: Implement horizontal scroll.
* Fixes:
+ Prevent data loss for process output streams.
+ 'process.c: Fix block in teardown'.
+ Prevent endless loop in printdigraph() (gh#neovim/neovim#5215).
+ timers: Avoid crash after processing events.
+ Set the default value for 'packpath'.
+ Restore double click.
+ readfile(): Less-disruptive readonly check.
Fixes an issue where nvim unnecessarily "touched" open files.
+ Handle very long $XDG_DATA_DIRS.
+ option: Do not expand options in XDG vars.
+ server_init: Handle server_address_new() failure.
+ Fix v:register for clipboard=unnamed,unnamedplus.
+ 'Trigger TabNewEntered with T'.
+ synIDattr(): Return RRGGBB value for fg#.
- Correct group: Productivity/Text/Editors.
- Separate locales into neovim-lang.
- Some spec cleanup.
-------------------------------------------------------------------
Thu Apr 28 15:58:15 UTC 2016 - ronisbr@gmail.com
@ -129,4 +184,3 @@ Thu Dec 3 00:04:27 UTC 2015 - ronisbr@gmail.com
Wed Dec 2 13:05:59 UTC 2015 - ronisbr@gmail.com
- Initial version based on home:darix:neovim/neovim

View File

@ -17,80 +17,80 @@
Name: neovim
Version: 0.1.4
Version: 0.1.5
Release: 0
Summary: Vim-fork focused on extensibility and agility
License: Apache-2.0
Group: Productivity/Editors/Vi
Group: Productivity/Text/Editors
Url: https://neovim.io/
Source: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: neovim.svg
Source2: neovim.desktop
Source1: neovim.desktop
Source2: neovim.svg
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libmsgpack-devel >= 1.2.0
BuildRequires: libmsgpackc-devel >= 1.2.0
BuildRequires: libuv-devel
BuildRequires: lua51-BitOp
BuildRequires: lua51-LPeg
BuildRequires: lua51-mpack
BuildRequires: luajit-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(jemalloc)
BuildRequires: pkgconfig(libuv)
BuildRequires: pkgconfig(termkey)
BuildRequires: pkgconfig(unibilium)
BuildRequires: pkgconfig(vterm)
Recommends: %{name}-lang
Recommends: python-neovim
Recommends: python3-neovim
Recommends: xsel
%description
Neovim is a refactor - and sometimes redactor - in the tradition of Vim, which
itself derives from Stevie. It is not a rewrite, but a continuation and
extension of Vim. Many rewrites, clones, emulators and imitators exist; some are
very clever, but none are Vim. Neovim strives to be a superset of Vim,
notwithstanding some intentionally removed misfeatures; excepting those few and
carefully-considered excisions, Neovim is Vim. It is built for users who want
the good parts of Vim, without compromise, and more.
Neovim is a refactor - and sometimes redactor - in the tradition of
Vim, which itself derives from Stevie. It is not a rewrite, but a
continuation and extension of Vim. Many rewrites, clones, emulators
and imitators exist; some are very clever, but none are Vim. Neovim
strives to be a superset of Vim, notwithstanding some intentionally
removed misfeatures; excepting those few and carefully-considered
excisions, Neovim is Vim. It is built for users who want the good
parts of Vim, without compromise, and more.
%lang_package
%prep
%setup -q
cp -f %{SOURCE1} neovim.desktop
cp -f %{SOURCE2} neovim.svg
# Remove __DATE__ and __TIME__
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g"
# Remove __DATE__ and __TIME__.
BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
BUILD_DATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{b} %{d} %{Y}')
sed -i "s/__TIME__/\"$BUILD_TIME\"/" $(grep -rl '__TIME__')
sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__')
%build
%cmake -DLUA_PRG=%{_bindir}/lua \
%cmake \
-DLUA_PRG=%{_bindir}/lua \
-DUSE_BUNDLED=OFF \
-DLUAJIT_USE_BUNDLED=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DENABLE_JEMALLOC=ON
make %{?_smp_mflags}
%install
pushd build
make %{?_smp_mflags} DESTDIR=%{buildroot} install
popd
# Install icon.
install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%cmake_install
# Install desktop file.
install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -Dpm 0644 neovim.desktop %{buildroot}/%{_datadir}/applications/neovim.desktop
# Create hardlinks for duplicate files.
%fdupes %{buildroot}%{_datadir}/nvim/runtime/ftplugin/
# Install the icon.
install -Dpm 0644 neovim.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/neovim.svg
%suse_update_desktop_file -r neovim ConsoleOnly Application Utility TextEditor
%fdupes %{buildroot}%{_datadir}/
%find_lang nvim
%post
@ -101,13 +101,16 @@ install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.deskt
%desktop_database_postun
%icon_theme_cache_postun
%files -f nvim.lang
%files
%defattr(-,root,root)
%doc BACKERS.md CONTRIBUTING.md LICENSE README.md
%{_bindir}/nvim
%{_datadir}/applications/%{name}.desktop
%{_datadir}/nvim/
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_mandir}/man1/nvim.1%{ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.svg
%{_mandir}/man1/nvim.1%{?ext_man}
%files lang -f nvim.lang
%defattr(-,root,root)
%changelog