]> git.pld-linux.org Git - packages/perl-HTTP-Date.git/blame - perl-HTTP-Date.spec
- updated to 6.02
[packages/perl-HTTP-Date.git] / perl-HTTP-Date.spec
CommitLineData
15341e46
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir HTTP
6%define pnam Date
7%include /usr/lib/rpm/macros.perl
8Summary: HTTP::Date - date conversion routines
9Summary(pl.UTF-8): HTTP::Date - funkcje do konwersji dat
10Name: perl-HTTP-Date
d0f390af 11Version: 6.02
15341e46
JB
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/HTTP/%{pdir}-%{pnam}-%{version}.tar.gz
d0f390af 17# Source0-md5: 52b7a0d5982d61be1edb217751d7daba
15341e46
JB
18URL: http://search.cpan.org/dist/HTTP-Date/
19BuildRequires: perl-devel >= 1:5.8.8
20BuildRequires: rpm-perlprov >= 4.1-13
21Conflicts: perl-libwww < 6
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module provides functions that deal the date formats used by the
27HTTP protocol (and then some more). Only the first two functions,
28time2str() and str2time(), are exported by default.
29
30%description -l pl.UTF-8
31Ten moduł udostępnia funkcje obsługujące formaty danych używane w
32protokole HTTP (i paru innych). Domyślnie eksportowane są tylko dwie
33funkcje: time2str() i str2time().
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41%{__make}
42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} pure_install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
6fd23324 56%doc Changes
15341e46
JB
57%{perl_vendorlib}/HTTP/Date.pm
58%{_mandir}/man3/HTTP::Date.3pm*
This page took 0.090981 seconds and 4 git commands to generate.