commit 777de13c6fc657fe4da31b7d46b9b3004eb03186ac93bf31f7e926b09c15dd00 Author: OBS User mrdocs Date: Sat Sep 23 02:55:38 2017 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..34f6be0 --- /dev/null +++ b/_service @@ -0,0 +1,8 @@ + + + https + github.com + jarun/nnn/archive/v1.4.tar.gz + nnn-1.4.tar.gz + + diff --git a/nnn-1.4.tar.gz b/nnn-1.4.tar.gz new file mode 100644 index 0000000..d61cebf --- /dev/null +++ b/nnn-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1170864c26e55d89034d555572484950998fa6d99784237d76cd4e3bf45aed8 +size 34406 diff --git a/nnn.changes b/nnn.changes new file mode 100644 index 0000000..faccb01 --- /dev/null +++ b/nnn.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Sep 11 16:47:56 UTC 2017 - aavindraa@gmail.com + +- Create initial package at 1.4 diff --git a/nnn.spec b/nnn.spec new file mode 100644 index 0000000..cdaf57e --- /dev/null +++ b/nnn.spec @@ -0,0 +1,53 @@ +# +# 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