po4a-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: po4a
  2. Version: 0.41
  3. Release: 1%{?_dist_release}
  4. License: GPL
  5. Group: Development/Tools
  6. URL: http://po4a.alioth.debian.org/
  7. Source: https://alioth.debian.org/frs/download.php/3472/%{name}-%{version}.tar.gz
  8. Buildroot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: po4a extracts the translatable material from its input in a PO file.
  13. Summary(ja): po4a は、入力ファイルから翻訳できる素材を抽出し、PO ファイルを作成します。
  14. BuildArch: noarch
  15. Requires: perl
  16. Requires: perl-Text-WrapI18N
  17. BuildRequires: perl
  18. BuildRequires: perl-Text-WrapI18N
  19. BuildRequires: perl-TermReadKey
  20. BuildRequires: perl-SGMLSpm
  21. BuildRequires: texlive
  22. BuildRequires: docbook-style-xsl
  23. %description
  24. The po4a (PO for anything) project goal is to ease translations (and
  25. more interestingly, the maintenance of translations) using gettext
  26. tools on areas where they were not expected like documentation.
  27. In po4a each documentation format is handled by a module. For now, we have a
  28. module for the POD format (in which the perl documentation is written), the
  29. good old man pages, and the documentation of the kernel compilation options.
  30. Some other modules are underway, like for sgml, xml or texinfo.
  31. %description -l ja
  32. po4a (PO for anything) プロジェクトは、gettext ツールが想定していないドキュ
  33. メントのような領域で翻訳をしやすくすること (またより興味深いのは、翻訳文の保
  34. 守がしやすくなること) を目標にしています。
  35. po4aでは、それぞれのドキュメント形式をモジュールによって扱います。現在のところ、
  36. POD形式(perlドキュメンテーション形式で書かれている)、古き良き man ページ、
  37. およびカーネルコンパイルオプションに対応したモジュールを有しています。
  38. 他に sgml、xml や textinfo に対応したモジュールの開発も進められています。
  39. %prep
  40. %setup -q
  41. %build
  42. %{__perl} ./Build.PL installdirs=vendor
  43. ./Build
  44. %install
  45. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  46. %find_lang %{name}
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %check
  50. ./Build test
  51. %files -f %{name}.lang
  52. %defattr(-,root,root)
  53. %doc README* COPYING TODO
  54. %{_bindir}/po4a*
  55. %{_bindir}/msguntypot
  56. %{perl_vendorlib}/Locale
  57. %{_mandir}/man1/po4a*.1*
  58. %{_mandir}/man1/msguntypot.1*
  59. %{_mandir}/man3/Locale::Po4a::*.3*
  60. %{_mandir}/man5/po4a-build.conf*.5*
  61. %{_mandir}/man7/po4a-runtime.7*
  62. %{_mandir}/man7/po4a.7*
  63. %{_mandir}/*/man1/po4a*.1*
  64. %{_mandir}/*/man1/msguntypot.1*
  65. %{_mandir}/*/man3/Locale::Po4a::*.3*
  66. %{_mandir}/*/man5/po4a-build.conf.5*
  67. %{_mandir}/*/man7/po4a.7*
  68. %{_mandir}/*/man7/po4a-runtime.7*
  69. %changelog
  70. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.41-1
  71. - Initial build for Vine.