代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
Name: perl-Getopt-Euclid
Version: 0.4.6
Release: 1
Summary: Executable Uniform Command-Line Interface Descriptions
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Getopt-Euclid/
Source0: http://www.cpan.org/authors/id/F/FA/FANGLY/Getopt-Euclid-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 0:5.005
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(List::Util)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Pod::Checker)
BuildRequires: perl(Pod::PlainText)
BuildRequires: perl(Pod::Select)
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Balanced)
BuildRequires: perl(version)
Requires: perl(File::Spec::Functions)
Requires: perl(List::Util)
Requires: perl(Pod::PlainText)
Requires: perl(Pod::Select)
Requires: perl(Text::Balanced)
Requires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Getopt::Euclid uses your program's own POD documentation to create a
powerful command-line argument parser. This ensures that your program's
documented interface and its actual interface always agree.
%package help
Summary : Executable Uniform Command-Line Interface Descriptions
Provides: perl-Getopt-Euclid-doc
%description help
Getopt::Euclid uses your program's own POD documentation to create a
powerful command-line argument parser. This ensures that your program's
documented interface and its actual interface always agree.
%prep
%setup -q -n Getopt-Euclid-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
pushd %{buildroot}
touch filelist.lst
if [ -d usr/bin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ];then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib ];then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files -f filelist.lst
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Tue Feb 06 2024 woody2918 <wudi1@uniontech.com> - 0.4.6-1
- Update version to 0.4.6
- David Precious (BIGPRESH) taking on maintainership
- Avoid test failures on perls without '.' in @INC
- Minor wording change
* Mon Jun 07 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.4.5-1
- Specfile autogenerated by Perl_Bot and remove BuildRequires and Requires package perl-IO-Pager
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。