5 Star 0 Fork 4

src-openEuler/perl-Business-ISSN
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Business-ISSN.spec 2.01 KB
一键复制 编辑 原始数据 按行查看 历史
fuowang 提交于 2022-07-15 10:56 +08:00 . Initial source code for perl-Business-ISSN
%global _empty_manifest_terminate_build 0
Name: perl-Business-ISSN
Version: 1.005
Release: 1
Summary: Perl extension for International Standard Serial Numbers
License: Artistic 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Business-ISSN/
Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISSN-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 0:5.008
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The constructor accepts a scalar representing the ISSN.
%package help
Summary : Perl extension for International Standard Serial Numbers
Provides: perl-Business-ISSN-doc
%description help
The constructor accepts a scalar representing the ISSN.
%prep
%setup -q -n Business-ISSN-%{version}
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
export PERL_MM_OPT=""
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
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 CITATION.cff INSTALL.SKIP LICENSE META.json
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Fri Jul 15 2022 wangshuo <wangshuo@kylinos.cn> - 1.005-1
- Specfile autogenerated by Perl_Bot
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Business-ISSN.git
git@gitee.com:src-openeuler/perl-Business-ISSN.git
src-openeuler
perl-Business-ISSN
perl-Business-ISSN
openEuler-23.09

搜索帮助