- Update to version 3.1 * unlimited bookmarks and plugin keys * status bar text in context color * support config `NO_COLOR` to disable colors * config `NNN_OPTS` to specify binary options to `nnn` * config `NNN_MCLICK` to emulate configurable key * toggle selection on right click * ignore hard links when calculating disk usage * dim (hard/sym) link names (symlink to file has `@`) * more special keys at empty filter prompt in _type-to-nav_ * key <kbd>></kbd> to export file list * option `-F` to show fortune in help and settings screen * option `-T` to specify sort order (obsoletes `-v`) * option to clear sort order * key <kbd>T</kbd> to change time type (access/change/mod) * `.nmv` - internal fully-functional batch renamer plugin * make var `O_NOBATCH` to disable native batch renamer * `nuke` & `imgview` - open all images in directory sxiv * `nuke` - open log files in vi * plugin `x2sel` - system clipboard to selection copier * plugin `fzy` - cd using z database * plugin `fzopen` - support `FZF_DEFAULT_COMMAND` * create new context on TAB without prompt * hover and connect by dir name (within config dir) * move to next entry on current file delete * on single file copy/move, select the copied/moved file * option `-f` to to use readline history file (off by default) * use `s` in status bar to indicate selection in progress * make var `O_NOMOUSE` to disable mouse support * do not store `NNN_TRASH` and `-Q` in config/session * add sample .desktop file for XDG compatible DEs * rename _nav-as-you-type_ to _type-to-nav_ mode * fix PCRE case-insensitive regex search * fix no error msg when filter length limit exceeded * fix static package generation * fix broken abort message when started in du-mode * fix filter lost on context switch in non _type-to-nav_ mode * fix broken readline prompt * fix long strings treated as action keys in filter prompt * fix `NNNLVL` not reset when spawned shell is exited OBS-URL: https://build.opensuse.org/request/show/793521 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=39
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package nnn
|
|
#
|
|
# 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: nnn
|
|
Version: 3.1
|
|
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
|