3 %bcond_without tests # do not perform "make test"
7 Summary: Time::Duration - rounded or exact English expression of durations
8 Summary(pl.UTF-8): Time::Duration - przybliżone lub dokładne wyrażanie okresów czasu po angielsku
9 Name: perl-Time-Duration
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Time/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: d65108e0e4e8ffb38e28d532f8ddcd12
17 URL: http://search.cpan.org/dist/Time-Duration/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This module provides functions for expressing durations in rounded or
27 %description -l pl.UTF-8
28 Ten moduł udostępnia funkcje do wyrażania okresów czasu przy użyciu
29 wyrażeń przybliżonych lub dokładnych.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Time/Duration
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Time/*.pm
58 %dir %{perl_vendorlib}/Time/Duration