6c58bb
Name:           perl-libwww-perl
6c58bb
Version:        6.05
6c58bb
Release:        2%{?dist}
6c58bb
Summary:        A Perl interface to the World-Wide Web
6c58bb
Group:          Development/Libraries
6c58bb
License:        GPL+ or Artistic
6c58bb
URL:            http://search.cpan.org/dist/libwww-perl/
6c58bb
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
6c58bb
BuildArch:      noarch
6c58bb
BuildRequires:  perl
6c58bb
BuildRequires:  perl(Digest::MD5)
6c58bb
BuildRequires:  perl(Encode) >= 2.12
6c58bb
BuildRequires:  perl(Encode::Locale)
6c58bb
BuildRequires:  perl(Exporter)
6c58bb
BuildRequires:  perl(ExtUtils::MakeMaker)
6c58bb
BuildRequires:  perl(File::Copy)
6c58bb
BuildRequires:  perl(File::Listing) >= 6
6c58bb
BuildRequires:  perl(Getopt::Long)
6c58bb
BuildRequires:  perl(HTML::Entities)
6c58bb
BuildRequires:  perl(HTML::HeadParser)
6c58bb
BuildRequires:  perl(HTTP::Cookies) >= 6
6c58bb
BuildRequires:  perl(HTTP::Daemon) >= 6
6c58bb
BuildRequires:  perl(HTTP::Date) >= 6
6c58bb
BuildRequires:  perl(HTTP::Negotiate) >= 6
6c58bb
BuildRequires:  perl(HTTP::Request) >= 6
6c58bb
BuildRequires:  perl(HTTP::Request::Common) >= 6
6c58bb
BuildRequires:  perl(HTTP::Response) >= 6
6c58bb
BuildRequires:  perl(HTTP::Status) >= 6
6c58bb
BuildRequires:  perl(IO::Select)
6c58bb
BuildRequires:  perl(IO::Socket)
6c58bb
BuildRequires:  perl(LWP::MediaTypes) >= 6
6c58bb
BuildRequires:  perl(MIME::Base64) >= 2.1
6c58bb
BuildRequires:  perl(Net::FTP) >= 2.58
6c58bb
BuildRequires:  perl(Net::HTTP) >= 6.04
6c58bb
BuildRequires:  perl(strict)
6c58bb
BuildRequires:  perl(URI) >= 1.10
6c58bb
BuildRequires:  perl(URI::Escape)
6c58bb
BuildRequires:  perl(vars)
6c58bb
BuildRequires:  perl(WWW::RobotRules) >= 6
6c58bb
# Tests only:
6c58bb
BuildRequires:  perl(Config)
6c58bb
BuildRequires:  perl(Test)
6c58bb
BuildRequires:  perl(Test::More)
6c58bb
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
6c58bb
Requires:       perl(Encode) >= 2.12
6c58bb
Requires:       perl(File::Listing) >= 6
6c58bb
Requires:       perl(HTML::Entities)
6c58bb
Requires:       perl(HTML::HeadParser)
6c58bb
Requires:       perl(HTTP::Cookies) >= 6
6c58bb
Requires:       perl(HTTP::Daemon) >= 6
6c58bb
Requires:       perl(HTTP::Date) >= 6
6c58bb
Requires:       perl(HTTP::Negotiate) >= 6
6c58bb
Requires:       perl(HTTP::Request) >= 6
6c58bb
Requires:       perl(HTTP::Request::Common) >= 6
6c58bb
Requires:       perl(HTTP::Response) >= 6
6c58bb
Requires:       perl(HTTP::Status) >= 6
6c58bb
Requires:       perl(LWP::MediaTypes) >= 6
6c58bb
Requires:       perl(MIME::Base64) >= 2.1
6c58bb
Requires:       perl(Net::FTP) >= 2.58
6c58bb
Requires:       perl(Net::HTTP) >= 6.04
6c58bb
Requires:       perl(URI) >= 1.10
6c58bb
Requires:       perl(URI::Escape)
6c58bb
Requires:       perl(WWW::RobotRules) >= 6
6c58bb
6c58bb
%description
6c58bb
The libwww-perl collection is a set of Perl modules which provides a simple and
6c58bb
consistent application programming interface to the World-Wide Web.  The main
6c58bb
focus of the library is to provide classes and functions that allow you to
6c58bb
write WWW clients. The library also contain modules that are of more general
6c58bb
use and even classes that help you implement simple HTTP servers.
6c58bb
6c58bb
# Remove not-packaged features
6c58bb
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Authen::NTLM\\)
6c58bb
%global __requires_exclude %__requires_exclude|perl\\(HTTP::GHTTP\\)
6c58bb
# Remove underspecified dependencies
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(Encode\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(File::Listing\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Date\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Negotiate\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Request\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Response\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(HTTP::Status\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(LWP::MediaTypes\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(MIME::Base64\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(Net::HTTP\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(URI\\)\\s*$
6c58bb
%global __requires_exclude %__requires_exclude|^perl\\(WWW::RobotRules\)\\s*$
6c58bb
6c58bb
%prep
6c58bb
%setup -q -n libwww-perl-%{version} 
6c58bb
6c58bb
%build
6c58bb
# Install the aliases by default
6c58bb
perl Makefile.PL INSTALLDIRS=perl --aliases < /dev/null
6c58bb
make %{?_smp_mflags}
6c58bb
6c58bb
%install
6c58bb
make pure_install DESTDIR=%{buildroot}
6c58bb
find %{buildroot} -type f -name .packlist -exec rm -f {} +
6c58bb
chmod -R u+w %{buildroot}/*
6c58bb
6c58bb
%check
6c58bb
# Some optional tests require resolvable hostname
6c58bb
make test
6c58bb
6c58bb
%files
6c58bb
%doc AUTHORS Changes README*
6c58bb
%{_bindir}/*
6c58bb
%{perl_privlib}/lwp*.pod
6c58bb
%{perl_privlib}/LWP.pm
6c58bb
%{perl_privlib}/LWP/
6c58bb
%{_mandir}/man1/*.1*
6c58bb
%{_mandir}/man3/*.3*
6c58bb
6c58bb
%changelog
6c58bb
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.05-2
6c58bb
- Mass rebuild 2013-12-27
6c58bb
6c58bb
* Mon Aug 05 2013 Petr Šabata <contyk@redhat.com> - 6.05-1.1
6c58bb
- Add some missing build-time dependencies
6c58bb
- Fix bogus dates in changelog
6c58bb
6c58bb
* Tue Mar 12 2013 Petr Pisar <ppisar@redhat.com> - 6.05-1
6c58bb
- 6.05 bump
6c58bb
6c58bb
* Fri Mar 08 2013 Petr Pisar <ppisar@redhat.com> - 6.04-5
6c58bb
- Honor time-out (bug #919448)
6c58bb
6c58bb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-4
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6c58bb
6c58bb
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6c58bb
6c58bb
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.04-2
6c58bb
- Perl 5.16 rebuild
6c58bb
6c58bb
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.04-1
6c58bb
- 6.04 bump
6c58bb
6c58bb
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-2
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6c58bb
6c58bb
* Mon Oct 17 2011 Petr Pisar <ppisar@redhat.com> - 6.03-1
6c58bb
- 6.03 bump
6c58bb
- Remove RPM 4.8 dependecy filters
6c58bb
6c58bb
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-3
6c58bb
- RPM 4.9 dependency filtering added
6c58bb
6c58bb
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 6.02-2
6c58bb
- Perl mass rebuild
6c58bb
6c58bb
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> - 6.02-1
6c58bb
- 6.02 bump
6c58bb
- HTTPS support unbundled by upstream to break depency cycle in CPAN utilities.
6c58bb
  Install or depend on perl(LWP::Protocol::https) explicitly, if you need
6c58bb
  HTTPS support.
6c58bb
6c58bb
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> - 6.01-1
6c58bb
- 6.01 bump
6c58bb
- Remove BuildRoot stuff
6c58bb
- Remove unneeded hacks
6c58bb
6c58bb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.837-3
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6c58bb
6c58bb
* Tue Sep 28 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 5.837-2
6c58bb
- Add missing ':' to filter_from_requires perl(HTTP::GHTTP).
6c58bb
- filter_from_provides /perl(HTTP::Headers)$/d instead of /perl(HTTP::Headers)/d.
6c58bb
6c58bb
* Mon Sep 27 2010 Marcela Mašláňová <mmaslano@redhat.com> 5.837-1
6c58bb
- update
6c58bb
6c58bb
* Mon Jul 12 2010 Marcela Maslanova <mmaslano@redhat.com> - 5.836-1
6c58bb
- update
6c58bb
6c58bb
* Mon Jun 21 2010 Jesse Keating <jkeating@redhat.com> - 5.834-1
6c58bb
- Bump to match what was pushed to F13.
6c58bb
6c58bb
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 5.833-3
6c58bb
- Mass rebuild with perl-5.12.0
6c58bb
6c58bb
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 5.833-2
6c58bb
- rebuild against perl 5.10.1
6c58bb
6c58bb
* Fri Nov  6 2009 Marcela Mašláňová <mmaslano@redhat.com> 5.833-1
6c58bb
- update
6c58bb
6c58bb
* Thu Sep 17 2009 Warren Togami <cweyl@alumni.drew.edu> 5.831-1
6c58bb
- update to 5.831
6c58bb
6c58bb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.825-3
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6c58bb
6c58bb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.825-2
6c58bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6c58bb
6c58bb
* Mon Feb 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> 5.825-1
6c58bb
- update to 5.825
6c58bb
6c58bb
* Thu Jan 22 2009 Marcela Mašláňová <mmaslano@redhat.com> 5.823-1
6c58bb
- update to 5.823
6c58bb
6c58bb
* Mon Oct 13 2008 Marcela Mašláňová <mmaslano@redhat.com> 5.817-1
6c58bb
- update to 5.817
6c58bb
6c58bb
* Tue Oct  7 2008 Marcela Mašláňová <mmaslano@redhat.com> 5.816-1
6c58bb
- update to 5.816
6c58bb
- fix #465855 - install --aliases by default
6c58bb
- use upstream patch for previous problem (see rt 38736)
6c58bb
6c58bb
* Thu Sep 18 2008 Marcela Maslanova <mmaslano@redhat.com> 5.814-2
6c58bb
- use untaint patch from Villa Skyte
6c58bb
6c58bb
* Thu Sep 18 2008 Marcela Maslanova <mmaslano@redhat.com> 5.814-1
6c58bb
- update to 5.814
6c58bb
- remove patch, now we have all upstream tests on
6c58bb
6c58bb
* Fri Mar  7 2008 Ville Skyttä <ville.skytta at="" iki.fi=""> - 5.808-7
6c58bb
- Use system /etc/mime.types instead of an outdated private copy.
6c58bb
6c58bb
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.808-6
6c58bb
- Rebuild for perl 5.10 (again)
6c58bb
6c58bb
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.808-5
6c58bb
- rebuild for new perl
6c58bb
6c58bb
* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 5.808-4
6c58bb
- Fix various issues from package review:
6c58bb
- Fix tabs and spacing
6c58bb
- Remove unneeded BR: perl
6c58bb
- convert non-utf-8 files to utf-8
6c58bb
- Resolves: bz#226268
6c58bb
6c58bb
* Tue Aug 14 2007 Robin Norwood <rnorwood@redhat.com> - 5.808-3
6c58bb
- Make provides script filter out only the unversioned HTTP::Headers.
6c58bb
6c58bb
* Tue Aug 14 2007 Robin Norwood <rnorwood@redhat.com> - 5.808-2
6c58bb
- Disable some of the tests, with a long explanation.
6c58bb
6c58bb
* Mon Aug 13 2007 Robin Norwood <rnorwood@redhat.com> - 5.808-1
6c58bb
- Update to latest CPAN version
6c58bb
- Re-enable tests.  We'll see if they work now
6c58bb
- Move Requires filter into spec file
6c58bb
- Add Provides filter for unnecessary unversioned provides
6c58bb
6c58bb
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.805-1.1.1
6c58bb
- rebuild
6c58bb
6c58bb
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 5.805-1.1
6c58bb
- rebuild for new perl-5.8.8
6c58bb
6c58bb
* Mon Dec 19 2005 Jason Vas Dias<jvdias@redhat.com> - 5.805-1
6c58bb
- Upgrade to 5.805-1
6c58bb
6c58bb
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
6c58bb
- rebuilt for new gcc
6c58bb
6c58bb
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
6c58bb
- rebuilt for new gcj
6c58bb
6c58bb
* Sat Apr 02 2005 Warren Togami <wtogami@redhat.com> - 5.803-2
6c58bb
- skip make test (#150363)
6c58bb
6c58bb
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at="" di.uminho.pt=""> - 5.803-1
6c58bb
- Update to 5.803.
6c58bb
- spec cleanup (#150363)
6c58bb
6c58bb
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 5.79-6
6c58bb
- Convert man page to UTF-8
6c58bb
6c58bb
* Fri Aug 13 2004 Bill Nottingham <notting@redhat.com> 5.76-5
6c58bb
- fix %%defattr
6c58bb
6c58bb
* Mon Aug 09 2004 Alan Cox <alan@redhat.com> 5.76-4
6c58bb
- added missing BuildRequires on perl(HTML::Parser) [Steve Grubb]
6c58bb
6c58bb
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
6c58bb
- rebuilt
6c58bb
6c58bb
* Fri Apr 16 2004 Warren Togami <wtogami@redhat.com> 5.76-2
6c58bb
- #12051 misc fixes from Ville Skyttä
6c58bb
6c58bb
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 5.76-1
6c58bb
- update to 5.76
6c58bb
6c58bb
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
6c58bb
- automated release bump and build
6c58bb
6c58bb
* Tue Jul 16 2002 Chip Turner <cturner@redhat.com>
6c58bb
- added missing Requires on perl(HTML::Entities)
6c58bb
6c58bb
* Fri Mar 29 2002 Chip Turner <cturner@redhat.com>
6c58bb
- added Requires: for perl-URI and perl-Digest-MD5
6c58bb
6c58bb
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
6c58bb
- automated rebuild
6c58bb
6c58bb
* Fri Dec 7 2001 root <root@redhat.com>
6c58bb
- Spec file was autogenerated.