help2man-vl.spec 5.1 KB

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