3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Time::Warp - control over the flow of time
9 Summary(pl.UTF-8): Time::Warp - kontrola nad upływem czasu
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/J/JP/JPRIT/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 33652a9dfdc11366ddba95efe6432a51
18 URL: http://search.cpan.org/dist/Time-Warp/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Our external experience unfolds in 3 1/2 dimensions (time has a
25 dimensionality of 1/2). The Time::Warp module offers developers
26 control over the measurement of time.
28 %description -l pl.UTF-8
29 Nasze zewnętrzne doświadczenie odsłania się w 3.5 wymiarach (czas ma
30 pół wymiaru). Moduł Time::Warp oferuje programistom kontrolę nad
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 OPTIMIZE="%{rpmcflags}"
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorarch}/Time/*.pm
58 %dir %{perl_vendorarch}/auto/Time/Warp
59 %attr(755,root,root) %{perl_vendorarch}/auto/Time/Warp/*.so