commit 08b167b0c33d6487c0343fb9bb3d2ec7a7bd3caf Author: Kostas Georgiou <georgiou@xxxxxxxxxxxxx> Date: Thu Oct 17 15:43:56 2013 +0100 Import spec file .gitignore | 1 + perl-Term-Clui.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3e64b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Term-Clui-1.68.tar.gz diff --git a/perl-Term-Clui.spec b/perl-Term-Clui.spec new file mode 100644 index 0000000..4d538c9 --- /dev/null +++ b/perl-Term-Clui.spec @@ -0,0 +1,67 @@ +Name: perl-Term-Clui +Version: 1.68 +Release: 3%{?dist} +Summary: Perl module offering a Command-Line User Interface +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-Clui/ +Source0: http://www.cpan.org/authors/id/P/PJ/PJB/Term-Clui-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Term::ReadKey) +BuildRequires: perl(Term::ReadLine::Gnu) +BuildRequires: perl(Term::Size) +BuildRequires: perl(Test::Simple) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +Requires: perl(Term::ReadKey) +Requires: perl(Term::ReadLine::Gnu) +Requires: perl(Term::Size) +Requires: perl(strict) +Requires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +Term::Clui offers a high-level user interface to give the user of command- +line applications a consistent "look and feel". Its metaphor for the +computer is as a human-like conversation-partner, and as each +question/response is completed it is summarised onto one line, and remains +on screen, so that the history of the session gradually accumulates on the +screen and is available for review, or for cut/paste. This user interface +can therefore be intermixed with standard applications which write to +STDOUT or STDERR, such as make, pgp, rcs etc. + +%prep +%setup -q -n Term-Clui-%{version} +#Don't pull in the examples dependencies +chmod -x examples/* + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README examples +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Oct 16 2013 Kostas Georgiou <georgiou@xxxxxxxxxxxxx> 1.68-3 +- use DESTDIR instead of PERL_INSTALL_ROOT at install + +* Wed Oct 16 2013 Kostas Georgiou <georgiou@xxxxxxxxxxxxx> 1.68-2 +- Review changes/fixes #1018859. + +* Wed Oct 02 2013 Kostas Georgiou <georgiou@xxxxxxxxxxxxx> 1.68-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..8814755 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +141541f3cb3167059a064813a3c0dd08 Term-Clui-1.68.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel