- Update to 2.4 * Tinier and lighter! * FreeDesktop.org compliant trashing * mark selected entries with + * wild mode (option -w, key ^W) for nav-as-you-type * POSIX-compliant GUI app launcher with drop-down menu (key =) * new scripts: - upload image to imgur - send selection to Android using kdeconnect-cli * show permissions in detail mode * cp, mv progress bar on Linux (needs advcpmv) [BSD, macOS shows on ^T] * make libreadline an optional dep (reduces memory usage) * minimize the number of redraws * handle screen resize gracefully * option -d to show hidden files (NNN_SHOW_HIDDEN is removed) * additional key K to toggle selection * change visit start dir key to @ * option -C to disable colors removed * per-context initial directory replaced by program start dir * marker msg when spawning new shell removed * rename debug file to nnndbg OBS-URL: https://build.opensuse.org/request/show/686256 OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=21
57 lines
1.6 KiB
RPMSpec
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.4
|
|
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}-v%{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 -n nnn
|
|
|
|
%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
|