- Update to version 2.8 * sessions (thanks @annagrram) * rclone support for remote access (mount any cloud storage!!!) * toggle selection with Space or ^J * ignore events during selection so the + symbol is not lost * run custom (non-shell-interpreted) commands like plugins * configure cd-on-quit as the default behaviour * create parent dirs for new files and dirs, duplicate a file/dir anywhere * copy/move as workflow (thanks @KlzXS) * edit , flush selection buffer (thanks @KlzXS) * support xargs with minimal options (as in BusyBox) (thanks @KlzXS) * changed the key to size sort to z * additional key ] to show command prompt * mount archives using archivemount * smoother double click handling * program option -R to disable rollover at edges * keybind collision checker (for custom keybind config) (thanks @annagrram) * show size of file in bytes in status bar in disk usage mode * pass unresolved path as second argument ($2) to plugin * mechanism for plugins to control active directory * all binary questions are confirmed by y or Y * plugin changes - some plugins renamed - integrated shellcheck in CI, POSIX-compliance fixes (thanks @koalaman) - getplugs - detect modifications in exiting plugin file (thanks @KlzXS) - drag-file & drop-file: drag & drop files using dragon - gutenread: browse, download and read from Project Gutenberg - suedit - edit file with superuser permissions - fzhist - fuzzy select commands from history, edit and run - fzcd - change to a fuzzy-searched directory - rename - batch rename directory or selection using qmv or vidir - pskill - fuzzy list a process or zombies by name and kill - exetoggle - toggle executable status of hovered file - treeview - informative tree output with file permissions and size - chksum - recursively calculate checksum for files in hovered directory - fzopen renamed to fzopen - imgsxiv instructions added to browse and rename images * create link to current file * additional key ; to execute plugin * more explicit force removal message * force non-detachable internal edits in $EDITOR (option -E) * export current file as $nnn (instead of $NN) * fix file open failure from browser when configured as default FM OBS-URL: https://build.opensuse.org/request/show/753853 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=31
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package nnn
|
|
#
|
|
# Copyright (c) 2019 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: nnn
|
|
Version: 2.8
|
|
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
|