rpms/perl-Lingua-Stem-Snowball/EL-5 perl-Lingua-Stem-Snowball.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ian Burrell iburrell at fedoraproject.org
Mon Feb 9 05:56:50 UTC 2009


Author: iburrell

Update of /cvs/pkgs/rpms/perl-Lingua-Stem-Snowball/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9926

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Lingua-Stem-Snowball.spec 
Log Message:
copy from devel


--- NEW FILE perl-Lingua-Stem-Snowball.spec ---
Name:           perl-Lingua-Stem-Snowball
Version:        0.952
Release:        1%{?dist}
Summary:        Perl interface to Snowball stemmers
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Lingua-Stem-Snowball/
Source0:        http://www.cpan.org/modules/by-module/Lingua/Lingua-Stem-Snowball-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::CBuilder)
BuildRequires:  perl(ExtUtils::ParseXS)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::More)
Requires:       perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description 
Stemming reduces related words to a common root form -- for instance,
"horse", "horses", and "horsing" all become "hors". Most commonly,
stemming is deployed as part of a search application, allowing
searches for a given term to match documents which contain other forms
of that term.

This module is very similar to Lingua::Stem -- however, Lingua::Stem
is pure Perl, while Lingua::Stem::Snowball is an XS module which
provides a Perl interface to the C version of the Snowball
stemmers.

%prep
%setup -q -n Lingua-Stem-Snowball-%{version}

%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Lingua*
%{_mandir}/man3/*

%changelog
* Thu Feb 05 2009 Ian Burrell <ianburrell at gmail.com> 0.952-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Lingua-Stem-Snowball/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Feb 2009 21:55:31 -0000	1.1
+++ .cvsignore	9 Feb 2009 05:56:20 -0000	1.2
@@ -0,0 +1 @@
+Lingua-Stem-Snowball-0.952.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Lingua-Stem-Snowball/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Feb 2009 21:55:32 -0000	1.1
+++ sources	9 Feb 2009 05:56:20 -0000	1.2
@@ -0,0 +1 @@
+6b0085c6fd8ec894e34c593078aa169a  Lingua-Stem-Snowball-0.952.tar.gz




More information about the Fedora-perl-devel-list mailing list