|
|
0247c0 |
Name: perl-HTTP-Negotiate
|
|
|
0247c0 |
Version: 6.01
|
|
|
0247c0 |
Release: 5%{?dist}
|
|
|
0247c0 |
Summary: Choose a variant to serve
|
|
|
0247c0 |
License: GPL+ or Artistic
|
|
|
0247c0 |
Group: Development/Libraries
|
|
|
0247c0 |
URL: http://search.cpan.org/dist/HTTP-Negotiate/
|
|
|
0247c0 |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-%{version}.tar.gz
|
|
|
0247c0 |
BuildArch: noarch
|
|
|
0247c0 |
BuildRequires: perl(Exporter)
|
|
|
0247c0 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
0247c0 |
BuildRequires: perl(HTTP::Headers) >= 6
|
|
|
0247c0 |
# Tests only:
|
|
|
0247c0 |
BuildRequires: perl(Test)
|
|
|
0247c0 |
BuildRequires: perl(HTTP::Request)
|
|
|
0247c0 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
0247c0 |
Requires: perl(HTTP::Headers) >= 6
|
|
|
0247c0 |
Conflicts: perl-libwww-perl < 6
|
|
|
0247c0 |
|
|
|
0247c0 |
# Remove underspecified dependencies
|
|
|
0247c0 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::Headers\\)$
|
|
|
0247c0 |
|
|
|
0247c0 |
%description
|
|
|
0247c0 |
This module provides a complete implementation of the HTTP content
|
|
|
0247c0 |
negotiation algorithm specified in draft-ietf-http-v11-spec-00.ps chapter
|
|
|
0247c0 |
12. Content negotiation allows for the selection of a preferred content
|
|
|
0247c0 |
representation based upon attributes of the negotiable variants and the
|
|
|
0247c0 |
value of the various Accept* header fields in the request.
|
|
|
0247c0 |
|
|
|
0247c0 |
%prep
|
|
|
0247c0 |
%setup -q -n HTTP-Negotiate-%{version}
|
|
|
0247c0 |
|
|
|
0247c0 |
%build
|
|
|
0247c0 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
0247c0 |
make %{?_smp_mflags}
|
|
|
0247c0 |
|
|
|
0247c0 |
%install
|
|
|
0247c0 |
make pure_install DESTDIR=%{buildroot}
|
|
|
0247c0 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
0247c0 |
%{_fixperms} %{buildroot}/*
|
|
|
0247c0 |
|
|
|
0247c0 |
%check
|
|
|
0247c0 |
make test
|
|
|
0247c0 |
|
|
|
0247c0 |
%files
|
|
|
0247c0 |
%doc Changes README
|
|
|
0247c0 |
%{perl_vendorlib}/*
|
|
|
0247c0 |
%{_mandir}/man3/*
|
|
|
0247c0 |
|
|
|
0247c0 |
%changelog
|
|
|
0247c0 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.01-5
|
|
|
0247c0 |
- Mass rebuild 2013-12-27
|
|
|
0247c0 |
|
|
|
0247c0 |
* Wed Nov 14 2012 Petr Šabata <contyk@redhat.com> - 6.01-4
|
|
|
0247c0 |
- Modernize the spec and drop command macros
|
|
|
0247c0 |
|
|
|
0247c0 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3
|
|
|
0247c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0247c0 |
|
|
|
0247c0 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.01-2
|
|
|
0247c0 |
- Perl 5.16 rebuild
|
|
|
0247c0 |
|
|
|
0247c0 |
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
|
|
|
0247c0 |
- 6.01 bump
|
|
|
0247c0 |
|
|
|
0247c0 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-4
|
|
|
0247c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
0247c0 |
|
|
|
0247c0 |
* Mon Jun 25 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-3
|
|
|
0247c0 |
- add new filter
|
|
|
0247c0 |
|
|
|
0247c0 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
|
|
|
0247c0 |
- Perl mass rebuild
|
|
|
0247c0 |
|
|
|
0247c0 |
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
|
|
|
0247c0 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
0247c0 |
- Remove BuildRoot stuff
|
|
|
0247c0 |
- Conflicts with perl-libwww-perl-5* and older
|