5 Star 0 Fork 3

src-openEuler/perl-Getopt-Euclid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Getopt-Euclid.spec 2.85 KB
一键复制 编辑 原始数据 按行查看 历史
woody2918 提交于 2024-02-06 13:01 . update version to 0.4.6
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Getopt-Euclid.git
git@gitee.com:src-openeuler/perl-Getopt-Euclid.git
src-openeuler
perl-Getopt-Euclid
perl-Getopt-Euclid
master

搜索帮助