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