From f17ea41dbf68a7adf5a196628694764fa337be0f Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Thu, 19 Aug 2010 05:09:06 +0200 Subject: [PATCH] initial import --- .gitignore | 1 + perl-Lingua-Stem-It.spec | 48 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+) create mode 100644 perl-Lingua-Stem-It.spec diff --git a/.gitignore b/.gitignore index e69de29..58d3b47 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Lingua-Stem-It-0.02.tar.gz diff --git a/perl-Lingua-Stem-It.spec b/perl-Lingua-Stem-It.spec new file mode 100644 index 0000000..afa1acb --- /dev/null +++ b/perl-Lingua-Stem-It.spec @@ -0,0 +1,48 @@ +Name: perl-Lingua-Stem-It +Version: 0.02 +Release: 1%{?dist} +Summary: Porter's stemming algorithm for Italian +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Lingua-Stem-It/ +Source0: http://www.cpan.org/authors/id/A/AC/ACALPINI/Lingua-Stem-It-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module applies the Porter Stemming Algorithm to its parameters, +returning the stemmed words. + +%prep +%setup -q -n Lingua-Stem-It-%{version} + +sed -ie 's/\r//' Changes README It.pm +chmod -x Changes + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 16 2010 Iain Arnell 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..fd9e3c9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +611ec6d600f1280aa6c510c83b7bc4a2 Lingua-Stem-It-0.02.tar.gz