]>
Commit | Line | Data |
---|---|---|
b9ef3c05 MP |
1 | # |
2 | # Conditional build: | |
1e0d1cdc | 3 | %bcond_with tests # do not perform "make test" |
b9ef3c05 MP |
4 | # |
5 | %include /usr/lib/rpm/macros.perl | |
6 | %define pdir DateTime | |
4865b32c JB |
7 | Summary: DateTime - representation of date/time combinations |
8 | Summary(pl): DateTime - reprezentacja kombinacji daty i czasu | |
b9ef3c05 | 9 | Name: perl-DateTime |
cd0a14c2 | 10 | Version: 0.22 |
b9ef3c05 | 11 | Release: 1 |
4865b32c | 12 | # same as perl |
d33e5355 | 13 | License: GPL v1+ or Artistic |
b9ef3c05 MP |
14 | Group: Development/Languages/Perl |
15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz | |
cd0a14c2 | 16 | # Source0-md5: b0655fce30830bc413791d260f5185c4 |
4865b32c | 17 | URL: http://datetime.perl.org/ |
cd0a14c2 | 18 | %if %{with tests} |
4865b32c | 19 | BuildRequires: perl-Class-Factory |
b9ef3c05 MP |
20 | BuildRequires: perl-DateTime-Locale |
21 | BuildRequires: perl-DateTime-TimeZone | |
b9ef3c05 | 22 | BuildRequires: perl-Params-Validate |
cd0a14c2 | 23 | %endif |
4865b32c JB |
24 | BuildRequires: perl-devel >= 1:5.8.0 |
25 | BuildRequires: rpm-perlprov >= 4.1-13 | |
b9ef3c05 MP |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | DateTime is a class for the representation of date/time combinations, | |
30 | and is part of the Perl DateTime project. For details on this project | |
31 | please see <http://datetime.perl.org/>. The DateTime site has a FAQ | |
32 | which may help answer many "how do I do X?" questions. The FAQ is at | |
33 | <http://datetime.perl.org/faq.html>. | |
34 | ||
4865b32c JB |
35 | %description -l pl |
36 | Content-type: text/html ]>