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