commit 0eb9669e6666070908789f815dbc78c245ef2a5c Author: Ruediger Landmann <r.landmann@xxxxxxxxxx> Date: Fri Jan 10 09:49:26 2014 +1000 New package .gitignore | 1 + perl-Lingua-EN-Fathom.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..f7673eb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Lingua-EN-Fathom-1.15.tar.gz diff --git a/perl-Lingua-EN-Fathom.spec b/perl-Lingua-EN-Fathom.spec new file mode 100644 index 0000000..3f10ebc --- /dev/null +++ b/perl-Lingua-EN-Fathom.spec @@ -0,0 +1,56 @@ +Name: perl-Lingua-EN-Fathom +Version: 1.15 +Release: 2%{?dist} +Summary: Measure readability of English text +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Lingua-EN-Fathom/ +Source0: http://www.cpan.org/authors/id/K/KI/KIMRYAN/Lingua-EN-Fathom-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Lingua::EN::Syllable) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module analyses English text in either a string or file. Totals are +then calculated for the number of characters, words, sentences, blank and +non blank (text) lines and paragraphs. + +%prep +%setup -q -n Lingua-EN-Fathom-%{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 {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 8 2014 Jeff fearn <jfearn@xxxxxxxxxx> 1.15-2 +- Remove unnecessary requires and dircetory clean up command. BZ #1033987 + +* Mon Nov 04 2013 Jeff fearn <jfearn@xxxxxxxxxx> 1.15-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..3e33c9f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +94bd7ecf1f9b460fb090f478a39acdfd Lingua-EN-Fathom-1.15.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel