3 %bcond_with tests # do perform "make test"
4 # it needs imported gpg key or network connection, do disabled
7 %define pnam ProgressBar
8 Summary: Term::ProgressBar - Perl extension to display a progress bar
9 Summary(pl.UTF-8): Term::ProgressBar - rozszerzenie Perla do wyświetlania paska postępu
10 Name: perl-Term-ProgressBar
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: e8c6a2c779440698f7fbd2b024fae0ac
18 URL: http://search.cpan.org/dist/Term-ProgressBar/
19 BuildRequires: perl-Class-MethodMaker >= 1.02
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 A progress bar for things that take a while. It looks like
28 and is as long as the terminal. Linear estimation of the time left for
29 the process to run is available.
31 %description -l pl.UTF-8
32 Pasek postępu dla rzeczy trwających nieco czasu. Wygląda tak:
34 i jest takiej szerokości jak terminal. Dostępna jest liniowa estymacja
35 czasu potrzebnego na wykonanie procesu.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc BUGS Changes README
59 %{perl_vendorlib}/Term/ProgressBar.pm