83 lines
2.7 KiB
RPMSpec
83 lines
2.7 KiB
RPMSpec
![]() |
# vim: set sw=4 ts=4 et nu:
|
||
|
#
|
||
|
# spec file for package perl-HTTP-Request-Params
|
||
|
#
|
||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
|
||
|
Name: perl-HTTP-Request-Params
|
||
|
Version: 1.01
|
||
|
Release: 0
|
||
|
Summary: Parse HTTP Requests for incoming Query Parameters
|
||
|
License: GPL-2.0+ or Artistic-1.0
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/HTTP-Request-Params-%{version}.tar.gz
|
||
|
Url: http://search.cpan.org/dist/HTTP-Request-Params
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
%{perl_requires}
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: perl(CGI) >= 3.00
|
||
|
BuildRequires: perl(Class::Accessor::Fast) >= 0.19
|
||
|
BuildRequires: perl(Email::MIME::ContentType) >= 1.0
|
||
|
BuildRequires: perl(Email::MIME::Modifier) >= 1.42
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
BuildRequires: perl(HTTP::Request) >= 1.40
|
||
|
BuildRequires: perl(HTTP::Request::Common) >= 1.26
|
||
|
Requires: perl(CGI) >= 3.00
|
||
|
Requires: perl(Class::Accessor::Fast) >= 0.19
|
||
|
Requires: perl(Email::MIME::ContentType) >= 1.0
|
||
|
Requires: perl(Email::MIME::Modifier) >= 1.42
|
||
|
Requires: perl(HTTP::Request) >= 1.40
|
||
|
Requires: perl(HTTP::Request::Common) >= 1.26
|
||
|
%if 0%{?suse_version} >= 1120
|
||
|
BuildArch: noarch
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
This software does all the dirty work of parsing HTTP Requests to find
|
||
|
incoming query parameters.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "HTTP-Request-Params-%{version}"
|
||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make %{?_smp_flags}
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%check
|
||
|
%__make test
|
||
|
|
||
|
%clean
|
||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes README
|
||
|
%dir %{perl_vendorlib}/HTTP
|
||
|
%dir %{perl_vendorlib}/HTTP/Request
|
||
|
%{perl_vendorlib}/HTTP/Request/Params.pm
|
||
|
%doc %{perl_man3dir}/HTTP::Request::Params.%{perl_man3ext}%{ext_man}
|
||
|
|
||
|
%changelog
|