SHA256
1
0
forked from pool/nnn
nnn/nnn.spec
Dilawar Singh b24f0ba0c2 Accepting request 879332 from home:dilawar:branches:utilities
- Update to version 3.6
    * REPL command prompt (<kbd>Esc</kbd> or <kbd>Enter</kbd> to exit)
    * invert selection with <kbd>A</kbd>
    * option `-u` removed (always prefer selection to hovered)
    * visit start dir on <kbd>@</kbd> when start path is a file
    * exit filter mode and redraw on <kbd>^L</kbd> if no last filter
    * plugin `fzcd` now selects the chosen file (#876)
    * `ueberzug` support in plugin `preview-tui`
    * new plugin `preview-tui-ext` with extra preview support
    * clear selection after successful plugin invocation
    * add method to sync subshell `$PWD` in WIki
    * clear selection on single file deletion (#812)
    * copy between instances not working (#864)
    * plugin `togglex` to toggle exe mode of a selection (#813)
    * fix `memccpy()` buffer overlap fault on macOS (#786)
    * show `0 selected` msg on cp/mv with empty selection (#855)
    * fix frozen terminal caused by opener (#858)
    * migrate macOS CI to GitHub workflows, retire Travis

OBS-URL: https://build.opensuse.org/request/show/879332
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=49
2021-03-16 06:14:50 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package nnn
#
# Copyright (c) 2021 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: nnn
Version: 3.6
Release: 0
Summary: Terminal based file browser
License: BSD-2-Clause
Group: Productivity/File utilities
URL: https://github.com/jarun/nnn#nnn
Source0: https://github.com/jarun/nnn/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: readline-devel
%if 0%{?leap_version} == 420300
BuildRequires: ncurses-devel
%else
BuildRequires: pkgconfig(ncursesw)
%endif
Recommends: sshfs
%description
nnn is a fork of noice, a terminal file browser with keyboard
shortcuts for navigation, opening files and running tasks. There is
no config file and MIME associations are hard-coded.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
%make_install PREFIX=%{_prefix}
%files
%license LICENSE
%doc README.md CHANGELOG
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog