help2man-vl.spec 5.1 KB

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