SHA256
1
0
forked from pool/vis
vis/vis.spec
Matej Cepl 7a91c094e0 - Update to 0.8:
- build: add git based version information back
  - lexers: fix bug in bash lexer for last here-doc
  - vis: make O implementation independent of <Up> mapping
  - fix typos in comments
  - lua: fix luacheck warnings 
  - vis: rename to/till motion internals 
  - vis: implement multiline to/till motions
  - vis-lua: provide file.permission property 
  - Mention pkg-config in README 
  - lexers/strace: improve comments, field names and syscall results
  - lexers/git-rebase: also highlight break command
  - filetype: Set "bash" for APKBUILD and .ebuild.
  - filetype: Detect make shebang for "makefile".
  - Adding .sv extension to verilog syntax highlighter
  - build: update alpine in docker build to version 3.13
  - sam: only skip the last empty match if it follows a newline
  - sam: produce empty match at the end of looped range
  - test: update
  - gitignore: remove vim specific swap files 
  - sam: tweak handling of zero length matches in y commands 
  - sam: simplify trailing match handling for x/y commands
  - vis: correctly close pipe connected to stdin of external process 
  - add lua5.4 in configure script
  - vis: Add readline Ctrl+A/E bindings
  - ci: verify codecov script before using it
  - ci: verify coverity scan script before using it
  - filetype: Set "groovy" for Jenkinsfile
  - README: x/freenode/c/libera/ 
  - Set version to 0.8

OBS-URL: https://build.opensuse.org/package/show/editors/vis?expand=0&rev=17
2022-11-01 15:16:43 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package vis
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define test_version 0.5
Name: vis
Version: 0.8
Release: 0
Summary: An editor combining the strengths of both vi(m) and sam
License: ISC
Group: Productivity/Text/Editors
URL: https://github.com/martanne/vis
Source0: https://github.com/martanne/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://github.com/martanne/vis-test/releases/download/v%{test_version}/vis-test-%{test_version}.tar.gz
BuildRequires: libselinux-devel
BuildRequires: libtermkey-devel
BuildRequires: lua-devel
BuildRequires: lua-lpeg
BuildRequires: ncurses-devel
BuildRequires: tar
BuildRequires: tre-devel
Requires: lua
ExclusiveArch: x86_64 %{ix86}
%description
Vis aims to be a modern, legacy free, simple yet efficient editor combining the strengths of both vi(m) and sam.
It extends vi's modal editing with built-in support for multiple cursors/selections and combines it with sam's structural regular expression based command language.
%prep
%setup -q
tar -xC test/ --strip-components 1 -f %{SOURCE1}
%build
export CFLAGS="%{optflags} -fcommon"
%configure
%make_build debug
%install
%make_install
%check
# According to the debian/rules:
# The vim tests harness is not solid, let's skip them for the moment.
# Upstream mentioned the possibility of phasing them out entirely.
make -C test/core
# No busted yet make -C test/lua
make -C test/vis
%files
%{_bindir}/vis*
%{_datadir}/vis
%{_mandir}/man1/*
%dir %{_datadir}/doc/vis
%{_datadir}/doc/vis/LICENSE
%{_datadir}/doc/vis/README.md
%changelog