Package init
This commit is contained in:
commit
00c2c84143
BIN
Encode-Locale-1.05.tar.gz
Normal file
BIN
Encode-Locale-1.05.tar.gz
Normal file
Binary file not shown.
51
perl-Encode-Locale.spec
Normal file
51
perl-Encode-Locale.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: perl-Encode-Locale
|
||||
Version: 1.05
|
||||
Release: 12
|
||||
Summary: Determine the interfacing encoding
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Encode-Locale
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Encode-Locale-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: findutils
|
||||
BuildRequires: perl-interpreter, perl-generators, perl(ExtUtils::MakeMaker), perl(base)
|
||||
BuildRequires: perl(Encode) >= 2, perl(Encode::Alias), perl(Exporter), perl(strict)
|
||||
BuildRequires: perl(warnings), perl(I18N::Langinfo), perl(Test::More), perl(utf8)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Encode) >= 2, perl(I18N::Langinfo), perl(warnings)
|
||||
|
||||
%description
|
||||
The purpose of this Perl module is try determine what encodings should be used
|
||||
when interfacing to various external interfaces.
|
||||
|
||||
%package help
|
||||
Summary: Including man files for perl-Encode-Locale
|
||||
Requires: man
|
||||
BuildArch: noarch
|
||||
|
||||
%description help
|
||||
This contains man files for the using of perl-Encode-Locale.
|
||||
|
||||
%prep
|
||||
%autosetup -n Encode-Locale-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_build pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Encode/
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2019 wangjufeng<wangjufeng@huawei.com> - 1.05-12
|
||||
- openEuler Debranding
|
||||
Loading…
x
Reference in New Issue
Block a user