diff --git a/.cvsignore b/.cvsignore index e69de29..a2137f4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Lingua-EN-Inflect-Number-1.1.tar.gz diff --git a/perl-Lingua-EN-Inflect-Number.spec b/perl-Lingua-EN-Inflect-Number.spec new file mode 100644 index 0000000..6952b9f --- /dev/null +++ b/perl-Lingua-EN-Inflect-Number.spec @@ -0,0 +1,56 @@ +Name: perl-Lingua-EN-Inflect-Number +Version: 1.1 +Release: 3%{?dist} +Summary: Force number of words to singular or plural +Group: Development/Libraries +License: Distributable +#License: GPL or Artistic +URL: http://search.cpan.org/dist/Lingua-EN-Inflect-Number/ +Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMON/Lingua-EN-Inflect-Number-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(Lingua::EN::Inflect) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Lingua-EN-Inflect-Number-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make + +%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 {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Lingua/EN/Inflect +%{_mandir}/man3/*.3* + + +%changelog +* Fri Jul 29 2005 Tom "spot" Callaway 1.1-3 +- remove superfluous Requires: perl(Lingua::EN::Inflect) +- set License to Distributable until we know better + +* Fri Jul 8 2005 Tom "spot" Callaway 1.1-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 1.1-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..963b574 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bcee940ef603da93e7da11d8eecad409 Lingua-EN-Inflect-Number-1.1.tar.gz