59 lines
1.3 KiB
RPMSpec
59 lines
1.3 KiB
RPMSpec
Name: perl-Locale-Codes
|
|
Version: 3.64
|
|
Release: 1
|
|
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
|
|
BuildRequires:perl(Test::Inter) 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 Jul 29 2020 shixuantong <shixuantong@huawei.com> - 3.64-1
|
|
- update to 3.64-1
|
|
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.58-2
|
|
- Package init
|