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