%define upstream_name Term-ProgressBar-Simple %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Simpler progress bars License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Term/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Term::ProgressBar::Quiet) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description Progress bars are handy - they tell you how much work has been done, how much is left to do and estimate how long it will take. But they can be fiddly! This module does the right thing in almost all cases in a really convenient way. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc CHANGES %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 03 2010 Jérôme Quelin <jquelin@mandriva.org> 0.30.0-1mdv2010.1 + Revision: 485960 - import perl-Term-ProgressBar-Simple * Sun Jan 03 2010 cpan2dist 0.03-1mdv - initial mdv release, generated with cpan2dist