nano-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: nano
  2. Summary: Pico editor clone with enhancements
  3. Version: 5.8
  4. Release: 1%{?_dist_release}
  5. Group: accesories
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv3+ and GFDL
  9. URL: https://www.nano-editor.org/
  10. Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gettext
  13. BuildRequires: ncurses-devel
  14. Requires(post): /sbin/install-info
  15. Requires(preun): /sbin/install-info
  16. %description
  17. GNU nano is a small and friendly text editor. It aims to emulate the
  18. Pico text editor while also offering a few enhancements.
  19. %debug_package
  20. %prep
  21. %setup -q
  22. %build
  23. %configure --enable-all
  24. make
  25. %install
  26. rm -rf %{buildroot}
  27. make DESTDIR="%{buildroot}" install
  28. rm -rf ./rpmdoc
  29. cp -rf %{buildroot}%{_docdir}/%{name} ./rpmdoc
  30. rm -rf %{buildroot}%{_docdir}/%{name}
  31. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  32. %find_lang %{name}
  33. %clean
  34. rm -rf %{buildroot}
  35. %post
  36. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/nano.info.gz
  37. %preun
  38. if [ $1 = 0 ] ;then
  39. /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/nano.info.gz
  40. fi
  41. %files -f %{name}.lang
  42. %defattr(-,root,root)
  43. %license COPYING*
  44. %doc AUTHORS ChangeLog* NEWS README* THANKS TODO
  45. %doc rpmdoc/* doc/sample.nanorc
  46. %{_bindir}/*
  47. %{_mandir}/man*/*
  48. %{_infodir}/nano.info*
  49. %dir %{_datadir}/nano
  50. %{_datadir}/nano/*
  51. %changelog
  52. * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.8-1
  53. - new upstream release.
  54. * Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7-1
  55. - new upstream release.
  56. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.3-1
  57. - new upstream release.
  58. * Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 2.2.6-2
  59. - rebuild with ncurses-6.1
  60. * Sun Dec 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-1
  61. - new upstream release
  62. * Tue Oct 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-1
  63. - new upstream release
  64. * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-1
  65. - new upstream release
  66. * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-1
  67. - new upstream release
  68. - added %post, %preun section
  69. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-1
  70. - Initial build for Vine Linux.