From 800b9b137daa8a3ac3dbd5f88e1eff5652d3a671 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 30 Jul 2005 03:12:21 +0000 Subject: [PATCH] auto-import perl-Lingua-EN-Inflect-1.89-3 on branch devel from perl-Lingua-EN-Inflect-1.89-3.src.rpm --- .cvsignore | 1 + perl-Lingua-EN-Inflect.spec | 55 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+) create mode 100644 perl-Lingua-EN-Inflect.spec diff --git a/.cvsignore b/.cvsignore index e69de29..5872d45 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Lingua-EN-Inflect-1.89.tar.gz diff --git a/perl-Lingua-EN-Inflect.spec b/perl-Lingua-EN-Inflect.spec new file mode 100644 index 0000000..4958f7b --- /dev/null +++ b/perl-Lingua-EN-Inflect.spec @@ -0,0 +1,55 @@ +Name: perl-Lingua-EN-Inflect +Version: 1.89 +Release: 3%{?dist} +Summary: Convert singular to plural, select "a" or "an" +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Lingua-EN-Inflect/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Lingua-EN-Inflect-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Lingua-EN-Inflect-%{version} +chmod -x Changes README lib/Lingua/EN/Inflect.pm + +%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/ +%{_mandir}/man3/*.3* + + +%changelog +* Fri Jul 29 2005 Tom "spot" Callaway 1.89-3 +- chmod -x files that don't need to be executable (hooray upstream) +- own Lingua directory correctly + +* Fri Jul 8 2005 Tom "spot" Callaway 1.89-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 1.89-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..82ea4e2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ca864087a32754a8185d30fa677121ea Lingua-EN-Inflect-1.89.tar.gz