]> git.pld-linux.org Git - packages/perl-Encode-HanExtra.git/blame - perl-Encode-HanExtra.spec
- rel.1
[packages/perl-Encode-HanExtra.git] / perl-Encode-HanExtra.spec
CommitLineData
ae3576ed
PG
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Encode
7%define pnam HanExtra
8Summary: Encode::HanExtra - Extra sets of Chinese encodings
9Summary(pl.UTF-8): Encode::HanExtra - Dodatkowe zestawy mapowań chińskich
10Name: perl-Encode-HanExtra
11Version: 0.23
0251cf9a 12Release: 1
ae3576ed
PG
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/Encode/%{pdir}-%{pnam}-%{version}.tar.gz
0251cf9a 17# Source0-md5: e1d3bc32c1c8ee304235a06fbcd5d5a4
ae3576ed
PG
18URL: http://search.cpan.org/dist/Encode-HanExtra/
19BuildRequires: perl(Encode) >= 2.09
20%{?with_tests:BuildRequires: perl-Module-Signature}
21BuildRequires: perl-devel >= 1:5.7.3
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26In the 1950's, the Chinese government simplified over 2000 Chinese
27characters. Taiwan and Hong Kong still use the traditional characters.
28The simplified characters are hard to read if you only know the
29traditional ones, and vice-versa. This module attempts to convert
30Chinese text between the two forms, using character-by-character
31transliteration.
32
33%description -l pl.UTF-8
34W latach 1950-tych rząd chiński uprościł ponad 2000 chińskich
35ideogramów. Tajwan i Hong Kong nadal używają ideogramów tradycyjnych.
36Ideogramy uproszczone są trudne do odczytania dla znających tylko
37tradycyjne i odwrotnie. Moduł próbuje konwertować teksty chińskie
38pomiędzy tymi postaciami stosując transliterację znak po znaku.
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make} \
47 CC="%{__cc}" \
48 OPTIMIZE="%{rpmcflags}"
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes
ae3576ed 64%{perl_vendorarch}/Encode/HanExtra.pm
0251cf9a
PG
65%dir %{perl_vendorarch}/Encode/TW
66%dir %{perl_vendorarch}/Encode/TW/Unisys
67%{perl_vendorarch}/Encode/TW/Unisys/*.pm
ae3576ed
PG
68%dir %{perl_vendorarch}/auto/Encode/HanExtra
69%{perl_vendorarch}/auto/Encode/HanExtra/HanExtra.bs
70%attr(755,root,root) %{perl_vendorarch}/auto/Encode/HanExtra/HanExtra.so
0251cf9a 71%{_mandir}/man3/*.3*
This page took 0.078936 seconds and 4 git commands to generate.