package init

This commit is contained in:
byeX012 2019-12-17 09:59:37 +08:00
parent ccaed08db6
commit cb88075786
3 changed files with 68 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,20 @@
diff -up Unicode-EastAsianWidth-1.33/MANIFEST.noinc Unicode-EastAsianWidth-1.33/MANIFEST
--- Unicode-EastAsianWidth-1.33/MANIFEST.noinc 2014-07-08 15:01:40.252642471 -0400
+++ Unicode-EastAsianWidth-1.33/MANIFEST 2014-07-08 15:01:47.592600413 -0400
@@ -1,16 +1,4 @@
Changes
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/GithubMeta.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Package.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-inc/Module/Package.pm
-inc/Pod/Markdown.pm
lib/Unicode/EastAsianWidth.pm
Makefile.PL
MANIFEST This list of files

View File

@ -0,0 +1,48 @@
Name: perl-Unicode-EastAsianWidth
Version: 1.33
Release: 15
Summary: East Asian Width properties
License: CC0
URL: https://metacpan.org/release/Unicode-EastAsianWidth
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-%{version}.tar.gz
Patch0: perl-Unicode-EastAsianWidth-no-inc.patch
BuildArch: noarch
BuildRequires: perl perl-generators perl-Exporter perl-ExtUtils-MakeMaker
BuildRequires: perl-Module-Package perl-Pod-Markdown perl-Module-Package-Au
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module provide user-defined Unicode properties that deal with width
status of East Asian characters, as specified in
<http://www.unicode.org/unicode/reports/tr11/>.
%prep
%autosetup -n Unicode-EastAsianWidth-%{version} -p1
rm -rf inc/*
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
make test
%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Unicode/
%{_mandir}/man3/*
%changelog
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.33-15
- Package init