perl-Term-Cap/perl-Term-Cap.spec
2019-12-25 16:03:26 +08:00

65 lines
1.5 KiB
RPMSpec

Name: perl-Term-Cap
Version: 1.17
Release: 510
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
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root)
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%package_help
%files help
%defattr(-,root,root)
%{_mandir}/man3/*
%changelog
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.17-510
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:change mod of files
* Mon Sep 23 2019 shenyangyang<shenyangyang4@huawei.com> - 1.17-509
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise requires of perl
* Fri Aug 30 2019 hexiaowen <hexiaowen@huawei.com> 1.17-508
- Package init