SHA256
1
0
forked from pool/neovim

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
This commit is contained in:
Dirk Stoecker 2016-02-21 12:15:11 +00:00 committed by Git OBS Bridge
commit 87c2321107
7 changed files with 213 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

39
neovim.changes Normal file
View File

@ -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

10
neovim.desktop Normal file
View File

@ -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

110
neovim.spec Normal file
View File

@ -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

27
neovim.svg Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="602px" height="734px" viewBox="0 0 602 734" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>neovim-mark@2x</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="#16B0ED" stop-opacity="0.800235524" offset="0%"></stop>
<stop stop-color="#0F59B2" stop-opacity="0.83700023" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-2">
<stop stop-color="#7DB643" offset="0%"></stop>
<stop stop-color="#367533" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-3">
<stop stop-color="#88C649" stop-opacity="0.8" offset="0%"></stop>
<stop stop-color="#439240" stop-opacity="0.84" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="mark-copy" sketch:type="MSLayerGroup" transform="translate(2.000000, 3.000000)">
<path d="M0,155.5704 L155,-1 L154.999997,727 L0,572.237919 L0,155.5704 Z" id="Left---green" fill="url(#linearGradient-1)" sketch:type="MSShapeGroup"></path>
<path d="M443.060403,156.982405 L600,-1 L596.818792,727 L442,572.219941 L443.060403,156.982405 Z" id="Right---blue" fill="url(#linearGradient-2)" sketch:type="MSShapeGroup" transform="translate(521.000000, 363.500000) scale(-1, 1) translate(-521.000000, -363.500000) "></path>
<path d="M154.986294,0 L558,615.189696 L445.224605,728 L42,114.172017 L154.986294,0 Z" id="Cross---blue" fill="url(#linearGradient-3)" sketch:type="MSShapeGroup"></path>
<path d="M155,283.83232 L154.786754,308 L31,124.710606 L42.4619486,113 L155,283.83232 Z" id="Shadow" fill-opacity="0.13" fill="#000000" sketch:type="MSShapeGroup"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB