Chris Weyl d3b9d16
# Note:  The signature check for this perl dist. is disabled by default, as ir
Chris Weyl d3b9d16
# requires network access and would thus fail in the buildsys' mock
Chris Weyl d3b9d16
# environments.  To build locally while enabling the test, either:
Chris Weyl d3b9d16
#
Chris Weyl d3b9d16
#   rpmbuild ... --define '_with_network_tests 1' ...
Chris Weyl d3b9d16
#   rpmbuild ... --with network_tests ...
Chris Weyl d3b9d16
#   define _with_network_tests 1 in your ~/.rpmmacros
Chris Weyl d3b9d16
#
Chris Weyl d3b9d16
# Note that right now, the only way to run tests locally from a cvs sandbox
Chris Weyl d3b9d16
# "make noarch" type scenario is the third one.
Chris Weyl d3b9d16
Chris Weyl d3b9d16
Name:           perl-Term-ProgressBar
Chris Weyl d3b9d16
Version:        2.09
0fa6f7c
Release:        11%{?dist}
Chris Weyl d3b9d16
Summary:        Provide a progress meter on a standard terminal
797a612
License:        GPL+ or Artistic
Chris Weyl d3b9d16
Group:          Development/Libraries
Chris Weyl d3b9d16
URL:            http://search.cpan.org/dist/Term-ProgressBar/
Chris Weyl d3b9d16
Source0:        http://www.cpan.org/authors/id/F/FL/FLUFFY/Term-ProgressBar-%{version}.tar.gz
Chris Weyl d3b9d16
BuildArch:      noarch
Chris Weyl d3b9d16
Chris Weyl d3b9d16
BuildRequires:  perl(Class::MethodMaker) >= 1.02
Chris Weyl d3b9d16
BuildRequires:  perl(Module::Build)
Chris Weyl d3b9d16
BuildRequires:  perl(Term::ReadKey) >= 2.14
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }
Chris Weyl d3b9d16
Chris Weyl d3b9d16
## cpanspec generated -- left for informational purposes...
Chris Weyl d3b9d16
#Requires:       perl(Class::MethodMaker) >= 1.02
d0427e4
Requires:       perl(Term::ReadKey) >= 2.14
Chris Weyl d3b9d16
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%description
Chris Weyl d3b9d16
Term::ProgressBar provides a simple progress bar on the terminal, to let
Chris Weyl d3b9d16
the user know that something is happening, roughly how much stuff has been
Chris Weyl d3b9d16
done, and maybe an estimate at how long remains.
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%prep
Chris Weyl d3b9d16
%setup -q -n Term-ProgressBar-%{version}
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%build
Chris Weyl d3b9d16
%{__perl} Build.PL installdirs=vendor
Chris Weyl d3b9d16
./Build
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%install
Chris Weyl d3b9d16
./Build install destdir=%{buildroot} create_packlist=0
Chris Weyl d3b9d16
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%{_fixperms} %{buildroot}/*
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%check
Chris Weyl d3b9d16
# nix signature check if we're not building with network tests...
Chris Weyl d3b9d16
%{!?_with_network_tests: rm t/0-signature.t }
Chris Weyl d3b9d16
Chris Weyl d3b9d16
# if we are, get rid of files not in MANIFEST
Chris Weyl d3b9d16
%{?_with_network_tests: rm debug*.list }
Chris Weyl d3b9d16
Chris Weyl d3b9d16
./Build test
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%clean
Chris Weyl d3b9d16
rm -rf %{buildroot}
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%files
Chris Weyl d3b9d16
%defattr(-,root,root,-)
Chris Weyl d3b9d16
%doc BUGS Changes README examples/
Chris Weyl d3b9d16
%{perl_vendorlib}/*
Chris Weyl d3b9d16
%{_mandir}/man3/*
Chris Weyl d3b9d16
Chris Weyl d3b9d16
%changelog
0fa6f7c
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.09-11
0fa6f7c
- Perl mass rebuild
0fa6f7c
f672218
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-10
f672218
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f672218
d0427e4
* Tue Nov  2 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.09-9
d0427e4
- 648598 add requirement on Term::ReadKey, it add width feature
d0427e4
4f6f013
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.09-8
4f6f013
- Mass rebuild with perl-5.12.0
4f6f013
17eedeb
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.09-7
17eedeb
- rebuild against perl 5.10.1
17eedeb
64ba455
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-6
64ba455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
64ba455
f976c39
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-5
f976c39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f976c39
295c5e6
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.09-4
295c5e6
- Rebuild for perl 5.10 (again)
295c5e6
797a612
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.09-3
797a612
- rebuild for new perl
797a612
Chris Weyl c7722dd
* Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.09-2
Chris Weyl c7722dd
- bump
Chris Weyl c7722dd
Chris Weyl d3b9d16
* Sat Sep 16 2006 Chris Weyl <cweyl@alumni.drew.edu> 2.09-1
Chris Weyl d3b9d16
- Specfile autogenerated by cpanspec 1.69.1.