Package init
This commit is contained in:
commit
71436e84bc
BIN
Unicode-Normalize-1.26.tar.gz
Normal file
BIN
Unicode-Normalize-1.26.tar.gz
Normal file
Binary file not shown.
62
perl-Unicode-Normalize.spec
Normal file
62
perl-Unicode-Normalize.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%global base_name Unicode-Normalize
|
||||
|
||||
Name: perl-Unicode-Normalize
|
||||
Version: 1.26
|
||||
Release: 419
|
||||
Summary: Unicode Normalization Forms
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Unicode-Normalize
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/%{base_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc findutils make perl-devel perl-generators perl-interpreter perl-libs
|
||||
BuildRequires: perl(Carp) perl(constant) perl(ExtUtils::MakeMaker) >= 6.76 perl(File::Spec)
|
||||
BuildRequires: perl(SelectSaver) perl(strict) perl(warnings) perl(Exporter) perl(XSLoader)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Conflicts: perl < 4:5.22.0-347
|
||||
|
||||
%description
|
||||
This package takes Unicode data of arbitrary forms and canonicalizes it to a standard
|
||||
representation(Unicode Standard Annex #15).
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{base_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%pre
|
||||
|
||||
%preun
|
||||
|
||||
%post
|
||||
|
||||
%postun
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Unicode
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 1.26-419
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:fix spec rule in openeuler
|
||||
|
||||
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.26-418
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user