]> git.pld-linux.org Git - packages/perl-Lingua-EN-Inflect.git/blame - perl-Lingua-EN-Inflect.spec
use generic url
[packages/perl-Lingua-EN-Inflect.git] / perl-Lingua-EN-Inflect.spec
CommitLineData
0c972c18 1#
2# Conditional build:
835a59aa 3%bcond_without tests # do not perform "make test"
558ceacc 4
c3ea93d3 5%define pdir Lingua
6%define pnam EN-Inflect
558ceacc 7%include /usr/lib/rpm/macros.perl
3d1a4a02 8Summary: Lingua::EN::Inflect - convert singular to plural - select "a" or "an"
6dc0c87e 9Summary(pl.UTF-8): Lingua::EN::Inflect - konwersja liczby pojedynczej na mnogą z wyborem "a" lub "an"
3a01ff08 10Name: perl-Lingua-EN-Inflect
34f416cc 11Version: 1.895
fdc45421 12Release: 1
d2bc07df 13# same as perl
14License: GPL v1+ or Artistic
3a01ff08 15Group: Development/Languages/Perl
19c7ccd7 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
34f416cc 17# Source0-md5: 96ce4517a21800a6e90df1f4cdd515a5
558ceacc 18URL: http://search.cpan.org/dist/Lingua-EN-Inflect/
1fca2cc9 19BuildRequires: perl-devel >= 1:5.8.0
c367fcd2 20BuildRequires: rpm-perlprov >= 4.1-13
f72dd952 21BuildArch: noarch
8dcf71b8 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3a01ff08 23
24%description
3d1a4a02 25The exportable subroutines of Lingua::EN::Inflect provide plural
26inflections, "a"/"an" selection for English words, and manipulation of
27numbers as words
3a01ff08 28
065982f1
JR
29%description -l pl.UTF-8
30Eksportowalne procedury Lingua::EN::Inflect umożliwiają konwersję
31pomiędzy liczbą pojedynczą a mnogą z wyborem "a"/"an" dla wyrazów w
32języku angielskim oraz manipulacje na wielu wyrazach.
3a01ff08 33
34%prep
68fcdb0f 35%setup -q -n %{pdir}-%{pnam}-%{version}
3a01ff08 36
37%build
c367fcd2 38%{__perl} Makefile.PL \
a5f23236 39 INSTALLDIRS=vendor
00015ab7 40%{__make}
835a59aa 41
42%{?with_tests:%{__make} test}
3a01ff08 43
44%install
45rm -rf $RPM_BUILD_ROOT
34f416cc 46install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
3a01ff08 47
506043f9 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
3a01ff08 50
fe1eacbf 51install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Lingua/EN/Inflect
558ceacc 52cp -p demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
fe1eacbf 53
3a01ff08 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
88db33e9 59%doc Changes README
fe1eacbf 60%dir %{perl_vendorlib}/Lingua/EN/Inflect
c367fcd2 61%{perl_vendorlib}/Lingua/EN/Inflect.pm
3a01ff08 62%{_mandir}/man3/*
5558c0e3 63%{_examplesdir}/%{name}-%{version}
This page took 0.080802 seconds and 4 git commands to generate.