]> git.pld-linux.org Git - packages/perl-Locale-Hebrew.git/blob - perl-Locale-Hebrew.spec
- new
[packages/perl-Locale-Hebrew.git] / perl-Locale-Hebrew.spec
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
8 Summary:        Locale::Hebrew - Bidirectional Hebrew support
9 Name:           perl-Locale-Hebrew
10 Version:        1.04
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Hebrew-%{version}.tar.gz
16 # Source0-md5:  5b1c08e039886c0319a0c4ece6209064
17 URL:            http://search.cpan.org/dist/Locale-Hebrew/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module is based on code from the Unicode Consortium.
24
25 The charset on their code was bogus, therefore this module had to work
26 the real charset from scratch. There might have some mistakes, though.
27
28 One function, hebrewflip, is exported by default.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make} \
37         OPTIMIZE="%{rpmcflags}"
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorarch}/Locale/*.pm
54 %dir %{perl_vendorarch}/auto/Locale/Hebrew
55 %{perl_vendorarch}/auto/Locale/Hebrew/*.bs
56 %{perl_vendorarch}/auto/Locale/Hebrew/autosplit.ix
57 %attr(755,root,root) %{perl_vendorarch}/auto/Locale/Hebrew/*.so
58 %{_mandir}/man3/*
This page took 0.070979 seconds and 3 git commands to generate.