11 Star 0 Fork 7

src-openEuler / perl-ExtUtils-Install

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-ExtUtils-Install.spec 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
%define mod_name ExtUtils-Install
Name: perl-%{mod_name}
Version: 2.20
Release: 2
Summary: Install Perl files from here to there
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils make
BuildRequires: perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) perl(strict) sed
BuildRequires: perl(AutoSplit) perl(Carp) perl(Config)
BuildRequires: perl(Cwd) perl(Exporter) perl(File::Basename)
BuildRequires: perl(File::Compare) perl(File::Copy) perl(File::Find)
BuildRequires: perl(File::Path) perl(File::Spec) perl(vars)
BuildRequires: perl(diagnostics) perl(ExtUtils::MM)
BuildRequires: perl(File::Temp) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(AutoSplit) perl(Data::Dumper) perl(File::Compare)
Recommends: perl(POSIX)
%{?perl_default_filter}
%description
Perl modules installing and uninstalling
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{mod_name}-%{version} -p1
rm -rf t/lib/Test
sed -i -e '/^t\/lib\/Test\//d' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Tue Oct 25 2022 zhoushuiqing <zhoushuiqing2@huawei.com> - 2.20-2
- define mod_name to opitomize the specfile
* Fri Jan 29 2021 yuanxin <yuanxin24@huawei.com> - 2.20-1
- upgrade version to 2.20
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 2.16-1
- update version to 2.16
* Sat Sep 14 2019 zhangsaisai <zhangsaisai@huawei.com> - 2.14-419
- Package Init
1
https://gitee.com/src-openeuler/perl-ExtUtils-Install.git
git@gitee.com:src-openeuler/perl-ExtUtils-Install.git
src-openeuler
perl-ExtUtils-Install
perl-ExtUtils-Install
openEuler-22.03-LTS

搜索帮助