3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
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
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
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
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This module provides lexicon-handling modules to read from other
34 localization formats, such as Gettext, Msgcat, and so on.
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
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
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