perl-Locale-Maketext/perl-Locale-Maketext.spec
hongjinghao 5102fd3bf0
添加%{mod_name}宏
添加%{mod_name}宏

Signed-off-by: hongjinghao <hongjinghao@huawei.com>
2022-10-31 11:04:28 +00:00

76 lines
1.7 KiB
RPMSpec

%define mod_name Locale-Maketext
Name: perl-Locale-Maketext
Epoch: 1
Version: 1.29
Release: 2
Summary: Framework for localization
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires:perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(warnings)
%description
Locale::Maketext is a framework for software localization; it provides you with the tools
for organizing and accessing the bits of text and text-processing code that you need for
producing localized applications.
%package_help
%prep
%autosetup -n %{mod_name}-1.29 -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)
%doc ChangeLog README
%{perl_vendorlib}/*
%files help
%defattr(-,root,root)
%{_mandir}/*/*
%changelog
* Mon Oct 31 2022 hongjinghao <hongjinghao@huawei.com> - 1.29-2
- use %{mod_name} marco
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.29-1
- Update to 1.29 as provided in perl-5.28.0-RC1
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:1.28-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-420
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: remove some notes
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-419
- Package init