|
|
@ -1,21 +1,30 @@
|
|
|
|
Name: perl-String-ToIdentifier-EN
|
|
|
|
Name: perl-String-ToIdentifier-EN
|
|
|
|
Version: 0.07
|
|
|
|
Version: 0.11
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Convert Strings to English Program Identifiers
|
|
|
|
Summary: Convert Strings to English Program Identifiers
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/String-ToIdentifier-EN/
|
|
|
|
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
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RK/RKITOVER/String-ToIdentifier-EN-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(namespace::clean) >= 0.20
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.92
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(Text::Unidecode) >= 0.04
|
|
|
|
# Run-time:
|
|
|
|
Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
Requires: perl(namespace::clean) >= 0.20
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
Requires: perl(Text::Unidecode) >= 0.04
|
|
|
|
BuildRequires: perl(Lingua::EN::Inflect::Phrase)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildRequires: perl(namespace::clean)
|
|
|
|
|
|
|
|
BuildRequires: perl(Text::Unidecode)
|
|
|
|
|
|
|
|
BuildRequires: perl(Unicode::UCD)
|
|
|
|
|
|
|
|
# Tests:
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module provides a utility method, "to_identifier" for converting an
|
|
|
|
This module provides a utility method, "to_identifier" for converting an
|
|
|
@ -28,26 +37,26 @@ be easily inferred by a human just by reading the identifier.
|
|
|
|
%setup -q -n String-ToIdentifier-EN-%{version}
|
|
|
|
%setup -q -n String-ToIdentifier-EN-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor --skipdeps
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Nov 21 2014 Petr Pisar <ppisar@redhat.com> - 0.11-1
|
|
|
|
|
|
|
|
- 0.11 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-9
|
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-9
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|
|
|