nnn/nnn.spec
Dilawar Singh b5b02ac3a7 Accepting request 884925 from home:dilawar:branches:utilities
- No renaming of source file after download from source0.
- Update to version 3.7
    * allow plugins to clear selection (#884, #889, #917)
    * do not clear selection on hovered file deletion
    * resurrect `'c'urrent/'s'el` prompt and option `-u` (#889)
    * show only file name in reverse in detail mode
    * more file/mime types supported in `preview-tui-ext`
    * plugin `mtpmount` - (un)mount MTP devices
    * plugin `cleanfilename` - more shell-friendly file names
    * plugin `rsynccp` - copy-paste with visual progress
    * replace `$HOME` by `~` in address bar
    * show current path in terminal title (#911)
    * total links and inode number of hardlink in statusbar
    * fix symlink to text file not opening in CLI editor (#890)
    * fix symlink size shown as 0B in statusbar (#888)
    * show symlink target in statusbar (#893)
    * show correct disk free/total on macOS (#888)
    * fix directory disk usage showing as 0 on macOS (#941)
    * fix name col len with `-C` and icons compiled-in (#936)
    * refactor printing entries in light/detail modes (#934)
    * make option `O_CKBOARD` for checker board as indicator

OBS-URL: https://build.opensuse.org/request/show/884925
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=51
2021-04-13 11:37:17 +00:00

58 lines
1.6 KiB
RPMSpec

#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: nnn
Version: 3.7
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#/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