This commit is contained in:
Petr Písař 2015-07-10 12:38:15 +02:00
parent d89a729612
commit 3d342c1c1b
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Term-Cap-1.16.tar.gz

55
perl-Term-Cap.spec Normal file
View File

@ -0,0 +1,55 @@
Name: perl-Term-Cap
Version: 1.16
Release: 1%{?dist}
Summary: Perl termcap interface
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Term-Cap/
Source0: http://www.cpan.org/authors/id/J/JS/JSTOWE/Term-Cap-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
# ncurses for infocmp tool
BuildRequires: ncurses
BuildRequires: perl(Carp)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test::More)
# ncurses for infocmp tool
Requires: ncurses
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
Conflicts: perl < 4:5.22.0-347
%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
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 1.16-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
6d3e0184688205d3bd797d14f840c253 Term-Cap-1.16.tar.gz