perl-Locale-Codes/perl-Locale-Codes.spec

76 lines
1.7 KiB
RPMSpec
Raw Normal View History

%define mod_name Locale-Codes
Name: perl-%{mod_name}
Version: 3.77
2023-07-25 20:16:58 +08:00
Release: 1
2019-09-30 11:12:42 -04:00
Summary: A distribution of modules to handle locale codes
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/%{mod_name}-%{version}.tar.gz
2019-09-30 11:12:42 -04:00
BuildArch: noarch
2020-07-29 16:09:59 +08:00
BuildRequires:coreutils findutils perl-generators perl-interpreter
BuildRequires:perl(Test::Inter) perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More)
2019-09-30 11:12:42 -04:00
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 %{mod_name}-%{version} -p1
2019-09-30 11:12:42 -04:00
%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 Jan 17 2024 xujing <xujing125@huawei.com> - 3.77-1
- update version to 3.77
2023-07-25 20:16:58 +08:00
* Tue Jul 25 2023 xujing <xujing125@huawei.com> - 3.74-1
- update version to 3.74
* Thu Oct 20 2022 xujing <xujing99@huawei.com> - 3.68-2
- define mod_name to opitomize the specfile
2021-12-25 15:43:16 +08:00
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 3.68-1
- upgrade version to 3.68
2021-01-29 14:58:49 +08:00
* Fri Jan 29 2021 yuanxin <yuanxin24@huawei.com> - 3.66-1
- upgrade version to 3.66
2020-07-29 16:09:59 +08:00
* Wed Jul 29 2020 shixuantong <shixuantong@huawei.com> - 3.64-1
- update to 3.64-1
2019-09-30 11:12:42 -04:00
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.58-2
- Package init