nnn/nnn.spec
Dilawar Singh b9d9eb1965 Accepting request 774760 from home:dilawar:branches:openSUSE:Factory
- Update to version 3.0
    * take list of files as input and show
    * option `-e` replaces `NNN_USE_EDITOR`
    * option `-t` replaces `NNN_IDLE_TIMEOUT`
    * PCRE support
    * more readline bindings for native prompts
    * run GUI app as plugin
    * attempt lazy unmount when regular unmount fails
    * fix unmount on macOS: use `umount`
    * detect `sshfs` and `rclone` to prompt intelligently
    * auto-proceed on file open (toggle key <kbd>+</kbd>)
    * quit with error code on <kbd>Q</kbd>
    * additional key <kbd>F5</kbd> to toggle hidden
    * key 'e' to edit in EDITOR (back on multiple user requests)
    * option to edit list of files in selection is changed to 'E'
    * do not end selection on redraw
    * `nuke`: [`glow`](https://github.com/charmbracelet/glow) as Markdown viewer
    * `nuke`: refactor, handle some common video types by extension
    * file name removed from status bar
    * static Makefile target
    * generate, upload static package on release
    * fix crash on entering empty dir, then Down
    * fix keypresses lost when showing message
    * fix #227: `nnn` creates xdg-open zombies

OBS-URL: https://build.opensuse.org/request/show/774760
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=37
2020-02-17 05:30:10 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package nnn
#
# Copyright (c) 2020 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: 3.0
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