Blame SPECS/perl-Unicode-Collate.spec

6ba37d
%{?scl:%scl_package perl-Unicode-Collate}
6ba37d
6ba37d
Name:           %{?scl_prefix}perl-Unicode-Collate
6ba37d
Version:        1.25
6ba37d
Release:        2%{?dist}
6ba37d
Summary:        Unicode Collation Algorithm
6ba37d
# Collate/allkeys.txt:  Unicode (the file contains a link to
6ba37d
#                       <http://www.unicode.org/terms_of_use.html>)
6ba37d
# other files:          GPL+ or Artistic
6ba37d
License:        (GPL+ or Artistic) and Unicode
6ba37d
URL:            http://search.cpan.org/dist/Unicode-Collate/
6ba37d
Source0:        http://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
6ba37d
BuildRequires:  coreutils
6ba37d
BuildRequires:  gcc
6ba37d
BuildRequires:  findutils
6ba37d
BuildRequires:  make
6ba37d
BuildRequires:  %{?scl_prefix}perl-devel
6ba37d
BuildRequires:  %{?scl_prefix}perl-generators
6ba37d
BuildRequires:  %{?scl_prefix}perl-interpreter
6ba37d
BuildRequires:  %{?scl_prefix}perl(Carp)
6ba37d
BuildRequires:  %{?scl_prefix}perl(constant)
6ba37d
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
6ba37d
BuildRequires:  %{?scl_prefix}perl(File::Spec)
6ba37d
BuildRequires:  %{?scl_prefix}perl(strict)
6ba37d
BuildRequires:  %{?scl_prefix}perl(warnings)
6ba37d
# Run-time:
6ba37d
BuildRequires:  %{?scl_prefix}perl(base)
6ba37d
BuildRequires:  %{?scl_prefix}perl(Unicode::Normalize)
6ba37d
BuildRequires:  %{?scl_prefix}perl(XSLoader)
6ba37d
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
6ba37d
Requires:       %{?scl_prefix}perl(Unicode::Normalize)
6ba37d
Conflicts:      %{?scl_prefix}perl < 4:5.22.0-347
6ba37d
6ba37d
%description
6ba37d
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
6ba37d
Collation Algorithm).
6ba37d
6ba37d
%prep
6ba37d
%setup -q -n Unicode-Collate-%{version}
6ba37d
6ba37d
# Remove pregenerated files
6ba37d
rm Collate/Locale/*
6ba37d
# Collate/CJK/Korean.pm is input for mklocale script, do not remove it here
6ba37d
6ba37d
%build
6ba37d
# Regenerate code from Collate/allkeys.txt whose authority is
6ba37d
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
6ba37d
%{?scl:scl enable %{scl} '}perl mklocale%{?scl:'}
6ba37d
mv Locale/*.pl Collate/Locale
6ba37d
mv Korean.pm Collate/CJK
6ba37d
6ba37d
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'}
6ba37d
6ba37d
%install
6ba37d
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
6ba37d
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
6ba37d
%{_fixperms} $RPM_BUILD_ROOT/*
6ba37d
6ba37d
%check
6ba37d
%{?scl:scl enable %{scl} '}make test%{?scl:'}
6ba37d
6ba37d
%files
6ba37d
%doc Changes README
6ba37d
%{perl_vendorarch}/auto/*
6ba37d
%{perl_vendorarch}/Unicode*
6ba37d
%{_mandir}/man3/*
6ba37d
6ba37d
%changelog
6ba37d
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 1.25-2
6ba37d
- SCL
6ba37d
6ba37d
* Thu Nov 23 2017 Petr Pisar <ppisar@redhat.com> - 1.25-1
6ba37d
- 1.25 bump
6ba37d
6ba37d
* Tue Nov 21 2017 Petr Pisar <ppisar@redhat.com> - 1.24-1
6ba37d
- 1.24 bump
6ba37d
6ba37d
* Mon Nov 13 2017 Petr Pisar <ppisar@redhat.com> - 1.23-1
6ba37d
- 1.23 bump
6ba37d
6ba37d
* Mon Nov 06 2017 Petr Pisar <ppisar@redhat.com> - 1.21-1
6ba37d
- 1.21 bump
6ba37d
6ba37d
* Fri Nov 03 2017 Petr Pisar <ppisar@redhat.com> - 1.20-1
6ba37d
- 1.20 bump
6ba37d
6ba37d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-395
6ba37d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6ba37d
6ba37d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-394
6ba37d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6ba37d
6ba37d
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-393
6ba37d
- Perl 5.26 rebuild
6ba37d
6ba37d
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-3
6ba37d
- Fixes for removal '.' from @INC in Perl 5.26
6ba37d
6ba37d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
6ba37d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6ba37d
6ba37d
* Mon Dec 05 2016 Petr Pisar <ppisar@redhat.com> - 1.19-1
6ba37d
- 1.19 bump
6ba37d
6ba37d
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 1.18-1
6ba37d
- 1.18 bump
6ba37d
6ba37d
* Mon Oct 31 2016 Petr Pisar <ppisar@redhat.com> - 1.17-1
6ba37d
- 1.17 bump
6ba37d
6ba37d
* Wed Oct 26 2016 Petr Pisar <ppisar@redhat.com> - 1.16-1
6ba37d
- 1.16 bump
6ba37d
6ba37d
* Mon Oct 24 2016 Petr Pisar <ppisar@redhat.com> - 1.15-1
6ba37d
- 1.15 bump
6ba37d
6ba37d
* Mon Sep 19 2016 Petr Pisar <ppisar@redhat.com> - 1.14-366
6ba37d
- License corrected to ((GPL+ or Artistic) and Unicode)
6ba37d
6ba37d
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-365
6ba37d
- Increase release to favour standalone package
6ba37d
6ba37d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
6ba37d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6ba37d
6ba37d
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.14-1
6ba37d
- 1.14 bump
6ba37d
6ba37d
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.12-348
6ba37d
- Specfile autogenerated by cpanspec 1.78.
6ba37d
- Run mklocale only if not bootstrapping