You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-String-ToIdentifier-EN/perl-String-ToIdentifier-EN...

71 lines
2.4 KiB

Name: perl-String-ToIdentifier-EN
13 years ago
Version: 0.07
12 years ago
Release: 6%{?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 --skipdeps
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
12 years ago
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 0.07-6
- Perl 5.18 rebuild
* Sun Feb 17 2013 Iain Arnell <iarnell@gmail.com> 0.07-5
- pass skipdeps to Makefile.PL
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.07-2
- Perl 5.16 rebuild
13 years ago
* Mon Mar 26 2012 Iain Arnell <iarnell@gmail.com> 0.07-1
- update to latest upstream version
* Fri Jan 13 2012 Iain Arnell <iarnell@gmail.com> 0.06-1
- Specfile autogenerated by cpanspec 1.78.