- Update to version 3.5 * compile-in Alexey Tourbin's QSORT macro * support Nerd Font patched icons [`make O_NERD=1`] * enhance plugin `dups` to delete duplicates interactively * plugin `autojump` now supports `jump` and `zoxide` * support `gio trash` to Trash [`export NNN_TRASH=2`] (#740) * quit program on double <kbd>Esc</kbd> in normal mode (#775) * <kbd>^Space</kbd> replaces <kbd>^K</kbd> for range selection/clear selection * show selection symbol (`+`) next to filename in detail mode (#741) * error & quit on <kbd>Q</kbd> if no selection, else pick to stdout * repeat <kbd>^T</kbd> to cycle sort by time, size and clear * option `-U` to show user & group info in status bar * option `-J` to disable auto-proceed on select (#713) * option `-D` to show dirs in context color with `NNN_FCOLORS` * honor option `-C` for context colors * show indicators if more entries above/below listing (#744) * show missing utility name in flash msg (#753) * exit `preview-tabbed` on <kbd>^C</kbd> (#727) * fix HW cursor moves to wrong line (#735) * fix rollover bug with multiline scroll (#743) * fix input stream not listed with `-s`/`-S` (#777) * fix locker not being invoked * make target `upx` for additional binary compression * compress auto-generated static binaries with upx * make variable `O_NOSSN` to compile out sessions * make variable `O_NOUG` to compile out user & group info OBS-URL: https://build.opensuse.org/request/show/848994 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=47
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.5
|
|
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
|