commit 3b3624daf375011f72b5fceebd930a32d016eda5 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:19 2019 -0400 Package init diff --git a/Term-Cap-1.17.tar.gz b/Term-Cap-1.17.tar.gz new file mode 100644 index 0000000..7350ec8 Binary files /dev/null and b/Term-Cap-1.17.tar.gz differ diff --git a/perl-Term-Cap.spec b/perl-Term-Cap.spec new file mode 100644 index 0000000..b3025ed --- /dev/null +++ b/perl-Term-Cap.spec @@ -0,0 +1,57 @@ +Name: perl-Term-Cap +Version: 1.17 +Release: 509 +Summary: Perl termcap interface +License: GPL+ or Artistic +URL: https://metacpan.org/release/Term-Cap +Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/Term-Cap-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +# ncurses for infocmp tool +Requires: ncurses +Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) +Requires: perl(Carp) + +%description +These are low-level functions to extract and use capabilities from a +terminal capability (termcap) database. + +%prep +%setup -q -n Term-Cap-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +%make_build + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +%check +make test + +%files +%defattr(-,root,root) +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* + +%package_help +%files help +%defattr(-,root,root) +%{_mandir}/man3/* + +%changelog +* Mon Sep 23 2019 shenyangyang - 1.17-509 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise requires of perl + +* Fri Aug 30 2019 hexiaowen 1.17-508 +- Package init