From 95a7c63e9f8fb273b3b405fa33379350a76790ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 10 Jul 2015 13:24:49 +0200 Subject: [PATCH] Import --- .gitignore | 1 + perl-Unicode-Normalize.spec | 54 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+) create mode 100644 perl-Unicode-Normalize.spec diff --git a/.gitignore b/.gitignore index e69de29..6a93700 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Unicode-Normalize-1.18.tar.gz diff --git a/perl-Unicode-Normalize.spec b/perl-Unicode-Normalize.spec new file mode 100644 index 0000000..cbb284a --- /dev/null +++ b/perl-Unicode-Normalize.spec @@ -0,0 +1,54 @@ +Name: perl-Unicode-Normalize +Version: 1.18 +Release: 348%{?dist} +Summary: Unicode Normalization Forms +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Unicode-Normalize/ +Source0: http://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Normalize-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl, perl is +# auto-detected. +Conflicts: perl < 4:5.22.0-347 + +%description +This package provides Perl functions that can convert strings into various +Unicode normalization forms as defined in Unicode Standard Annex #15. + +%prep +%setup -q -n Unicode-Normalize-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Jul 02 2015 Petr Pisar 1.18-348 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d85ee28 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +41060b0a2715fcaf4d337b417736a574 Unicode-Normalize-1.18.tar.gz