commit 4ff0b12c910c361a653090b1bf6340a953e92c7e Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Oct 5 05:21:06 2010 +0200 initial import .gitignore | 1 + perl-Lingua-EN-Inflect-Phrase.spec | 47 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3e50cfa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Lingua-EN-Inflect-Phrase-0.04.tar.gz diff --git a/perl-Lingua-EN-Inflect-Phrase.spec b/perl-Lingua-EN-Inflect-Phrase.spec new file mode 100644 index 0000000..02e2402 --- /dev/null +++ b/perl-Lingua-EN-Inflect-Phrase.spec @@ -0,0 +1,47 @@ +Name: perl-Lingua-EN-Inflect-Phrase +Version: 0.04 +Release: 1%{?dist} +Summary: Inflect short English Phrases +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase/ +Source0: http://www.cpan.org/authors/id/R/RK/RKITOVER/Lingua-EN-Inflect-Phrase-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Lingua::EN::Inflect) >= 1.891 +BuildRequires: perl(Lingua::EN::Inflect::Number) >= 1.1 +BuildRequires: perl(Lingua::EN::Tagger) >= 0.15 +BuildRequires: perl(Test::More) >= 0.94 +Requires: perl(Lingua::EN::Inflect) >= 1.891 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Attempts to pluralize or singularize short English phrases. + +%prep +%setup -q -n Lingua-EN-Inflect-Phrase-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 16 2010 Iain Arnell <iarnell@xxxxxxx> 0.04-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..f537aa9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +79aa10fd4a3502ff0c7b0aedce4a0f6a Lingua-EN-Inflect-Phrase-0.04.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