SHA256
1
0
forked from pool/nnn
nnn/nnn.spec
Dilawar Singh 29d4da5882 Accepting request 896831 from home:dilawar:branches:utilities
- Update to version 4.1 (Sake)
    * a patch management model for approved patches
    * multi-threaded disk usage calculation using pthreads and FTS
    * dynamic view update when calculating disk usage
    * <kbd>Bksp</kbd>/<kbd>Del</kbd> at empty filter prompt to refresh dir
    * Try to create new context with <kbd>Shift-TAB</kbd>, else reverse cycle
    * <kbd>Alt+Esc</kbd> to quit context from filter prompt
    * fix zombies left behind after running plugins (#999)
    * named persistent sessions (mcchrish/nnn.vim#43)
    * consider nanosecond resolution when sorting by time (#978)
    * check external selection in `'c'urrent / 's'el` prompt (#976)
    * show number of files selected in local selection buffer, if any
    * `nnn` & picker plugin (e.g. `fzopen`) sync (mcchrish/nnn.vim#82)
    * make batch rename interactive (#971)
    * cached uid/gid for performance improvement
    * fixes for `nnn` with `netbsd-curses`, `musl-fts`, `musl` (#998)
    * script to statically compile `nnn` with `musl gcc` on Ubuntu
    * restore hovered file when plugin is chosen from plugin dir
    * support QuickLook on WSL in `preview-tui` (#959)
    * toggle `preview-tui` with the same _custom_ plugin key
    * smoother preview toggling in `preview-tui` (#966)
    * `listen_on` should be set in kitty.conf for `preview-tui` (#970)
    * minimal `bat` style in `preview-tui`, honors `$BAT_STYLE`
    * plugin `preview-tui-ext` supersedes `preview-tui` (#1033)
    * plugin `fzcd` can now fuzzy search multiple directories
    * plugin `imgview` supersedes `imgthumb` and `vidthumb`
    * plugin `umounttree`: unmount remote mntpoint from within
    * plugin `xdgdefault`: set the default app for hovered file type
    * plugin `fzplug`: fuzzy find, preview and run other plugins
    * plugin `cmusq`: queue/play music in `cmus`
    * plugin `mocplay` renamed to `mocq`
    * plugin `cleanfilename` renamed to `fixname`
    * go to last dir on <kbd>~</kbd> (HOME) or <kbd>`</kbd> (ROOT) key repeat
    * ambiguous key <kbd>^Space</kbd> to select/clear range dropped (#998)
    * user wiki page for [Themes](https://github.com/jarun/nnn/wiki/Themes)
    * show selection mark (`+`) in reverse bold for improved visibility
    * reverse block replaces `>` to mark hovered entry in detail mode
    * make option `O_CKBOARD` removed
    * make option `O_NOLOC` renamed to `O_NOLC`
    * ignore `O_NOLC` if `O_ICONS` or `O_NERD` is specified (#1026)
    * unicode arrow indicators if `O_ICONS` or `O_NERD` is specified
    * make option `NOX11`: disable notis, sel-clipboard sync, xterm title
    * retain filter in _nav-to-type_ mode after file open
    * fix no files picked with `NNN_TMPFILE` exported and <kbd>q</kbd> to quit
    * disable xterm title setting in picker mode (#974)

OBS-URL: https://build.opensuse.org/request/show/896831
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=55
2021-06-02 06:57:00 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package nnn
#
# Copyright (c) 2021 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: 4.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#/v%{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