%define upstream_name Term-StatusBar %define upstream_version 1.18 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Dynamic progress bar 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::Size) BuildArch: noarch %description Term::StatusBar provides an easy way to create a terminal status bar, much like those found in a graphical environment. Term::Size is used to ensure the bar does not extend beyond the terminal's width. All outout is sent to STDOUT by default. %prep %setup -q -n %{upstream_name} %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 README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Oct 18 2013 umeabot <umeabot> 1.180.0-3.mga4 + Revision: 514979 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.180.0-2.mga3 + Revision: 373319 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 1.180.0-1.mga1 + Revision: 22886 - cleaning spec file - imported package perl-Term-StatusBar