commit 1ceff8e6ca1ea261e7ae31e572255fbb861dbb60 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Mar 27 16:12:27 2014 +0100 Import .gitignore | 1 + perl-Term-ProgressBar-Quiet.spec | 53 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..05c273b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Term-ProgressBar-Quiet-0.31.tar.gz diff --git a/perl-Term-ProgressBar-Quiet.spec b/perl-Term-ProgressBar-Quiet.spec new file mode 100644 index 0000000..3ab9256 --- /dev/null +++ b/perl-Term-ProgressBar-Quiet.spec @@ -0,0 +1,53 @@ +Name: perl-Term-ProgressBar-Quiet +Version: 0.31 +Release: 1%{?dist} +Summary: Provide a progress meter if run interactively +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-ProgressBar-Quiet/ +Source0: http://www.cpan.org/authors/id/L/LB/LBROCARD/Term-ProgressBar-Quiet-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(IO::Interactive) +BuildRequires: perl(Term::ProgressBar) +BuildRequires: perl(Test::MockObject) +# Tests: +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.14 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +Term::ProgressBar is a wonderful module for showing progress bars on the +terminal. This module acts very much like that module when it is run +interactively. However, when it is not run interactively (for example, +as a cron job) then it does not show the progress bar. + +%prep +%setup -q -n Term-ProgressBar-Quiet-%{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 +* Thu Mar 27 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.31-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..4266a39 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2ed5b6ac5d480a14ff3233a58987a2e4 Term-ProgressBar-Quiet-0.31.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