Name: perl-Lingua-EN-Sentence Version: 0.25 Release: 1%{?dist} Summary: Module for splitting text into sentences License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Lingua-EN-Sentence/ Source0: http://www.cpan.org/modules/by-module/Lingua/Lingua-EN-Sentence-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Lingua::EN::Sentence module contains the function get_sentences, which splits text into its constituent sentences, based on a regular expression and a list of abbreviations (built in and given). %prep %setup -q -n Lingua-EN-Sentence-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %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 -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 17 2009 Xavier Bachelot 0.25-1 - Specfile autogenerated by cpanspec 1.77. - Fix license.