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