]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Lexicon.git/blame - perl-Locale-Maketext-Lexicon.spec
- updated to 1.00
[packages/perl-Locale-Maketext-Lexicon.git] / perl-Locale-Maketext-Lexicon.spec
CommitLineData
5bb5e1ed 1#
2# Conditional build:
553f0aa5 3%bcond_without tests # do not perform "make test"
639ae9a7 4
b9100027 5%define pdir Locale
6%define pnam Maketext-Lexicon
639ae9a7 7%include /usr/lib/rpm/macros.perl
1577293b 8Summary: Locale::Maketext::Lexicon - use other catalog formats in Maketext
93e7fc15 9Summary(pl.UTF-8): Locale::Maketext::Lexicon - używanie innych formatów katalogów w Maketext
5bb5e1ed 10Name: perl-Locale-Maketext-Lexicon
4bbf07b7 11Version: 1.00
c6d84980 12Release: 1
9851d16b 13Epoch: 1
01cf01ec 14# same as perl
15License: GPL v1+ or Artistic
5bb5e1ed 16Group: Development/Languages/Perl
929c0acc 17Source0: http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
4bbf07b7 18# Source0-md5: 51acf0cb00cc01a2c8f560d74dd6c593
929c0acc 19URL: http://search.cpan.org/dist/Locale-Maketext-Lexicon/
28e2db8b 20BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
1edeba59 21BuildRequires: perl-devel >= 1:5.8.0
eb309677 22BuildRequires: rpm-perlprov >= 4.1-13
553f0aa5 23%if %{with tests}
639ae9a7 24BuildRequires: perl-Locale-Maketext >= 1.17
5bb5e1ed 25BuildRequires: perl-Regexp-Common
26BuildRequires: perl-Test-Simple
dc8d3f8f 27BuildRequires: perl-Lingua-EN-Sentence >= 0.25
5bb5e1ed 28%endif
dc8d3f8f
JB
29Requires: perl-Locale-Maketext >= 1.17
30Suggests: perl-Lingua-EN-Sentence >= 0.25
5bb5e1ed 31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35This module provides lexicon-handling modules to read from other
36localization formats, such as Gettext, Msgcat, and so on.
37
5b16708e
JR
38%description -l pl.UTF-8
39Ten moduł udostępnia moduły do obsługi słowników, pozwalające czytać z
40innych formatów plików lokalizacyjnych, takich jak Gettext, Msgcat
ea4c5f9e 41itp.
5bb5e1ed 42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
eb309677 47%{__perl} Makefile.PL \
926897ca 48 INSTALLDIRS=vendor
5bb5e1ed 49%{__make}
50
553f0aa5 51%{?with_tests:%{__make} test}
5bb5e1ed 52
53%install
54rm -rf $RPM_BUILD_ROOT
55
58122787 56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
5bb5e1ed 58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
28e2db8b
JB
64%doc AUTHORS Changes README
65%attr(755,root,root) %{_bindir}/xgettext.pl
66%{perl_vendorlib}/Locale/Maketext/Extract.pm
67%{perl_vendorlib}/Locale/Maketext/Extract
68%{perl_vendorlib}/Locale/Maketext/Lexicon.pm
69%{perl_vendorlib}/Locale/Maketext/Lexicon
70%{_mandir}/man1/xgettext.pl.1p*
71%{_mandir}/man3/Locale::Maketext::Extract*.3pm*
72%{_mandir}/man3/Locale::Maketext::Lexicon*.3pm*
This page took 0.04257 seconds and 4 git commands to generate.