SHA256
1
0
forked from pool/nnn
nnn/nnn.spec
Dilawar Singh 729a21d1b3 Accepting request 677588 from home:dilawar:branches:utilities
- update to 2.3
    * user-contributed scripts repository https://github.com/jarun/nnn/tree/master/user-scripts
    * substring search for filters (option -s)
    * version sort (option -n)
    * key N (1 <= N <= 4) to switch to context N
    * disk usage calculation abort with ^C
    * create sym/hard link(s) to files in selection
    * archiving of selection
    * show dir symlinks along with dirs on top
    * use nnn as a file picker with picker.sh
    * fixed CJK character handling at prompts
    * bring back NNN_OPENER to specify file opener
    * env var NNN_NOTE and keybind ^N for quick notes
    * handle multiple arguments in VISUAL/EDITOR
    * show the current directory being scanned in du mode
    * select all files with Y
    * remap key to show command prompt to ^P
    * key , replaces ` as alternative Leader Key
    * keybind for visit pinned directory is now ^B
    * additional key ^V to run or select custom script
    * use libreadline for command prompt
    * reduce delay on Esc press
    * config option to avoid unexpected behaviour on 0-byte file open (see #187)
    * rename config option DISABLE_FILE_OPEN_ON_NAV to NNN_RESTRICT_NAV_OPEN
    * keys removed - $, ^, Backspace, ^H, ^P, ^M, ^W, `

OBS-URL: https://build.opensuse.org/request/show/677588
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=19
2019-02-20 06:06:27 +00:00

57 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 http://bugs.opensuse.org/
#
Name: nnn
Version: 2.3
Release: 0
Summary: Terminal based file browser
License: GPL-2.0-or-later
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
%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