perl-Locale-Codes/perl-Locale-Codes.spec
2021-12-25 15:43:16 +08:00

65 lines
1.4 KiB
RPMSpec

Name: perl-Locale-Codes
Version: 3.68
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
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 3.68-1
- upgrade version to 3.68
* Fri Jan 29 2021 yuanxin <yuanxin24@huawei.com> - 3.66-1
- upgrade version to 3.66
* 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