Package init
This commit is contained in:
commit
d3efd02296
BIN
Locale-Codes-3.58.tar.gz
Normal file
BIN
Locale-Codes-3.58.tar.gz
Normal file
Binary file not shown.
55
perl-Locale-Codes.spec
Normal file
55
perl-Locale-Codes.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-Locale-Codes
|
||||||
|
Version: 3.58
|
||||||
|
Release: 2
|
||||||
|
Summary: A distribution of modules to handle locale codes
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/Locale-Codes
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires:coreutils findutils perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More)
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Locale-Codes is a distribution containing a set of modules designed to
|
||||||
|
work with sets of codes which uniquely identify something.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Locale-Codes-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%pre
|
||||||
|
|
||||||
|
%preun
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes README examples/
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.first
|
||||||
|
%{_mandir}/*/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.58-2
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user