commit ae7c7bcf19ffabe4ba6ffe92c94df59d2e5c473c Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Tue Oct 28 16:24:48 2014 +0100 Initial import. (#1154406) .gitignore | 1 + perl-Unicode-CaseFold.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..db969d3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Unicode-CaseFold-1.00.tar.gz diff --git a/perl-Unicode-CaseFold.spec b/perl-Unicode-CaseFold.spec new file mode 100644 index 0000000..8346c31 --- /dev/null +++ b/perl-Unicode-CaseFold.spec @@ -0,0 +1,61 @@ +Name: perl-Unicode-CaseFold +Version: 1.00 +Release: 3%{?dist} +Summary: Unicode case-folding for case-insensitive lookups +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/Unicode-CaseFold/ +Source0: http://www.cpan.org/authors/id/A/AR/ARODLAND/Unicode-CaseFold-%{version}.tar.gz + +BuildRequires: perl(Exporter) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(XSLoader) + +Provides: perl(Unicode::CaseFoldPP) + +%{?perl_default_filter} + +%description +This module provides Unicode case-folding for Perl. Case-folding is a tool +that allows a program to make case-insensitive string comparisons or do case- +insensitive lookups. + +%prep +%setup -q -n Unicode-CaseFold-%{version} + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes eg README TODO +%license LICENSE +%{perl_vendorarch}/auto/Unicode* +%{perl_vendorarch}/Unicode* +%{_mandir}/man3/Unicode* + +%changelog +* Mon Oct 27 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.00-3 +- Put back perl(XSLoader) as a requirement (removed by mistake) + +* Mon Oct 20 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.00-2 +- Take into account review feedback (#1154406) + +* Sun Sep 14 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> 1.00-1 +- Initial specfile based on the one generated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..dd85f34 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d974766e19a87588a887e37d732c7220 Unicode-CaseFold-1.00.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel