Accepting request 779138 from home:mcepl:neovim

- make install STRIP=true to avoid stripping. Avoid public nudity!
  gh#martanne/vis#811
- Add BR of tre-devel, not just tre.

OBS-URL: https://build.opensuse.org/request/show/779138
OBS-URL: https://build.opensuse.org/package/show/editors/vis?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2020-02-26 08:38:45 +00:00 committed by Git OBS Bridge
commit 17629305a1
8 changed files with 178 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

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service name="obs_scm">
<param name="versionprefix">0.5+git</param>
<param name="url">https://github.com/martanne/vis.git</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="buildtime" />
</services>

View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/martanne/vis.git</param>
<param name="changesrevision">30c6ceb2447be5b8b73958271972ba98457dc0b7</param></service></servicedata>

View File

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

View File

@ -0,0 +1,37 @@
-------------------------------------------------------------------
Mon Feb 24 16:29:43 UTC 2020 - mcepl@cepl.eu
- Update to version 0.5+git.1582539324.30c6ceb:
* vis-lua: implement vis:redraw()
* lua: add `redrawtime` option
* lua: fix documentation typos and errors
* lua: optimize the win:style() loop
* ci: update README status badges
* sam: warn when attempting to write to an existing file
* sam: fix modification time comparision when writing file
* ci: fix test coverage upload
* test: update
* sam: re-take range after pre-save hooks are run
-------------------------------------------------------------------
Mon Feb 24 16:11:28 CET 2020 - Matej Cepl <mcepl@suse.com>
- make install STRIP=true to avoid stripping. Avoid public nudity!
gh#martanne/vis#811
-------------------------------------------------------------------
Thu Dec 26 00:17:14 CET 2019 - Matej Cepl <mcepl@suse.com>
- Add BR of tre-devel, not just tre.
-------------------------------------------------------------------
Sun Sep 22 01:22:08 CEST 2019 - Matej Cepl <mcepl@suse.com>
- Remove Debian-related files
- Add missing BRs.
-------------------------------------------------------------------
Mon Dec 12 21:42:43 UTC 2016 - code@baez.nyc
initial build from git

View File

@ -0,0 +1,5 @@
name: vis
version: 0.5+git.1582539324.30c6ceb
mtime: 1582539324
commit: 30c6ceb2447be5b8b73958271972ba98457dc0b7

22
vis.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Mon Feb 24 16:11:28 CET 2020 - Matej Cepl <mcepl@suse.com>
- make install STRIP=true to avoid stripping. Avoid public nudity!
gh#martanne/vis#811
-------------------------------------------------------------------
Thu Dec 26 00:17:14 CET 2019 - Matej Cepl <mcepl@suse.com>
- Add BR of tre-devel, not just tre.
-------------------------------------------------------------------
Sun Sep 22 01:22:08 CEST 2019 - Matej Cepl <mcepl@suse.com>
- Remove Debian-related files
- Add missing BRs.
-------------------------------------------------------------------
Mon Dec 12 21:42:43 UTC 2016 - code@baez.nyc
initial build from git

68
vis.spec Normal file
View File

@ -0,0 +1,68 @@
#
# spec file for package vis
#
# Copyright (c) 2020 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/
#
Name: vis
Version: 1582539324.30c6ceb
Release: 0
Summary: An editor combining the strengths of both vi(m) and sam
License: MIT
Group: Productivity/Text/Editors
URL: https://github.com/martanne/vis
Source: %{name}-%{version}.tar.xz
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
%autosetup
%build
# FIXME: you should use the %%configure macro
./configure --prefix="%{_prefix}"
%make_build debug
%install
%make_install STRIP="true"
%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