Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Lingua-EN-Numbers
perl-Lingua-EN-Numbers.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Lingua-EN-Numbers.spec of Package perl-Lingua-EN-Numbers
# # spec file for package perl-Lingua-EN-Numbers # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Lingua-EN-Numbers Version: 2.03 Release: 0 #Upstream: SUSE-Public-Domain %define cpan_name Lingua-EN-Numbers Summary: Turn "407" Into "Four Hundred and Seven", Etc License: GPL-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Lingua-EN-Numbers/ Source0: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description This module provides a function 'num2en', which converts a number (such as 123) into English text ("one hundred and twenty-three"). It also provides a function 'num2en_ordinal', which converts a number into the ordinal form in words, so 54 becomes "fifty-fourth". If you pass either function something that doesn't look like a number, they will return 'undef'. This module can handle integers like "12" or "-3" and real numbers like "53.19". This module also understands exponential notation -- it turns "4E9" into "four times ten to the ninth"). And it even turns "INF", "-INF", "NaN" into "infinity", "negative infinity", and "not a number", respectively. Any commas in the input numbers are ignored. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor