3 %bcond_without tests # do not perform "make test"
7 Summary: Email::Date - find and format Date headers
8 Summary(pl.UTF-8): Email::Date - znajdywanie i formatowanie nagłówków Date
13 License: GPL v1+ 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: 4df8d2025e24ffc37217b678ec7e4cb3
17 URL: http://search.cpan.org/dist/Email-Date/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Email-Abstract >= 2.10
22 BuildRequires: perl-Email-Date-Format >= 1.000
23 BuildRequires: perl-Email-Simple >= 1.9
24 BuildRequires: perl-Test-Pod >= 1.14
25 BuildRequires: perl-Test-Pod-Coverage >= 1.08
26 BuildRequires: perl-Time-Piece >= 1.08
27 BuildRequires: perl-TimeDate >= 2.27
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 RFC 2822 defines the Date: header. It declares the header a required
34 part of an email message. The syntax for date headers is clearly laid
35 out. Still, even a perfectly planned world has storms. The truth is,
36 many programs get it wrong. Very wrong. Or, they don't include a Date:
37 header at all. This often forces you to look elsewhere for the date,
38 and hoping to find something.
40 For this reason, the tedious process of looking for a valid date has
41 been encapsulated in this software. Further, the process of creating
42 RFC compliant date strings is also found in this software.
44 %description -l pl.UTF-8
45 RFC 2822 definiuje nagłówek Date: (zawierający datę). Określa ten
46 nagłówek jako obowiązkową część listu. Składnia nagłówków daty jest
47 jasno opisana. Mimo to wiele programów źle tworzy ten nagłówek. Bardzo
48 źle. Albo nie dołącza go w ogóle. Zwykle zmusza to do szukania daty
49 gdzieś indziej z nadzieją znalezienia czegoś.
51 Z tego powodu nudny proces poszukiwania poprawnej daty został
52 opakowany w ten pakiet. Co więcej, proces tworzenia łańcuchów daty
53 zgodnych z RFC także można tu znaleźć.
56 %setup -q -n %{pdir}-%{pnam}-%{version}
59 %{__perl} Makefile.PL \
63 %{?with_tests:%{__make} test}
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %{perl_vendorlib}/Email/*.pm