commit 87c23211073333de457115d77af988fb212e8f36e59131904a37a5e50646b7b9 Author: Dirk Stoecker Date: Sun Feb 21 12:15:11 2016 +0000 Accepting request 356572 from home:Ronis_BR 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. NOTE: All dependencies necessary to build neovim were already accepted into Factory. However, if one wished to build neovim for Leap, this dependencies must be linked in this repository. OBS-URL: https://build.opensuse.org/request/show/356572 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/neovim-0.1.1.tar.gz b/neovim-0.1.1.tar.gz new file mode 100644 index 0000000..95f809b --- /dev/null +++ b/neovim-0.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f39bcab23457c66ce0d67dcf8029743703f860413db0070f75d4f0ffad27c6c1 +size 7584560 diff --git a/neovim.changes b/neovim.changes new file mode 100644 index 0000000..ec2b36f --- /dev/null +++ b/neovim.changes @@ -0,0 +1,39 @@ +------------------------------------------------------------------- +Fri Jan 22 16:02:49 UTC 2016 - ronisbr@gmail.com + +- Add neovim desktop file. + +------------------------------------------------------------------- +Mon Jan 11 17:37:45 UTC 2016 - ronisbr@gmail.com + +- Add neovim logo to the package. + +------------------------------------------------------------------- +Sat Dec 5 20:17:17 UTC 2015 - ronisbr@gmail.com + +- Update to version 0.1.1. +- Changelog: + * shada/msgpack editor plugin #3270 + * VimL Dict notifications #3603 + * Note: API for this feature may change. + * :profile dump, :profile stop #2427 + * :oldfiles! #3611 + * TermOpen, TermClose events #3653 + * fix: shada/viminfo: Do not save unlisted and quickfix buffers + #3581 + +------------------------------------------------------------------- +Thu Dec 3 11:36:38 UTC 2015 - ronisbr@gmail.com + +- Remove xclip of recommended packages list. + +------------------------------------------------------------------- +Thu Dec 3 00:04:27 UTC 2015 - ronisbr@gmail.com + +- Add python-neovim and python3-neovim as recommended packages. + +------------------------------------------------------------------- +Wed Dec 2 13:05:59 UTC 2015 - ronisbr@gmail.com + +- Initial version based on home:darix:neovim/neovim + diff --git a/neovim.desktop b/neovim.desktop new file mode 100644 index 0000000..7410e32 --- /dev/null +++ b/neovim.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Neovim +Categories=ConsoleOnly;Application;Utility;TextEditor; +GenericName=Text Editor +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +Exec=xdg-terminal "nvim %f" +Icon=neovim +Type=Application +Terminal=false diff --git a/neovim.spec b/neovim.spec new file mode 100644 index 0000000..84628c7 --- /dev/null +++ b/neovim.spec @@ -0,0 +1,110 @@ +# +# spec file for package neovim +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: neovim +Version: 0.1.1 +Release: 0 +Summary: Vim-fork focused on extensibility and agility +License: Apache-2.0 +Group: Productivity/Editors/Vi +Url: https://neovim.io/ +Source: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: neovim.svg +Source2: neovim.desktop +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: libmsgpack-devel >= 1.2.0 +BuildRequires: libmsgpackc-devel >= 1.2.0 +BuildRequires: libuv-devel +BuildRequires: lua51-BitOp +BuildRequires: lua51-LPeg +BuildRequires: lua51-MessagePack +BuildRequires: luajit-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(jemalloc) +BuildRequires: pkgconfig(termkey) +BuildRequires: pkgconfig(unibilium) +BuildRequires: pkgconfig(vterm) +BuildRequires: update-desktop-files +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. + +%prep +%setup -q + +# 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" + +%build +%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 DESTDIR=%{buildroot} install %{?_smp_mflags} +popd + +# Install icon. +install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/pixmaps/%{name}.svg + +# Install desktop file. +install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.desktop + +# Create hardlinks for duplicate files. +%fdupes %{buildroot}%{_datadir}/nvim/runtime/ftplugin/ + +%suse_update_desktop_file -r neovim ConsoleOnly Application Utility TextEditor + +%find_lang nvim + +%post +%desktop_database_post + +%postun +%desktop_database_postun + +%files -f nvim.lang +%defattr(-,root,root) +%doc BACKERS.md CONTRIBUTING.md LICENSE README.md +%{_bindir}/nvim +%{_datadir}/applications/%{name}.desktop +%{_datadir}/nvim/ +%{_datadir}/pixmaps/%{name}.svg +%{_mandir}/man1/nvim.1%{ext_man} + +%changelog diff --git a/neovim.svg b/neovim.svg new file mode 100644 index 0000000..2121ce4 --- /dev/null +++ b/neovim.svg @@ -0,0 +1,27 @@ + + + neovim-mark@2x + Created with Sketch (http://www.bohemiancoding.com/sketch) + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file