]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Lexicon.git/blob - perl-Locale-Maketext-Lexicon.spec
- up to 0.75
[packages/perl-Locale-Maketext-Lexicon.git] / perl-Locale-Maketext-Lexicon.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    Maketext-Lexicon
8 Summary:        Locale::Maketext::Lexicon - use other catalog formats in Maketext
9 Summary(pl.UTF-8):      Locale::Maketext::Lexicon - używanie innych formatów katalogów w Maketext
10 Name:           perl-Locale-Maketext-Lexicon
11 Version:        0.75
12 Release:        1
13 Epoch:          1
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  be8b0c0a8af4fe2235c999c3c76e02b6
19 URL:            http://search.cpan.org/dist/Locale-Maketext-Lexicon/
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 %if %{with tests}
23 BuildRequires:  perl-Locale-Maketext
24 BuildRequires:  perl-Regexp-Common
25 BuildRequires:  perl-Test-Simple
26 # to resolve dependency package name only:
27 BuildRequires:  perl-Lingua-EN-Sentence
28 %endif
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This module provides lexicon-handling modules to read from other
34 localization formats, such as Gettext, Msgcat, and so on.
35
36 %description -l pl.UTF-8
37 Ten moduł udostępnia moduły do obsługi słowników, pozwalające czytać z
38 innych formatów plików lokalizacyjnych, takich jak Gettext, Msgcat
39 itp.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS Change* README
63 %{perl_vendorlib}/%{pdir}/Maketext/*.pm
64 %{perl_vendorlib}/%{pdir}/Maketext/Lexicon
65 %{perl_vendorlib}/%{pdir}/Maketext/Extract
66 %{_bindir}/*
67 %{_mandir}/man?/*
This page took 0.180456 seconds and 3 git commands to generate.