125 Star 0 Fork 4

src-openEuler / perl-File-ShareDir-Install

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-File-ShareDir-Install.spec 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
Qianbiao.NG 提交于 2019-12-04 20:24 . fixes: update build requires
Name: perl-File-ShareDir-Install
Version: 0.13
Release: 4
Summary: Install shared files
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-ShareDir-Install
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
BuildRequires: perl(Carp) perl(Exporter) perl(File::Spec) perl(IO::Dir) perl(strict) perl(warnings)
BuildRequires: perl(Test::More) perl(File::Path)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
File::ShareDir::Install allows you to install read-only data files from a
distribution. It is a companion module to File::ShareDir, which allows you
to locate these files after installation.
%package_help
%prep
%autosetup -n File-ShareDir-Install-%{version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENSE
%{perl_vendorlib}/*
%files help
%doc Changes CONTRIBUTING README
%{_mandir}/man3/*.3*
%changelog
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 0.13-4
- Repackage for openEuler OS
1
https://gitee.com/src-openeuler/perl-File-ShareDir-Install.git
git@gitee.com:src-openeuler/perl-File-ShareDir-Install.git
src-openeuler
perl-File-ShareDir-Install
perl-File-ShareDir-Install
openEuler-22.03-LTS

搜索帮助