]> git.pld-linux.org Git - packages/perl-TimeDate.git/blob - perl-TimeDate.spec
- spaces -> tabs
[packages/perl-TimeDate.git] / perl-TimeDate.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Time
3 %define         pnam    Date
4 Summary:        Manipulating timezones and parsing/formatting dates in Perl
5 Summary(pl):    Manipulowanie strefami czasowymi i analizowanie/formatowanie dat w Perlu
6 Name:           perl-TimeDate
7 Version:        1.14
8 Release:        1
9 Epoch:          1
10 License:        GPL
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 TimeDate contains Date::Format, Date::Parse and Time::Zone.
19
20 Date::Format provides routines to format dates into ASCII strings.
21 They correspond to the C library routines strftime() and ctime().
22
23 Date::Parse provides two routines for parsing date strings into time
24 values: str2time(DATE [, ZONE]) and strptime(DATE [, ZONE]).
25
26 Time::Zone contains miscellaneous timezone manipulations routines.
27
28 %description -l pl
29 TimeDate zawiera modu³y: Date::Format, Date::Parse i Time::Zone.
30
31 Date::Format dostarcza funkcje, formatuj±ce datê w ci±gi ASCII.
32 Funkcje te odpowiadaj± strftime() i ctime() z biblioteki C.
33
34 Date::Parse udostêpnia dwie funkcje do przetwarzania dat w warto¶ci
35 time: str2time(DATE [, ZONE]) and strptime(DATE [, ZONE]).
36
37 Time::Zone zawiera ró¿ne funkcje, s³u¿±ce do manipulowania strefami
38 czasowymi.
39
40 %prep
41 %setup -q -n %{pdir}%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc ChangeLog README
58 %{perl_sitelib}/Date/*.pm
59 %dir %{perl_sitelib}/Date/Language
60 %{perl_sitelib}/Date/Language/*.pm
61 %{perl_sitelib}/Time/*.pm
62 %{_mandir}/man3/*
This page took 0.107536 seconds and 3 git commands to generate.