My build of nnn with minor changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.8 KiB

  1. %global debug_package %{nil}
  2. Name: nnn
  3. Version: 1.0
  4. Release: 1%{?dist}
  5. Summary: The missing terminal file browser for X
  6. Group: Applications/Engineering
  7. License: GPLv3
  8. URL: https://github.com/jarun/nnn
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRequires: gcc binutils make gzip
  11. BuildRequires: ncurses-devel readline-devel
  12. %description
  13. nnn is a fork of noice, a blazing-fast lightweight terminal file browser with easy keyboard shortcuts for navigation, opening files and running tasks. noice is developed considering terminal based systems. There is no config file and mime associations are hard-coded. However, the incredible user-friendliness and speed make it a perfect utility on modern distros.
  14. nnn can use the default desktop opener at runtime. It also comes with nlay - a customizable bash script to handle media types. It adds new navigation options, enhanced DE integration, a disk usage analyzer mode, comprehensive file details and much more. Add to that a huge performance boost. For a detailed comparison, visit nnn vs. noice.
  15. If you want to edit a file in vim with some soothing music in the background while referring to a spec in your GUI PDF viewer, nnn got it! All from the same terminal session. Follow the instructions in the quickstart section and see how nnn simplifies those long desktop sessions...
  16. %prep
  17. %setup -q
  18. %build
  19. make %{?_smp_mflags}
  20. %install
  21. %{__install} -m755 -d %{buildroot}%{_bindir}
  22. %{__install} -m755 -d %{buildroot}%{_mandir}/man1
  23. %{__install} -m755 nnn %{buildroot}%{_bindir}/nnn
  24. %{__install} -m755 nlay %{buildroot}%{_bindir}/nlay
  25. %{__install} -m644 nnn.1 %{buildroot}%{_mandir}/man1/nnn.1
  26. %files
  27. %{_bindir}/nnn
  28. %{_bindir}/nlay
  29. %{_mandir}/man1/nnn.1.gz
  30. %doc README.md
  31. %doc LICENSE
  32. %doc CHANGELOG
  33. %changelog
  34. * Wed Apr 26 2017 Michael Fenn <michaelfenn87@gmail.com> - 1.0-1
  35. - Initial RPM