[perl-Lingua-Stem] initial import

Iain Arnell iarnell at fedoraproject.org
Thu Sep 2 03:01:01 UTC 2010


commit e34f4529da1f1f539f37b2f3eeca973538ccf7f2
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Sep 2 05:00:52 2010 +0200

    initial import

 .gitignore            |    1 +
 perl-Lingua-Stem.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6b65027 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-Stem-0.84.tar.gz
diff --git a/perl-Lingua-Stem.spec b/perl-Lingua-Stem.spec
new file mode 100644
index 0000000..1f5b127
--- /dev/null
+++ b/perl-Lingua-Stem.spec
@@ -0,0 +1,59 @@
+Name:           perl-Lingua-Stem
+Version:        0.84
+Release:        1%{?dist}
+Summary:        Stemming of words
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Lingua-Stem/
+Source0:        http://www.cpan.org/authors/id/S/SN/SNOWHARE/Lingua-Stem-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Lingua::GL::Stemmer)
+BuildRequires:  perl(Lingua::PT::Stemmer)
+BuildRequires:  perl(Lingua::Stem::Fr) >= 0.02
+BuildRequires:  perl(Lingua::Stem::It)
+BuildRequires:  perl(Lingua::Stem::Ru)
+BuildRequires:  perl(Lingua::Stem::Snowball::Da) >= 1.01
+BuildRequires:  perl(Lingua::Stem::Snowball::No) >= 1.00
+BuildRequires:  perl(Lingua::Stem::Snowball::Se) >= 1.01
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::Distribution)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Text::German)
+Requires:       perl(Lingua::Stem::Fr)
+Requires:       perl(Lingua::Stem::It)
+Requires:       perl(Lingua::Stem::Ru)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This routine applies stemming algorithms to its parameters, returning the
+stemmed words as appropriate to the selected locale.
+
+%prep
+%setup -q -n Lingua-Stem-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+TEST_POD_COVERAGE=1 ./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc Artistic_License.txt Changes GPL_License.txt LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Aug 16 2010 Iain Arnell <iarnell at epo.org> 0.84-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..5bc3a78 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a236b5d85ac49f84aad447c1383ad2de  Lingua-Stem-0.84.tar.gz


More information about the scm-commits mailing list