3 %bcond_without tests # do not perform "make test"
6 %define pnam EN-Numbers-Ordinate
7 Summary: Lingua::EN::Numbers::Ordinate - go from cardinal number (3) to ordinal ("3rd")
8 Summary(pl.UTF-8): Lingua::EN::Numbers::Ordinate - zamiana liczebników głównych (3) na porządkowe (3rd)
9 Name: perl-Lingua-EN-Numbers-Ordinate
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: e92078fafd9108a137972c4e9bae9e99
17 URL: http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 There are two kinds of numbers in English - cardinals (1, 2, 3...),
25 and ordinals (1st, 2nd, 3rd...). This library provides functions for
26 giving the ordinal form of a number, given its cardinal value.
28 %description -l pl.UTF-8
29 W języku angielskim są dwa rodzaje liczebników - główne (cardinals: 1,
30 2, 3...) oraz porządkowe (ordinals: 1st, 2nd, 3rd...). Ta biblioteka
31 udostępnia funkcje do uzyskiwania formy porządkowej z formy głównej.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %dir %{perl_vendorlib}/Lingua/EN/Numbers
56 %{perl_vendorlib}/Lingua/EN/Numbers/Ordinate.pm