From 3d342c1c1be74f96b17132fb973a641d9fa44457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Fri, 10 Jul 2015 12:38:15 +0200 Subject: Import
diff --git a/.gitignore b/.gitignore index e69de29..9b04486 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Term-Cap-1.16.tar.gz diff --git a/perl-Term-Cap.spec b/perl-Term-Cap.spec new file mode 100644 index 0000000..c1b1ba5 --- /dev/null +++ b/perl-Term-Cap.spec @@ -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 <ppi...@redhat.com> 1.16-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..8f9dfc5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6d3e0184688205d3bd797d14f840c253 Term-Cap-1.16.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Term-Cap.git/commit/?h=master&id=3d342c1c1be74f96b17132fb973a641d9fa44457 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel