help2man-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. Name: help2man
  2. Summary: Create simple man pages from --help output
  3. Summary(ja): --help の出力から簡単なマニュアルページを生成するツール
  4. Version: 1.48.5
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: daisuke, yasumichi
  10. License: GPLv2+
  11. URL: https://www.gnu.org/software/help2man/
  12. Source: https://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. Requires: /sbin/install-info
  15. Requires: perl-gettext
  16. BuildRequires: perl-gettext
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. help2man is a script to create simple man pages from the --help and
  20. --version output of programs.
  21. Since most GNU documentation is now in info format, this provides a
  22. way to generate a placeholder man page pointing to that resource while
  23. still providing some useful information.
  24. %description -l ja
  25. help2man は、プログラムの --help および --version オプションの出力から
  26. 簡単なマニュアルページを生成するスクリプトです。
  27. ほとんどの GNU 文書は現在 info 形式であるため、有益な情報が info で提供
  28. されていることを指し示すセクションをマニュアルページに生成する方法も
  29. 提供しています。
  30. %debug_package
  31. %prep
  32. %setup -q -n help2man-%{version}
  33. iconv -f ISO-8859-1 -t utf-8 THANKS > THANKS~
  34. mv THANKS~ THANKS
  35. %build
  36. %configure
  37. make %{?_smp_mflags}
  38. # Fix up manpage encoding
  39. #for f in help2man.*.h2m; do
  40. # b=$(basename $f .h2m);
  41. # c=$(grep 'charset: ISO-*' $f | sed -e 's,^.*: ,,')
  42. # iconv -f $c -t UTF-8 -o $b.1~ $b.1
  43. # mv $b.1~ $b.1
  44. #done
  45. %install
  46. rm -fr $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. make install_l10n DESTDIR=$RPM_BUILD_ROOT
  49. %find_lang %{name}
  50. %clean
  51. rm -fr $RPM_BUILD_ROOT
  52. %files -f %{name}.lang
  53. %defattr(-, root, root,-)
  54. %license COPYING
  55. %doc README NEWS THANKS
  56. %{_bindir}/help2man
  57. %{_infodir}/*
  58. %{_mandir}/man1/*
  59. %{_libdir}/help2man
  60. %lang(da) %{_mandir}/da/man1/*
  61. %lang(de) %{_mandir}/de/man1/*
  62. %lang(el) %{_mandir}/el/man1/*
  63. %lang(eo) %{_mandir}/eo/man1/*
  64. %lang(es) %{_mandir}/es/man1/*
  65. %lang(fi) %{_mandir}/fi/man1/*
  66. %lang(fr) %{_mandir}/fr/man1/*
  67. %lang(hr) %{_mandir}/hr/man1/*
  68. %lang(hu) %{_mandir}/hu/man1/*
  69. %lang(it) %{_mandir}/it/man1/*
  70. %lang(ja) %{_mandir}/ja/man1/*
  71. %lang(nb) %{_mandir}/nb/man1/*
  72. %lang(pl) %{_mandir}/pl/man1/*
  73. %lang(pt_BR) %{_mandir}/pt_BR/man1/*
  74. %lang(ru) %{_mandir}/ru/man1/*
  75. %lang(sr) %{_mandir}/sr/man1/*
  76. %lang(sv) %{_mandir}/sv/man1/*
  77. %lang(ta) %{_mandir}/ta/man1/*
  78. %lang(uk) %{_mandir}/uk/man1/*
  79. %lang(vi) %{_mandir}/vi/man1/*
  80. %lang(zh_CN) %{_mandir}/zh_CN/man1/*
  81. %changelog
  82. * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.5-1
  83. - new upstream release.
  84. - dropped install-info scriptlets.
  85. * Sat Aug 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.4-1
  86. - new upstream release.
  87. * Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.3-1
  88. - new upstream release.
  89. * Tue Feb 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.1-1
  90. - new upstream release.
  91. * Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.47.10-1
  92. - new upstream release.
  93. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43.2-2
  94. - rebuild with VineSeed environment
  95. * Fri Jun 07 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.43.2-1
  96. - new upstream release.
  97. * Tue May 31 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.40.1-1
  98. - new upstream release.(include Japanese locale)
  99. - delete Patch0. (fixed upstream)
  100. - translate description.
  101. * Fri May 06 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-3
  102. - add Patch0. (use gettext for format of strftime.)
  103. - update translation.
  104. * Tue May 03 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-3
  105. - update translation.(Fixed [JM:00259])
  106. * Wed Apr 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-2
  107. - update translation.(Fixed [VineSeed:23244])
  108. * Wed Apr 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-1
  109. - new upstream release.
  110. - add languages(de, el, eo, it, pt_BR, ru, uk, vi)
  111. - add Japanese translation.
  112. - stop to change encoding of manpages.
  113. - enable nls.
  114. - add Vendor, Distribution and Packager tag.
  115. * Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 1.36.4-2
  116. - rebuilt with new environment
  117. * Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.36.4-1
  118. - initial build for Vine Linux
  119. * Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-2
  120. - Update license tag.
  121. - Convert THANKS to utf-8.
  122. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-1
  123. - Upstream update.
  124. - utf-8 encode l10n'd man pages.
  125. * Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
  126. - Upstream update.
  127. - Add build option --with nls.
  128. * Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.35.1-2
  129. - Fix disttag (#176473).
  130. - Cleanup spec.
  131. * Fri Apr 29 2005 Ralf Corsepius <ralf[AT]links2linux.de> - 1.35.1-1
  132. - Update to 1.35.1
  133. - Minor spec fixes.