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