nano-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: nano
  2. Summary: Pico editor clone with enhancements
  3. Version: 2.2.6
  4. Release: 2%{?_dist_release}
  5. Group: Applications/Editors
  6. License: GPLv3+ and GFDL
  7. URL: http://www.nano-editor.org/
  8. Source0: http://www.nano-editor.org/dist/v2.2/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gettext
  11. BuildRequires: ncurses-devel
  12. Requires(post): /sbin/install-info
  13. Requires(preun): /sbin/install-info
  14. %description
  15. GNU nano is a small and friendly text editor. It aims to emulate the
  16. Pico text editor while also offering a few enhancements.
  17. %prep
  18. %setup -q
  19. %build
  20. %configure --enable-all
  21. make
  22. %install
  23. rm -rf %{buildroot}
  24. make DESTDIR="%{buildroot}" install
  25. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  26. %clean
  27. rm -rf %{buildroot}
  28. %post
  29. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/nano.info.gz
  30. %preun
  31. if [ $1 = 0 ] ;then
  32. /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/nano.info.gz
  33. fi
  34. %files
  35. %defattr(-,root,root)
  36. %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
  37. %doc doc/faq.html doc/nanorc.sample
  38. %{_bindir}/*
  39. %{_mandir}/man*/*
  40. %{_mandir}/fr/man*/*
  41. %{_infodir}/nano.info*
  42. %{_datadir}/locale/*/LC_MESSAGES/nano.mo
  43. %{_datadir}/nano/*
  44. %changelog
  45. * Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 2.2.6-2
  46. - rebuild with ncurses-6.1
  47. * Sun Dec 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-1
  48. - new upstream release
  49. * Tue Oct 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-1
  50. - new upstream release
  51. * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-1
  52. - new upstream release
  53. * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-1
  54. - new upstream release
  55. - added %post, %preun section
  56. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-1
  57. - Initial build for Vine Linux.