Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042342
en ru br
ALT Linux repos
S:4.9-alt1

Group :: File tools
RPM: nnn

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%def_enable qsort

Name: nnn
Version: 4.9
Release: alt1

Summary: A full-featured terminal file manager
License: BSD-2-Clause and BSD-3-Clause
Group: File tools

Packager: Andrew A. Vasilyev <andy at altlinux.org>

Url: https://github.com/jarun/nnn
Vcs: https://github.com/jarun/nnn.git
Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses
BuildRequires: libreadline-devel libncurses-devel libncursesw-devel

Requires: icon-theme-hicolor

%description
Nnn (or n^3) is a full-featured terminal file manager.
It's tiny and nearly 0-config with an incredible performance.

%prep
%setup

%build
%make_build %{?_enable_qsort:O_QSORT=1}

%install
%make_install DESTDIR=%buildroot PREFIX=/usr install install-desktop
install -D -m644 misc/auto-completion/bash/nnn-completion.bash \
   %buildroot%_datadir/bash-completion/completions/%name

%files
%doc LICENSE README.md
%_bindir/*
%_man1dir/*
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*
%dir %_datadir/bash-completion
%dir %_datadir/bash-completion/completions
%_datadir/bash-completion/completions/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin