diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1efc402 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Unicode-Normalize-1.25.tar.gz diff --git a/.rh-perl526-perl-Unicode-Normalize.metadata b/.rh-perl526-perl-Unicode-Normalize.metadata new file mode 100644 index 0000000..8a42d5c --- /dev/null +++ b/.rh-perl526-perl-Unicode-Normalize.metadata @@ -0,0 +1 @@ +607ada7ef05bc1644f7f08d8899fc60988ea4f7e SOURCES/Unicode-Normalize-1.25.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch b/SOURCES/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch new file mode 100644 index 0000000..e34e2b1 --- /dev/null +++ b/SOURCES/Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch @@ -0,0 +1,12 @@ +diff -up Unicode-Normalize-1.25/Makefile.PL.orig Unicode-Normalize-1.25/Makefile.PL +--- Unicode-Normalize-1.25/Makefile.PL.orig 2017-05-12 10:24:13.296305863 +0200 ++++ Unicode-Normalize-1.25/Makefile.PL 2017-05-12 10:25:28.275822594 +0200 +@@ -8,7 +8,7 @@ my $mm_ver = ExtUtils::MakeMaker->VERSIO + if (-f "Normalize.xs") { + print STDERR "Making header files for XS...\n"; + +- do 'mkheader' or die $@ || "mkheader: $!"; ++ do './mkheader' or die $@ || "mkheader: $!"; + + $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' }; + } diff --git a/SPECS/perl-Unicode-Normalize.spec b/SPECS/perl-Unicode-Normalize.spec new file mode 100644 index 0000000..db25d90 --- /dev/null +++ b/SPECS/perl-Unicode-Normalize.spec @@ -0,0 +1,102 @@ +%{?scl:%scl_package perl-Unicode-Normalize} + +Name: %{?scl_prefix}perl-Unicode-Normalize +Version: 1.25 +Release: 396%{?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/K/KH/KHW/Unicode-Normalize-%{version}.tar.gz +Patch0: Unicode-Normalize-1.25-Fixes-for-removal-dot-from-INC.patch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: %{?scl_prefix}perl-interpreter +BuildRequires: %{?scl_prefix}perl-devel +BuildRequires: %{?scl_prefix}perl-generators +# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl-libs +BuildRequires: %{?scl_prefix}perl-libs +BuildRequires: %{?scl_prefix}perl(bytes) +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(constant) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(SelectSaver) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(warnings) +# Run-time: +BuildRequires: %{?scl_prefix}perl(DynaLoader) +BuildRequires: %{?scl_prefix}perl(Exporter) +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Conflicts: %{?scl_prefix}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} +%patch0 -p1 + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc LICENSE +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Unicode +%{_mandir}/man3/* + +%changelog +* Fri Dec 15 2017 Petr Pisar - 1.25-396 +- SCL + +* Thu Aug 03 2017 Fedora Release Engineering - 1.25-395 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.25-394 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 03 2017 Jitka Plesnikova - 1.25-393 +- Perl 5.26 rebuild + +* Mon May 15 2017 Jitka Plesnikova - 1.25-367 +- Fixes for removal '.' from @INC in Perl 5.26 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.25-366 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat May 14 2016 Jitka Plesnikova - 1.25-365 +- Increase release to favour standalone package + +* Thu Feb 04 2016 Fedora Release Engineering - 1.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Dec 18 2015 Petr Ĺ abata - 1.25-1 +- 1.25 bump + +* Thu Dec 03 2015 Petr Pisar - 1.24-1 +- 1.24 bump + +* Tue Oct 27 2015 Petr Pisar - 1.23-1 +- 1.23 bump + +* Fri Oct 09 2015 Petr Pisar - 1.21-1 +- 1.21 bump + +* Mon Jul 13 2015 Petr Pisar - 1.19-1 +- 1.19 bump + +* Thu Jul 02 2015 Petr Pisar 1.18-348 +- Specfile autogenerated by cpanspec 1.78.