[perl-Lingua-EN-Syllable/f18] Import new package
Rüdiger Landmann
rlandmann at fedoraproject.org
Thu Nov 28 00:56:52 UTC 2013
commit bb7b6c0486dadb57109df256401a75d65f874218
Author: Ruediger Landmann <r.landmann at redhat.com>
Date: Thu Nov 28 10:58:13 2013 +1000
Import new package
.gitignore | 1 +
perl-Lingua-EN-Syllable.spec | 48 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f9f4e7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-EN-Syllable-0.251.tar.gz
diff --git a/perl-Lingua-EN-Syllable.spec b/perl-Lingua-EN-Syllable.spec
new file mode 100644
index 0000000..3e78796
--- /dev/null
+++ b/perl-Lingua-EN-Syllable.spec
@@ -0,0 +1,48 @@
+Name: perl-Lingua-EN-Syllable
+Version: 0.251
+Release: 2%{?dist}
+Summary: Routine for estimating syllable count in words
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Lingua-EN-Syllable/
+Source0: http://www.cpan.org/authors/id/G/GR/GREGFAST/Lingua-EN-Syllable-%{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
+Lingua::EN::Syllable::syllable() estimates the number of syllables in the
+word passed to it.
+
+%prep
+%setup -q -n Lingua-EN-Syllable-%{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 README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Nov 25 2013 Rüdiger Landmann <rlandmann at redhat.com> 0.251-2
+- Tidy up spec file a little
+
+* Fri Nov 22 2013 Rüdiger Landmann <rlandmann at redhat.com> 0.251-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..3b635ad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f44a056e92c1d9df89e190591879d84f Lingua-EN-Syllable-0.251.tar.gz
More information about the perl-devel
mailing list