]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Lexicon.git/blame - perl-Locale-Maketext-Lexicon.spec
- up to 0.65
[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"
95ceda36 4#
5bb5e1ed 5%include /usr/lib/rpm/macros.perl
b9100027 6%define pdir Locale
7%define pnam Maketext-Lexicon
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
4df3ee33 11Version: 0.65
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
4df3ee33 18# Source0-md5: da3736019bce709b1e1c5e634e113125
929c0acc 19URL: http://search.cpan.org/dist/Locale-Maketext-Lexicon/
1edeba59 20BuildRequires: perl-devel >= 1:5.8.0
eb309677 21BuildRequires: rpm-perlprov >= 4.1-13
553f0aa5 22%if %{with tests}
5bb5e1ed 23BuildRequires: perl-Locale-Maketext
24BuildRequires: perl-Regexp-Common
25BuildRequires: perl-Test-Simple
c83f2482 26# to resolve dependency package name only:
27BuildRequires: perl-Lingua-EN-Sentence
5bb5e1ed 28%endif
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33This module provides lexicon-handling modules to read from other
34localization formats, such as Gettext, Msgcat, and so on.
35
5b16708e
JR
36%description -l pl.UTF-8
37Ten moduł udostępnia moduły do obsługi słowników, pozwalające czytać z
38innych formatów plików lokalizacyjnych, takich jak Gettext, Msgcat
ea4c5f9e 39itp.
5bb5e1ed 40
41%prep
42%setup -q -n %{pdir}-%{pnam}-%{version}
43
44%build
eb309677 45%{__perl} Makefile.PL \
926897ca 46 INSTALLDIRS=vendor
5bb5e1ed 47%{__make}
48
553f0aa5 49%{?with_tests:%{__make} test}
5bb5e1ed 50
51%install
52rm -rf $RPM_BUILD_ROOT
53
58122787 54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
5bb5e1ed 56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc AUTHORS Change* README SIGNATURE
bf916117
AM
63%{perl_vendorlib}/%{pdir}/Maketext/*.pm
64%{perl_vendorlib}/%{pdir}/Maketext/Lexicon
dc70b645 65%{perl_vendorlib}/%{pdir}/Maketext/Extract
5bb5e1ed 66%{_bindir}/*
67%{_mandir}/man?/*
This page took 0.06574 seconds and 4 git commands to generate.