SHA256
1
0
forked from pool/nnn
nnn/nnn.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# 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.
Accepting request 793521 from home:dilawar:branches:utilities - Update to version 3.1 * unlimited bookmarks and plugin keys * status bar text in context color * support config `NO_COLOR` to disable colors * config `NNN_OPTS` to specify binary options to `nnn` * config `NNN_MCLICK` to emulate configurable key * toggle selection on right click * ignore hard links when calculating disk usage * dim (hard/sym) link names (symlink to file has `@`) * more special keys at empty filter prompt in _type-to-nav_ * key <kbd>></kbd> to export file list * option `-F` to show fortune in help and settings screen * option `-T` to specify sort order (obsoletes `-v`) * option to clear sort order * key <kbd>T</kbd> to change time type (access/change/mod) * `.nmv` - internal fully-functional batch renamer plugin * make var `O_NOBATCH` to disable native batch renamer * `nuke` & `imgview` - open all images in directory sxiv * `nuke` - open log files in vi * plugin `x2sel` - system clipboard to selection copier * plugin `fzy` - cd using z database * plugin `fzopen` - support `FZF_DEFAULT_COMMAND` * create new context on TAB without prompt * hover and connect by dir name (within config dir) * move to next entry on current file delete * on single file copy/move, select the copied/moved file * option `-f` to to use readline history file (off by default) * use `s` in status bar to indicate selection in progress * make var `O_NOMOUSE` to disable mouse support * do not store `NNN_TRASH` and `-Q` in config/session * add sample .desktop file for XDG compatible DEs * rename _nav-as-you-type_ to _type-to-nav_ mode * fix PCRE case-insensitive regex search * fix no error msg when filter length limit exceeded * fix static package generation * fix broken abort message when started in du-mode * fix filter lost on context switch in non _type-to-nav_ mode * fix broken readline prompt * fix long strings treated as action keys in filter prompt * fix `NNNLVL` not reset when spawned shell is exited OBS-URL: https://build.opensuse.org/request/show/793521 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=39
2020-04-13 07:58:27 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: nnn
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
Version: 4.1
Release: 0
Summary: Terminal based file browser
Accepting request 735727 from home:dilawar:branches:utilities - Update to 2.7 * plugins for image preview, image and video thumbnails * redesigned selection workflow * drop path prefix for files in current dir for selection based archives * custom direct keybinds for plugins * libreadline `.history` file moved to `nnn` config directory * export current entry as `$NN` at command prompt * more informative status bar in light/detail modes * auto-proceed to next file on single file select * path clipping for long paths * completely revamped wiki * new program options: - `-a` to use file access time throughout the program - `-c` to indicate cli-only opener - `-f` to run filter as command on <kbd>^P</kbd> - `-o` replaces config `NNN_RESTRICT_NAV_OPEN` - `-t` replaces config `NNN_NO_AUTOSELECT` - `-r` replaces config `NNN_OPS_PROG` * plugin changes: - `vidthumb` - show video thumbnails in terminal - `mediainf` - show media info (decoupled as a plugin) - `notes` - open a quick notes file/dir in `$EDITOR` (decoupled as a plugin) - `dups` - list duplicate files in the current directory - `oldbigfile` - list large files by access time - `moclyrics` - show lyrics of the track currently playing in MOC - `uidgid` list uid and gid of files in directory - `mocplay` - now detects if a track is playing or not - `organize` - categorize files and move to respective directories - `pastebin` - now uses ix.io paste service - `fzy-edit` - merged into `fzy-open` - `viuimg` - fix directory view - `checksum` - fixed POSIX compliance issues - `boom` - play music in MOC * keybind changes: - select entry: <kbd>Space</kbd> and <kbd>^J</kbd> - select range (or clear selection): <kbd>m</kbd> and <kbd>^K</kbd> - select all in dir: <kbd>a</kbd> - list selection: <kbd>M</kbd> - <kbd>^N</kbd> replaces <kbd>^T</kbd> to toggle _nav-as-you-type_ - <kbd>Shift TAB</kbd> to reverse context cycle - <kbd>'</kbd> to jump to first file in dir - <kbd>S</kbd> for du, <kbd>A</kbd> for apparent du - additional key <kbd>:</kbd> to run plugin - additional key <kbd>F2</kbd> to rename file - additional key <kbd>F5</kbd> to redraw - quit context key <kbd>Leadq</kbd> is removed * Leader key combinations: - <kbd>Lead'</kbd> to jump to first file in dir - <kbd>Lead]</kbd> go to next active context - <kbd>Lead[</kbd> go to prev active context - <kbd>Lead.</kbd> toggle show hidden files * improved duplicate file workflow * improved batch rename workflow when a selection exists * removed the wild load option (`-w`) * removed quick notes (added plugin `notes`) * fix #225 (thanks @KlzXS) * fix `tar`/`bsdtar` always creating tar archives (and not by suffix) * fix single mouse click to select file not working * fix symlink to dir removed on batch rename * fix detail mode not set with program option `-S` OBS-URL: https://build.opensuse.org/request/show/735727 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=29
2019-10-08 08:24:29 +00:00
License: BSD-2-Clause
Group: Productivity/File utilities
Accepting request 793521 from home:dilawar:branches:utilities - Update to version 3.1 * unlimited bookmarks and plugin keys * status bar text in context color * support config `NO_COLOR` to disable colors * config `NNN_OPTS` to specify binary options to `nnn` * config `NNN_MCLICK` to emulate configurable key * toggle selection on right click * ignore hard links when calculating disk usage * dim (hard/sym) link names (symlink to file has `@`) * more special keys at empty filter prompt in _type-to-nav_ * key <kbd>></kbd> to export file list * option `-F` to show fortune in help and settings screen * option `-T` to specify sort order (obsoletes `-v`) * option to clear sort order * key <kbd>T</kbd> to change time type (access/change/mod) * `.nmv` - internal fully-functional batch renamer plugin * make var `O_NOBATCH` to disable native batch renamer * `nuke` & `imgview` - open all images in directory sxiv * `nuke` - open log files in vi * plugin `x2sel` - system clipboard to selection copier * plugin `fzy` - cd using z database * plugin `fzopen` - support `FZF_DEFAULT_COMMAND` * create new context on TAB without prompt * hover and connect by dir name (within config dir) * move to next entry on current file delete * on single file copy/move, select the copied/moved file * option `-f` to to use readline history file (off by default) * use `s` in status bar to indicate selection in progress * make var `O_NOMOUSE` to disable mouse support * do not store `NNN_TRASH` and `-Q` in config/session * add sample .desktop file for XDG compatible DEs * rename _nav-as-you-type_ to _type-to-nav_ mode * fix PCRE case-insensitive regex search * fix no error msg when filter length limit exceeded * fix static package generation * fix broken abort message when started in du-mode * fix filter lost on context switch in non _type-to-nav_ mode * fix broken readline prompt * fix long strings treated as action keys in filter prompt * fix `NNNLVL` not reset when spawned shell is exited OBS-URL: https://build.opensuse.org/request/show/793521 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=39
2020-04-13 07:58:27 +00:00
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