source: spec/trunk/SPECS/perl-HTTP-Negotiate.spec@ 1566

Last change on this file since 1566 was 1310, checked in by Silvan Scherrer, 8 years ago

spec: perl-HTTP-Negotiate: Release version 6.01-1.

File size: 1.9 KB
Line 
1Name: perl-HTTP-Negotiate
2Version: 6.01
3Release: 1%{?dist}
4Summary: Choose a variant to serve
5License: GPL+ or Artistic
6URL: http://search.cpan.org/dist/HTTP-Negotiate/
7Vendor: bww bitwise works GmbH
8Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-%{version}.tar.gz
9BuildArch: noarch
10BuildRequires: make
11#BuildRequires: perl-interpreter
12BuildRequires: perl-generators
13#BuildRequires: perl(:VERSION) >= 5.8.1
14BuildRequires: perl(ExtUtils::MakeMaker)
15BuildRequires: perl(strict)
16# Run-time:
17BuildRequires: perl(Exporter)
18BuildRequires: perl(HTTP::Headers) >= 6
19# Tests only:
20BuildRequires: perl(HTTP::Request)
21BuildRequires: perl(Test)
22Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23Requires: perl(HTTP::Headers) >= 6
24Conflicts: perl-libwww-perl < 6
25
26# Remove underspecified dependencies
27%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::Headers\\)$
28
29%description
30This module provides a complete implementation of the HTTP content
31negotiation algorithm specified in draft-ietf-http-v11-spec-00.ps chapter
3212. Content negotiation allows for the selection of a preferred content
33representation based upon attributes of the negotiable variants and the
34value of the various Accept* header fields in the request.
35
36%prep
37%setup -q -n HTTP-Negotiate-%{version}
38
39%build
40perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
41make %{?_smp_mflags}
42make manifypods
43
44%install
45make pure_install DESTDIR=%{buildroot}
46find %{buildroot} -type f -name .packlist -exec rm -f {} \;
47%{_fixperms} %{buildroot}/*
48
49%check
50#make test
51
52%files
53%doc Changes README
54%{perl_vendorlib}/*
55%{_mandir}/man3/*
56
57%changelog
58* Fri Feb 23 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 6.01-1
59- initial version
Note: See TracBrowser for help on using the repository browser.