Sisyphus repository
Last update: 2017-12-16 04:05:55 +0300 | SRPMs: 18226 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.2.0-alt1

Group :: Editors
Source RPM: neovim

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Name: neovim
Version: 0.2.0
Release: alt1

Summary: heavily refactored vim fork

License: ASLv2 and Vim
Group: Editors
Url: https://neovim.io/

# git://git.altlinux.org/gears/n/neovim.git

Source: %name-%version-%release.tar
Source1: %name.watch

BuildRequires(pre):
 rpm-macros-cmake cmake

BuildRequires: /proc
BuildRequires: gcc-c++
BuildRequires: gperf
BuildRequires: libjemalloc-devel
BuildRequires: libmsgpack-devel
BuildRequires: libtermkey-devel
BuildRequires: libuv-devel
BuildRequires: libvterm-devel
BuildRequires: lua lua-devel lua-lpeg lua-mpack luajit libluajit-devel
BuildRequires: unibilium-devel

Provides: nvim = %EVR
Requires: %name-runtime = %EVR

%package runtime
BuildArch: noarch
Summary: heavily refactored vim fork - runtime files
Group: Editors

%define common_descr \
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 clones and derivatives exist; some are very clever, but\
none are Vim. Neovim strives to be a superset of Vim except for some\
intentionally-removed misfeatures. It is built for users who want the good parts\
of Vim, and more.

%description
%common_descr

%description runtime
%common_descr

This package contains runtime files.

%prep
%setup

%build
%cmake \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DNVIM_VERSION_RELEASE=%release \
        #
%cmake_build VERBOSE=1

%install
%cmakeinstall_std
%find_lang nvim

gzip -9 LICENSE

install -pm0644 runtime/nvim.desktop -Dt %buildroot%_desktopdir
install -pm0644 runtime/nvim.png -Dt %buildroot%_pixmapsdir

%files -f nvim.lang
%doc LICENSE.gz
%_bindir/nvim
%_man1dir/nvim*

%_desktopdir/nvim.desktop
%_pixmapsdir/nvim.png

%files runtime
%dir %_datadir/nvim
%dir %_datadir/nvim/runtime
%_datadir/nvim/runtime/*

%changelog
* Wed May 03 2017 Vladimir D. Seleznev <vseleznv at altlinux.org> 0.2.0-alt1
- Initial build for Sisyphus.

 
© 2009–2017 Igor Zubkov