]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
5 | %include /usr/lib/rpm/macros.perl | |
6 | %define pdir Date | |
7 | %define pnam Simple | |
8 | Summary: Date::Simple - a simple date object | |
9 | Summary(pl): Date::Simple - prosty obiekt daty | |
10 | Name: perl-Date-Simple | |
11 | Version: 3.01 | |
12 | Release: 2 | |
13 | License: GPL v2+ or Artistic | |
14 | Group: Development/Languages/Perl | |
15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
16 | # Source0-md5: 66133a8738dd7ef46f7008339a86f41d | |
17 | BuildRequires: perl-devel >= 1:5.8.0 | |
18 | BuildRequires: rpm-perlprov >= 4.1-13 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This module may be used to create simple date objects. It only handles | |
24 | dates within the range of Unix time. It will only allow the creation | |
25 | of objects for valid dates. Attempting to create an invalid date will | |
26 | return undef. | |
27 | ||
28 | %description -l pl | |
29 |