[perl-String-ToIdentifier-EN] initial import (rhbz#781793)

Iain Arnell iarnell at fedoraproject.org
Fri Feb 3 05:19:37 UTC 2012


commit 4f87622752b1c1b03523b023e8ba5bade8125142
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Feb 3 06:19:28 2012 +0100

    initial import (rhbz#781793)

 .gitignore                       |    1 +
 perl-String-ToIdentifier-EN.spec |   52 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a6ccaef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/String-ToIdentifier-EN-0.06.tar.gz
diff --git a/perl-String-ToIdentifier-EN.spec b/perl-String-ToIdentifier-EN.spec
new file mode 100644
index 0000000..64e7ff8
--- /dev/null
+++ b/perl-String-ToIdentifier-EN.spec
@@ -0,0 +1,52 @@
+Name:           perl-String-ToIdentifier-EN
+Version:        0.06
+Release:        1%{?dist}
+Summary:        Convert Strings to English Program Identifiers
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/String-ToIdentifier-EN/
+Source0:        http://www.cpan.org/authors/id/R/RK/RKITOVER/String-ToIdentifier-EN-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Lingua::EN::Inflect::Phrase) >= 0.07
+BuildRequires:  perl(namespace::clean) >= 0.20
+BuildRequires:  perl(Test::More) >= 0.92
+BuildRequires:  perl(Text::Unidecode) >= 0.04
+Requires:       perl(Lingua::EN::Inflect::Phrase) >= 0.07
+Requires:       perl(namespace::clean) >= 0.20
+Requires:       perl(Text::Unidecode) >= 0.04
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module provides a utility method, "to_identifier" for converting an
+arbitrary string into a readable representation using the ASCII subset of
+\w for use as an identifier in a computer program. The intent is to make
+unique identifier names from which the content of the original string can
+be easily inferred by a human just by reading the identifier.
+
+%prep
+%setup -q -n String-ToIdentifier-EN-%{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
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 13 2012 Iain Arnell <iarnell at gmail.com> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4968e66 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+262602c5b29b3a62fbf8ebc005bfebee  String-ToIdentifier-EN-0.06.tar.gz


More information about the scm-commits mailing list