3 %bcond_without tests # do not perform "make test"
7 Summary: Rose::DateTime - DateTime helper functions and objects.
9 Name: perl-Rose-DateTime
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Rose/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 3215b1185f8668f257a324efb464853e
17 URL: http://search.cpan.org/dist/Rose-DateTime/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 # FAIL: circular dependency
22 #BuildRequires: perl(Rose::Object) >= 0.82
23 BuildRequires: perl-DateTime
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The Rose::DateTime::* modules provide a few convenience functions
30 and objects for use with DateTime dates.
32 Rose::DateTime::Util contains a simple date parser and a slightly
33 customized date formatter.
35 Rose::DateTime::Parser encapsulates a date parser with an associated
38 # %description -l pl.UTF-8
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 # the "||:" added due to the circular dependency with perl-Rose-Object
50 %{?with_tests:%{__make} test ||:}
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{perl_vendorlib}/Rose/*.pm
65 %{perl_vendorlib}/Rose/DateTime