5 Star 0 Fork 10

src-openEuler/perl-Term-Table

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Term-Table.spec 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
沈仲伟 提交于 2024-11-06 18:05 . update to version 0.023
%global _empty_manifest_terminate_build 0
Name: perl-Term-Table
Version: 0.023
Release: 1
Summary: Term::Table Perl module
License: GPL-1.0-or-later or Artistic-1.0
Group: Development/Libraries
URL: https://metacpan.org/release/Term-Table
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(Importer) >= 0.024
BuildRequires: perl(Object::HashBase) >= 0.008
BuildRequires: perl(Test2::API)
BuildRequires: perl(Test2::Tools::Tiny) >= 1.302097
Requires: perl(Importer) >= 0.024
%description
This Perl module is able to format rows of data into tables.
%package help
Summary : Term::Table Perl module
Provides: perl-Term-Table-doc
%description help
This Perl module is able to format rows of data into tables.
%prep
%autosetup -n Term-Table-%{version} -p1
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
export PERL_MM_OPT=""
rm -rf $RPM_BUILD_ROOT
%{make_install}
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 META.json README
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Wed Nov 06 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 0.023-1
- update to version 0.023
- use Test::More if not available
* Thu Aug 8 2024 dfh <dufuhang@kylinos.cn> - 0.022-1
- Upgrade version to 0.022
- Some initial support for non-ASCII systems
* Mon Jul 22 2024 gss <guoshengsheng@kylinos.cn> - 0.018-1
- Upgrade to version 0.018
- Remove 'Importer' dependency
- Merged doc fix PR
* Tue Jun 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.016-1
- Upgrade to version 0.016
* Fri Sep 4 2020 dingyue <dingyue5@huawei.com> -0.015 -2
- Fix install conflict.
* Mon Aug 3 2020 dingyue <dingyue5@huawei.com> -0.015 -1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Term-Table.git
git@gitee.com:src-openeuler/perl-Term-Table.git
src-openeuler
perl-Term-Table
perl-Term-Table
master

搜索帮助