Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 4c7842c8c23f54a9a0940e47a5e0d4db > files > 2

perl-String-ToIdentifier-EN-0.06-1.fc16.src.rpm

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@gmail.com> 0.06-1
- Specfile autogenerated by cpanspec 1.78.