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