perl-Unicode-Normalize/perl-Unicode-Normalize.spec

163 lines
5.7 KiB
RPMSpec
Raw Normal View History

%global base_version 1.26
2015-07-10 11:24:49 +00:00
Name: perl-Unicode-Normalize
Version: 1.31
Release: 489%{?dist}
2015-07-10 11:24:49 +00:00
Summary: Unicode Normalization Forms
2022-12-20 17:08:34 +00:00
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Unicode-Normalize
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Unicode-Normalize-%{base_version}.tar.gz
# Unbundled from perl 5.35.11
Patch0: Unicode-Normalize-1.26-Upgrade-to-1.31.patch
2020-07-21 11:24:54 +00:00
BuildRequires: coreutils
2015-07-10 11:24:49 +00:00
BuildRequires: findutils
2018-03-07 11:21:22 +00:00
BuildRequires: gcc
2015-07-10 11:24:49 +00:00
BuildRequires: make
2015-10-27 09:18:40 +00:00
BuildRequires: perl-devel
BuildRequires: perl-generators
2018-03-07 11:21:22 +00:00
BuildRequires: perl-interpreter
2015-10-27 09:18:40 +00:00
# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl-libs
BuildRequires: perl-libs
BuildRequires: perl(bytes)
2015-07-10 11:24:49 +00:00
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Devel::PPPort)
2018-03-07 11:21:22 +00:00
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
2015-07-10 11:24:49 +00:00
BuildRequires: perl(File::Spec)
2015-10-27 09:18:40 +00:00
BuildRequires: perl(SelectSaver)
2015-07-10 11:24:49 +00:00
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
2015-10-27 09:18:40 +00:00
# Run-time:
BuildRequires: perl(Exporter)
BuildRequires: perl(XSLoader)
2015-07-10 11:24:49 +00:00
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-%{base_version}
%patch0 -p1
# Generate ppport.h which is used since 1.31
perl -MDevel::PPPort \
-e 'Devel::PPPort::WriteFile() or die "Could not generate ppport.h: $!"'
2015-07-10 11:24:49 +00:00
%build
2020-07-21 11:24:54 +00:00
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
%{make_build}
2015-07-10 11:24:49 +00:00
%install
2020-07-21 11:24:54 +00:00
%{make_install}
2018-03-07 11:21:22 +00:00
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
2015-07-10 11:24:49 +00:00
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
2015-10-27 09:18:40 +00:00
%license LICENSE
2015-07-10 11:24:49 +00:00
%doc Changes README
2015-10-27 09:18:40 +00:00
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Unicode
2015-07-10 11:24:49 +00:00
%{_mandir}/man3/*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-488
- Increase release to favour standalone package
* Thu May 12 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
- Upgrade to 1.31 as provided in perl-5.35.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-478
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-477
- Upgrade to 1.28 as provided in perl-5.34.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-459
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-21 11:24:54 +00:00
* Tue Jul 21 2020 Petr Pisar <ppisar@redhat.com> - 1.27-457
- Modernize a spec file
- Apply a forgotten Unicode-Normalize-1.25-Upgrade-to-1.27.patch patch
2020-07-21 11:24:54 +00:00
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-456
- Upgrade to 1.27 as provided in perl-5.32.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-438
- Increase release to favour standalone package
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-417
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-416
- Increase release to favour standalone package
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-1
- Upgrade to 1.26 as provided in perl-5.28.0-RC1
2018-03-07 11:21:22 +00:00
* Wed Mar 07 2018 Petr Pisar <ppisar@redhat.com> - 1.25-397
- Modernize spec file
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-396
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-395
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-394
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-03 10:47:32 +00:00
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-393
- Perl 5.26 rebuild
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-367
- Fixes for removal '.' from @INC in Perl 5.26
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-366
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-365
- Increase release to favour standalone package
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-12-18 14:59:12 +00:00
* Fri Dec 18 2015 Petr Šabata <contyk@redhat.com> - 1.25-1
- 1.25 bump
2015-12-03 07:15:39 +00:00
* Thu Dec 03 2015 Petr Pisar <ppisar@redhat.com> - 1.24-1
- 1.24 bump
2015-10-27 09:18:40 +00:00
* Tue Oct 27 2015 Petr Pisar <ppisar@redhat.com> - 1.23-1
- 1.23 bump
2015-10-09 08:27:30 +00:00
* Fri Oct 09 2015 Petr Pisar <ppisar@redhat.com> - 1.21-1
- 1.21 bump
2015-07-13 11:58:20 +00:00
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.19-1
- 1.19 bump
2015-07-10 11:24:49 +00:00
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.18-348
- Specfile autogenerated by cpanspec 1.78.