f38
Petr Písař 10 years ago
parent cef8bd90b2
commit 7d17a52fcf

1
.gitignore vendored

@ -1,2 +1,3 @@
/String-ToIdentifier-EN-0.06.tar.gz
/String-ToIdentifier-EN-0.07.tar.gz
/String-ToIdentifier-EN-0.11.tar.gz

@ -1,21 +1,30 @@
Name: perl-String-ToIdentifier-EN
Version: 0.07
Release: 9%{?dist}
Version: 0.11
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))
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(Lingua::EN::Inflect::Phrase)
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
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}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
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
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%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
- Perl 5.20 rebuild

@ -1 +1 @@
fb99f7b8bb574bf650563e6e1fd198a2 String-ToIdentifier-EN-0.07.tar.gz
d2d8bdb11c9f3e554e46a8196891c0af String-ToIdentifier-EN-0.11.tar.gz

Loading…
Cancel
Save