perl-Unicode-Collate/perl-Unicode-Collate.spec

110 lines
3.4 KiB
RPMSpec
Raw Normal View History

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