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
2016-02-21 13:15:11 +01:00
|
|
|
#
|
|
|
|
# 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
|
2016-04-14 04:20:12 +02:00
|
|
|
Version: 0.1.3
|
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
2016-02-21 13:15:11 +01:00
|
|
|
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++
|
2016-04-14 04:20:12 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
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
2016-02-21 13:15:11 +01:00
|
|
|
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.
|
2016-04-14 04:20:12 +02:00
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
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
2016-02-21 13:15:11 +01:00
|
|
|
|
|
|
|
# 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
|
2016-04-14 04:20:12 +02:00
|
|
|
%icon_theme_cache_post
|
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
2016-02-21 13:15:11 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
2016-04-14 04:20:12 +02:00
|
|
|
%icon_theme_cache_postun
|
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
2016-02-21 13:15:11 +01:00
|
|
|
|
|
|
|
%files -f nvim.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc BACKERS.md CONTRIBUTING.md LICENSE README.md
|
|
|
|
%{_bindir}/nvim
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/nvim/
|
2016-04-14 04:20:12 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
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
2016-02-21 13:15:11 +01:00
|
|
|
%{_mandir}/man1/nvim.1%{ext_man}
|
|
|
|
|
|
|
|
%changelog
|