1 %include /usr/lib/rpm/macros.perl
4 Summary: Manipulating timezones and parsing/formatting dates in Perl
5 Summary(pl): Manipulowanie strefami czasowymi i analizowanie/formatowanie dat w Perlu
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
13 BuildRequires: rpm-perlprov >= 4.0.2-104
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 TimeDate contains Date::Format, Date::Parse and Time::Zone.
20 Date::Format provides routines to format dates into ASCII strings.
21 They correspond to the C library routines strftime() and ctime().
23 Date::Parse provides two routines for parsing date strings into time
24 values: str2time(DATE [, ZONE]) and strptime(DATE [, ZONE]).
26 Time::Zone contains miscellaneous timezone manipulations routines.
29 TimeDate zawiera modu³y: Date::Format, Date::Parse i Time::Zone.
31 Date::Format dostarcza funkcje, formatuj±ce datê w ci±gi ASCII.
32 Funkcje te odpowiadaj± strftime() i ctime() z biblioteki C.
34 Date::Parse udostêpnia dwie funkcje do przetwarzania dat w warto¶ci
35 time: str2time(DATE [, ZONE]) and strptime(DATE [, ZONE]).
37 Time::Zone zawiera ró¿ne funkcje, s³u¿±ce do manipulowania strefami
41 %setup -q -n %{pdir}%{pnam}-%{version}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_sitelib}/Date/*.pm
59 %dir %{perl_sitelib}/Date/Language
60 %{perl_sitelib}/Date/Language/*.pm
61 %{perl_sitelib}/Time/*.pm