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