Browse Source

nnn package update

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 3 years ago
parent
commit
28caab6f77
  1. 91
      SPECS/nnn.spec

91
SPECS/nnn.spec

@ -1,5 +1,5 @@
Name: nnn Name: nnn
Version: 2.0 Version: 4.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: The missing terminal file browser for X Summary: The missing terminal file browser for X


@ -12,7 +12,6 @@ BuildRequires: gcc
BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(ncursesw)
BuildRequires: readline-devel BuildRequires: readline-devel



%description %description
nnn is probably the fastest and most resource-sensitive (with all nnn is probably the fastest and most resource-sensitive (with all
its capabilities) file browser you have ever used. It's extremely flexible its capabilities) file browser you have ever used. It's extremely flexible
@ -36,46 +35,102 @@ Cool things you can do with nnn:
- lock the current terminal after a specified idle time - lock the current terminal after a specified idle time
- change directory on exit - change directory on exit




%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -p1 -n %{name}-%{version}


sed -i "s|^install: all|install:|" Makefile sed -i "s|^install: all|install:|" Makefile



%build %build
export CFLAGS="%{optflags}" ### %set_build_flags
export CFLAGS='%{optflags}'
export CXXFLAGS='%{optflags}'
export LDFLAGS='%{optflags}'
%make_build STRIP=/bin/true %make_build STRIP=/bin/true



%install %install
%make_install PREFIX=%{_prefix} %make_install PREFIX=%{_prefix}
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
scripts/auto-completion/bash/nnn-completion.bash misc/auto-completion/bash/nnn-completion.bash
mkdir -p %{buildroot}%{_datadir}/fish/vendor_functions.d mkdir -p %{buildroot}%{_datadir}/fish/vendor_functions.d
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \ install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
scripts/auto-completion/fish/nnn.fish misc/auto-completion/fish/nnn.fish
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \ install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
scripts/auto-completion/zsh/_nnn misc/auto-completion/zsh/_nnn




%files %files
%doc CHANGELOG README.md %doc CHANGELOG README.md
%license LICENSE %license LICENSE
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/nlay
%{_mandir}/man1/%{name}.1.* %{_mandir}/man1/%{name}.1.*
%{_mandir}/man1/nlay.1.* %dir %{_datadir}/bash-completion
%{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions
%{_datadir}/fish %{_datadir}/bash-completion/completions/nnn-completion.bash
%{_datadir}/zsh %dir %{_datadir}/fish/vendor_functions.d

%{_datadir}/fish/vendor_functions.d/nnn.fish
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_nnn


%changelog %changelog
* Sun Jul 25 2021 Robert-André Mauchin <zebob.m@gmail.com> - 4.2-1
- Update to 4.2
- Close: rhbz#1967322

* Mon May 24 2021 Robert-André Mauchin <zebob.m@gmail.com> - 4.0-1
- Update to 4.0
- Close: rhbz#1949285

* Thu Apr 8 2021 Robert-André Mauchin <zebob.m@gmail.com> - 3.6-1
- Update to 3.6
- Close: rhbz#1939311

* Sat Dec 05 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.5-1
- Update to 3.5
- Close: rhbz#1898451

* Wed Aug 05 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.4-1
- Update to 3.4 (#1869730)

* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jul 14 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.3-1
- Update to 3.3 (#1856600)

* Thu Jun 18 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.2-1
- Update to 3.2 (#1823267)

* Mon Feb 17 2020 Robert-André Mauchin <zebob.m@gmail.com> - 3.0-1
- Update to 3.0

* Wed Jan 29 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.9-1
- Release 2.9

* Thu Dec 05 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.8.1-1
- Release 2.8.1

* Mon Oct 07 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.7-1
- Release 2.7

* Thu Aug 08 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.6-1
- Release 2.6

* Mon May 27 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.5-1
- Release 2.5

* Mon Mar 18 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.4-1
- Release 2.4

* Tue Feb 19 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.3-1
- Release 2.3

* Wed Jan 02 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2-1
- Release 2.2

* Fri Nov 23 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.1-1
- Release 2.1

* Fri Oct 19 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.0-1 * Fri Oct 19 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.0-1
- Release 2.0 - Release 2.0



Loading…
Cancel
Save