58 lines
1.3 KiB
RPMSpec
58 lines
1.3 KiB
RPMSpec
|
|
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<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
|