- Update to version 2.9 * user pain points addressed - all keybinds and options reviewed by the team and frozen (see #422) - fewer keybinds - greatly improved help screen readability * nuke: sample opener (CLI-only by default) and plugin * fast line redraws instead of full screen refresh (thanks @annagrram) * auto archive handling by extension (see config NNN_ARCHIVE) * Lead key simplified to bookmark key (b or ^/) * single key to toggle order (t or ^T) * plugins - .cbcp: copy selection to system clipboard (internal, program option -x) - .ntfy: show noti on cp, mv, rm completion (internal, program option -x) - autojump: navigate using autojump - upload: paste text files to http://ix.io, upload rest to https://file.io - all fuzzy plugins modified to support both fzf and fzy * more control on plugins - prefix - to skip directory refresh after running (cmd as) plugin - suffix * to skip confirmation after running cmd as plugin * indicate range selection mode with * * list keys at bookmark and plugin key prompts * visit to pinned dir like bookmarks (Bookmark key followed by ,) * toggle executable (key *) * show mime along with file details * more special keys at empty filter prompt: - apply the last filter (^L) - toggle between string and regex (/) - toggle case-sensitivity (:) * retain filter on Esc, Up, Down * show filter details when filter is on * remove option to run filter as cmd on prompt key (can be disruptive) * program options - option -x: enable notis and copy selection to system clipboard - option -g: regex filters (string filter is default now) - option -Q: quit program without confirmation - option -s: load session - option -n: start in nav-as-you-type mode - option -v: version sort - option -V: show program version - option -A: disable dir auto-select * ISO 8601 compliant date in status bar * ported to Haiku OS (thanks @annagrram) * sort only filtered entries (to avoid directory refresh) * fix getplugs to install hidden files * fix several selection issues (see #400) * fix detail mode not restored on loading session * fix symlink to directory not auto-selected * fix regex error on partial regex patterns * fix symlink not shown if stat(2) on target fails * fix flags when spawning a CLI opener as default FM * fix issue with stat flag on Sun (no support for dirent.d_type) * fix current file in current context not saved correctly in session * signed source distribution on release * simplified debugging with line numbers in logs OBS-URL: https://build.opensuse.org/request/show/765521 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=35
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package nnn
|
|
#
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: nnn
|
|
Version: 2.9
|
|
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
|