]> git.pld-linux.org Git - packages/perl-HTTP-Body.git/blame - perl-HTTP-Body.spec
- version 1.05, kill readme same as pod
[packages/perl-HTTP-Body.git] / perl-HTTP-Body.spec
CommitLineData
7b0784bf 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir HTTP
7%define pnam Body
8Summary: HTTP::Body - HTTP Body Parser
38b9863c 9Summary(pl.UTF-8): HTTP::Body - parser ciała odpowiedzi HTTP
7b0784bf 10Name: perl-HTTP-Body
e9e75ce1 11Version: 1.05
7b0784bf 12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e9e75ce1 17# Source0-md5: 1379184350749d108de4b0f47610a2b7
5b8ffd21 18URL: http://search.cpan.org/dist/HTTP-Body/
7b0784bf 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-Path-Class
c8974454 23BuildRequires: perl-YAML >= 0.39
7b0784bf 24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29HTTP Body Parser.
30
932a4f5c
JR
31%description -l pl.UTF-8
32Parser ciała odpowiedzi HTTP.
7b0784bf 33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40%{__make}
41
42%{?with_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
e9e75ce1 55%doc Changes
7b0784bf 56%{perl_vendorlib}/HTTP/*.pm
57%{perl_vendorlib}/HTTP/Body
58%{_mandir}/man3/*
This page took 0.092104 seconds and 4 git commands to generate.