]> git.pld-linux.org Git - packages/perl-HTTP-Request-Params.git/blame - perl-HTTP-Request-Params.spec
- tabs in preamble
[packages/perl-HTTP-Request-Params.git] / perl-HTTP-Request-Params.spec
CommitLineData
b6441cf5 1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
fb92eb1e 4%bcond_without tests # do not perform "make test"
b6441cf5 5#
6%include /usr/lib/rpm/macros.perl
7%define pdir HTTP
8%define pnam Request-Params
9Summary: Retrieve GET/POST Parameters from HTTP Requests
0ae14726 10Summary(pl.UTF-8): Odczytywanie parametrów GET/POST z zapytań HTTP
b6441cf5 11Name: perl-%{pdir}-%{pnam}
12Version: 1.01
13Release: 1
14License: same as Perl
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: fccd255a2992c77b5c40cb5e1e75b256
fb92eb1e 18URL: http://search.cpan.org/dist/HTTP-Request-Params/
b6441cf5 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with autodeps} || %{with tests}
22BuildRequires: perl-Class-Accessor
23BuildRequires: perl-Email-MIME
24BuildRequires: perl-Email-MIME-ContentType
25BuildRequires: perl-Email-MIME-Modifier >= 1.42
26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
b6441cf5 30%description
31This software does all the dirty work of parsing HTTP Requests to find
32incoming query parameters.
33
b2d70f49
JR
34%description -l pl.UTF-8
35Biblioteka wykonująca brudną robotę z parsowaniem zapytań HTTP w celu
36znalezienia parametrów.
b6441cf5 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
b6441cf5 42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} pure_install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
fb92eb1e 61%{perl_vendorlib}/HTTP/Request/Params.pm
b6441cf5 62%{_mandir}/man3/*
This page took 0.035264 seconds and 4 git commands to generate.