po4a-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: po4a
  2. Version: 0.44
  3. Release: 2%{?_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. BuildRequires: libxslt
  24. %description
  25. The po4a (PO for anything) project goal is to ease translations (and
  26. more interestingly, the maintenance of translations) using gettext
  27. tools on areas where they were not expected like documentation.
  28. In po4a each documentation format is handled by a module. For now, we have a
  29. module for the POD format (in which the perl documentation is written), the
  30. good old man pages, and the documentation of the kernel compilation options.
  31. Some other modules are underway, like for sgml, xml or texinfo.
  32. %description -l ja
  33. po4a (PO for anything) プロジェクトは、gettext ツールが想定していないドキュ
  34. メントのような領域で翻訳をしやすくすること (またより興味深いのは、翻訳文の保
  35. 守がしやすくなること) を目標にしています。
  36. po4aでは、それぞれのドキュメント形式をモジュールによって扱います。現在のところ、
  37. POD形式(perlドキュメンテーション形式で書かれている)、古き良き man ページ、
  38. およびカーネルコンパイルオプションに対応したモジュールを有しています。
  39. 他に sgml、xml や textinfo に対応したモジュールの開発も進められています。
  40. %prep
  41. %setup -q
  42. %build
  43. %{__perl} ./Build.PL installdirs=vendor
  44. ./Build
  45. %install
  46. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  47. %find_lang %{name}
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %check
  51. ./Build test
  52. %files -f %{name}.lang
  53. %defattr(-,root,root)
  54. %doc README* COPYING TODO
  55. %{_bindir}/po4a*
  56. %{_bindir}/msguntypot
  57. %{perl_vendorlib}/Locale
  58. %{_mandir}/man1/po4a*.1*
  59. %{_mandir}/man1/msguntypot.1*
  60. %{_mandir}/man3/Locale::Po4a::*.3*
  61. %{_mandir}/man7/po4a.7*
  62. %{_mandir}/*/man1/po4a*.1*
  63. %{_mandir}/*/man1/msguntypot.1*
  64. %{_mandir}/*/man3/Locale::Po4a::*.3*
  65. %{_mandir}/*/man5/po4a-build.conf*.5*
  66. %{_mandir}/*/man7/po4a.7*
  67. %{_mandir}/*/man7/po4a-runtime.7*
  68. %changelog
  69. * Sun Jul 13 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.44-2
  70. - rebuild with perl-5.16.3
  71. * Sat Mar 09 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.44-1
  72. - new upstream release
  73. * Tue Mar 29 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.41-1
  74. - Initial build for Vine.