nnn/nnn.spec
Dilawar Singh 2847d34609 Accepting request 821079 from home:dilawar:branches:utilities
- Update to version 3.3
    * subdir `mounts` for remote and archive mounts
    * remove mount point on successful unmount of remote/archive
    * show error and prompt user if `cp`/`mv`/`rm` operation fails
    * support absolute/relative paths in cp/mv as
    * mark current path automatically on archive/remote mount
    * mark current path automatically on target file visit in _find and list_ mode
    * option `-C` to place HW cursor on hovered for screen readers and braille displays
    * option `-u` to use selection (if available) and skip `current/sel` prompt
    * key <kbd>Alt+Esc</kbd> to clear filter prompt and redraw
    * support <kbd>Esc</kbd> to cancel remove operation
    * `gpge` & `gpgd`: encrypt and decrypt with GPG
    * `blknew`: create new files and directories in bulk
    * `preview-tui`
      - unified to support `tmux`/`kitty`/`xterm`/`$TERMINAL`
      - auto-determine split orientation based on terminal height and width
      - provision to use [`scope.sh`](https://github.com/ranger/ranger/blob/master/ranger/data/scope.sh) and [`pistol`](https://github.com/doronbehar/pistol)
    * various other improvements
    * `upload`: send to Firefox Send if [`ffsend`](https://github.com/timvisee/ffsend) is found
    * `hexview`: add [`hx`](https://github.com/krpors/hx) as alternative hex viewer
    * `nuke` and `imgview`: add [`imv`](https://github.com/eXeC64/imv) as alternative image viewer
    * add find (with `fd`) and grep (with `rg`) examples in plugins doc
    * key <kbd>Esc</kbd> or left click to resend hovered file path to `NNN_FIFO`
    * show `+` instead of `s` in status bar on selection
    * <kbd>F5</kbd> removed (misfit for toggle hidden), <kbd>^S</kbd> removed (often masked, redundant)
    * handle abnormal program termination and remove NNN_PIPE and/or NNN_FIFO
    * clear selection after successful batch rename, link creation
    * make option `O_CTX8` for 8 contexts (NOT backward compatible with 4 contexts)
    * fix issue with child window resize (see #656)
    * fix issue with `NNNLVL` on macOS (see #639)
    * fix issue with restoring session with du/au enabled

OBS-URL: https://build.opensuse.org/request/show/821079
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=43
2020-07-15 11:25:31 +00:00

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.3
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