81 lines
2.3 KiB
RPMSpec
81 lines
2.3 KiB
RPMSpec
Name: perl-Unicode-Normalize
|
|
Version: 1.25
|
|
Release: 365%{?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
|
|
BuildRequires: coreutils
|
|
BuildRequires: findutils
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRequires: perl-devel
|
|
# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl-libs
|
|
BuildRequires: perl-libs
|
|
BuildRequires: perl(bytes)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(SelectSaver)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time:
|
|
BuildRequires: perl(DynaLoader)
|
|
BuildRequires: perl(Exporter)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
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 OPTIMIZE="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
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
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes README
|
|
%{perl_vendorarch}/auto/*
|
|
%{perl_vendorarch}/Unicode
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* Fri Dec 18 2015 Petr Šabata <contyk@redhat.com> - 1.25-1
|
|
- 1.25 bump
|
|
|
|
* Thu Dec 03 2015 Petr Pisar <ppisar@redhat.com> - 1.24-1
|
|
- 1.24 bump
|
|
|
|
* Tue Oct 27 2015 Petr Pisar <ppisar@redhat.com> - 1.23-1
|
|
- 1.23 bump
|
|
|
|
* Fri Oct 09 2015 Petr Pisar <ppisar@redhat.com> - 1.21-1
|
|
- 1.21 bump
|
|
|
|
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.19-1
|
|
- 1.19 bump
|
|
|
|
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.18-348
|
|
- Specfile autogenerated by cpanspec 1.78.
|