[perl-Lingua-EN-Numbers-Ordinate/el5/master] Initial import for devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 49efdf3323fe4bc251445ba3edcb5929b6a2e5e0
Author: Nicolas Chauvet <kwizart@xxxxxxxxxxxxxxxxx>
Date:   Sat May 31 12:35:27 2008 +0000

    Initial import for devel

 .gitignore                           |    1 +
 perl-Lingua-EN-Numbers-Ordinate.spec |   61 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c8688db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+Lingua-EN-Numbers-Ordinate-1.02.tar.gz
diff --git a/perl-Lingua-EN-Numbers-Ordinate.spec b/perl-Lingua-EN-Numbers-Ordinate.spec
new file mode 100644
index 0000000..7819424
--- /dev/null
+++ b/perl-Lingua-EN-Numbers-Ordinate.spec
@@ -0,0 +1,61 @@
+Name:           perl-Lingua-EN-Numbers-Ordinate
+Version:        1.02
+Release:        2%{?dist}
+Summary:        Perl functions for giving the ordinal form of a number given its cardinal value
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate/
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+There are two kinds of numbers in English -- cardinals (1,
+2, 3...), and ordinals (1st, 2nd, 3rd...).  This library
+provides functions for giving the ordinal form of a number,
+given its cardinal value.
+
+
+%prep
+%setup -q -n Lingua-EN-Numbers-Ordinate-%{version}
+sed -i -e '/require 5;/d' lib/Lingua/EN/Numbers/Ordinate.pm
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+
+
+%check
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog README
+%{perl_vendorlib}/Lingua/
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Thu May 29 2008 kwizart < kwizart at gmail.com > - 1.02-2
+- Fix directory ownership
+- Fix wrong requirement with perl >= 1:5
+
+* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 1.02-1
+- Initial package for Fedora
+
diff --git a/sources b/sources
index e69de29..e963faa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e92078fafd9108a137972c4e9bae9e99  Lingua-EN-Numbers-Ordinate-1.02.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux