3 %bcond_without tests # do not perform "make test"
7 Summary: Time::Progress - Elapsed and estimated finish time reporting
8 Summary(pl.UTF-8): Time::Progress - informowanie o minionym i oczekiwanym czasie zakończenia operacji
9 Name: perl-Time-Progress
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Time/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 83471e25b5b243be3ffa4e71387b020c
16 URL: http://search.cpan.org/dist/Time-Progress/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Time::Progress reports elapsed and estimated finish time. Shortest
24 time interval that can be measured is 1 second (This should be fixed
25 in the future perhaps).
27 %description -l pl.UTF-8
28 Time::Progress informuje o mimionym i oczekiwanym czasie zakończenia
29 operacji. Najkrótszy mierzony czas to 1 sekunda (być może zostanie to
30 poprawione w przyszłości).
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{_mandir}/man3/Time::Progress.3pm*
55 %{perl_vendorlib}/Time/Progress.pm