[perl-Lingua-Stem-Ru] initial import
Iain Arnell
iarnell at fedoraproject.org
Tue Aug 24 03:06:07 UTC 2010
commit d99847bb54f54b354ccb3b3e9d98e1d736fc4bf4
Author: Iain Arnell <iarnell at gmail.com>
Date: Tue Aug 24 05:05:42 2010 +0200
initial import
.gitignore | 1 +
perl-Lingua-Stem-Ru.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cef05b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-Stem-Ru-0.01.tar.gz
diff --git a/perl-Lingua-Stem-Ru.spec b/perl-Lingua-Stem-Ru.spec
new file mode 100644
index 0000000..35303b6
--- /dev/null
+++ b/perl-Lingua-Stem-Ru.spec
@@ -0,0 +1,45 @@
+Name: perl-Lingua-Stem-Ru
+Version: 0.01
+Release: 1%{?dist}
+Summary: Porter's stemming algorithm for Russian (KOI8-R only)
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Lingua-Stem-Ru/
+Source0: http://www.cpan.org/authors/id/A/AL/ALGDR/Lingua-Stem-Ru-%{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-Ru-%{version}
+
+%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 output.txt README voc.txt
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Aug 16 2010 Iain Arnell <iarnell at gmail.com> 0.01-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e51ef2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b7b82495cc9f0b466b1b3cba0fd779a6 Lingua-Stem-Ru-0.01.tar.gz
More information about the perl-devel
mailing list