SHA256
1
0
forked from pool/nnn
nnn/nnn.spec
OBS User mrdocs 777de13c6f Accepting request 527420 from home:avindra
- Create initial package at 1.4
- "ranger" like utility, but written in C and with less features

OBS-URL: https://build.opensuse.org/request/show/527420
OBS-URL: https://build.opensuse.org/package/show/utilities/nnn?expand=0&rev=1
2017-09-23 02:55:38 +00:00

54 lines
1.5 KiB
RPMSpec

#
# spec file for package nnn
#
# Copyright (c) 2017 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: 1.4
Release: 0
Summary: Terminal based file browser
License: GPL-2.0+
Group: Productivity/File utilities
Url: https://github.com/jarun/nnn#nnn
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig
%if 0%{?leap_version} == 420300
BuildRequires: ncurses-devel
%else
BuildRequires: pkgconfig(ncursesw)
%endif
BuildRequires: readline-devel
%description
nnn is a fork of noice, a blazing-fast lightweight terminal file browser with easy keyboard shortcuts for navigation, opening files and running tasks. There is no config file and mime associations are hard-coded.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
%make_install PREFIX=%{_prefix}
%files
%{_bindir}/nnn
%{_bindir}/nlay
%{_mandir}/man1/nnn.1%{?ext_man}
%changelog