]> git.pld-linux.org Git - packages/perl-Locale-Hebrew.git/blame - perl-Locale-Hebrew.spec
- x32 rebuild
[packages/perl-Locale-Hebrew.git] / perl-Locale-Hebrew.spec
CommitLineData
c7c9b84b
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Locale
7%define pnam Hebrew
8Summary: Locale::Hebrew - Bidirectional Hebrew support
32863970 9Summary(pl.UTF-8): Locale::Hebrew - obsługa języka hebrajskiego z dwukierunkowym pismem
c7c9b84b 10Name: perl-Locale-Hebrew
49532ae4 11Version: 1.05
795af96f 12Release: 5
c7c9b84b
ER
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
49532ae4
JR
16Source0: http://www.cpan.org/modules/by-authors/id/A/AU/AUDREYT/Locale-Hebrew-%{version}.tar.gz
17# Source0-md5: 424209b23bf423f1923f9b24b5ae2179
18Patch0: format-security.patch
c7c9b84b 19URL: http://search.cpan.org/dist/Locale-Hebrew/
d2614592 20%{?with_tests:BuildRequires: perl-Encode}
c7c9b84b
ER
21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module is based on code from the Unicode Consortium.
27
28The charset on their code was bogus, therefore this module had to work
29the real charset from scratch. There might have some mistakes, though.
30
31One function, hebrewflip, is exported by default.
32
9c552d82
JR
33%description -l pl.UTF-8
34Ten moduł jest oparty na kodzie z Unicode Consortium. Zestaw znaków w
35tamtym kodzie był błędny, więc obsługa prawdziwego zestawu znaków
36musiała być napisana od zera. Może jednak zawierać błędy.
2c69c5d4 37
9c552d82 38Domyślnie eksportowana jest jedna funkcja - hebrewflip.
2c69c5d4 39
c7c9b84b
ER
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
49532ae4 42%patch0 -p1
c7c9b84b
ER
43
44%build
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47%{__make} \
0f0fc615 48 CC="%{__cc}" \
c7c9b84b
ER
49 OPTIMIZE="%{rpmcflags}"
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changes README
65%{perl_vendorarch}/Locale/*.pm
66%dir %{perl_vendorarch}/auto/Locale/Hebrew
c7c9b84b
ER
67%{perl_vendorarch}/auto/Locale/Hebrew/autosplit.ix
68%attr(755,root,root) %{perl_vendorarch}/auto/Locale/Hebrew/*.so
69%{_mandir}/man3/*
This page took 1.337474 seconds and 4 git commands to generate.