source: projects/specs/trunk/p/po4a/po4a-vl.spec @ 3196

Revision 3196, 2.8 KB checked in by yasumichi, 13 years ago (diff)

%{_distrelease} -> %{_dist_release}

Line 
1Name:           po4a
2Version:        0.41
3Release:        1%{?_dist_release}
4License:        GPL
5Group:          Development/Tools
6URL:            http://po4a.alioth.debian.org/
7Source:         https://alioth.debian.org/frs/download.php/3472/%{name}-%{version}.tar.gz
8Buildroot:      %{_tmppath}/%{name}-%{version}-root
9
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14Summary:        po4a extracts the translatable material from its input in a PO file.
15Summary(ja):    po4a は、入力ファイルから翻訳できる素材を抽出し、PO ファイルを作成します。
16
17BuildArch:      noarch
18Requires:       perl
19Requires:       perl-Text-WrapI18N
20BuildRequires:  perl
21BuildRequires:  perl-Text-WrapI18N
22BuildRequires:  perl-TermReadKey
23BuildRequires:  perl-SGMLSpm
24BuildRequires:  texlive
25BuildRequires:  docbook-style-xsl
26
27%description
28The po4a (PO for anything) project goal is to ease translations (and
29more interestingly, the maintenance of translations) using gettext
30tools on areas where they were not expected like documentation.
31
32In po4a each documentation format is handled by a module. For now, we have a
33module for the POD format (in which the perl documentation is written), the
34good old man pages, and the documentation of the kernel compilation options.
35Some other modules are underway, like for sgml, xml or texinfo.
36
37%description -l ja
38po4a (PO for anything) プロジェクトは、gettext ツールが想定していないドキュ
39メントのような領域で翻訳をしやすくすること (またより興味深いのは、翻訳文の保
40守がしやすくなること) を目標にしています。
41
42po4aでは、それぞれのドキュメント形式をモジュールによって扱います。現在のところ、
43POD形式(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
Note: See TracBrowser for help on using the repository browser.