nnn/nnn.spec
Dilawar Singh fdc34580ab Accepting request 827644 from home:dilawar:branches:utilities
- Update to version 3.4
    * icons with icon-specific colors (thanks @KlzXS)
    * enhanced `NNN_COLORS` with xterm 256 colors support
    * new colorscheme with `NNN_FCOLORS` (file type specific colors)
    * switch `-C` to force earlier colorscheme (dirs follow context color)
    * updates for Haiku (thanks @CodeforEvolution)
    * fix XFS navigation issue (thanks @ucs1)
    * optimize archive extension matching on file open
    * show location in context color
    * support `host[:dir]` format for remote mounts
    * clear selection after copy
    * support traversal on file/dir creation
    * show selection in reverse in status bar
    * show status bar indicator `H` when hidden files are listed
    * show and confirm archive command output
    * support _cd on quit_ in picker mode

OBS-URL: https://build.opensuse.org/request/show/827644
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=45
2020-08-18 16:15:54 +00:00

58 lines
1.6 KiB
RPMSpec

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