# # spec file for package perl-HTTP-DAV (Version 0.36) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # # norootforbuild Url: http://www.cpan.org/modules/by-module/HTTP/ Name: perl-HTTP-DAV BuildRequires: dos2unix perl-XML-DOM perl-XML-Parser perl-libwww-perl License: Artistic License Group: Development/Libraries/Perl Requires: perl-libwww-perl perl = %{perl_version} AutoReqProv: on Summary: A WebDAV client library for Perl5 Version: 0.36 Release: 1 Source: HTTP-DAV-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PerlDAV is a Perl library for modifying content on webservers using the WebDAV protocol. Now you can LOCK, DELETE and PUT files and much more on a DAV-enabled webserver. Authors: -------- Patrick Collins %prep %setup -q -n HTTP-DAV-%{version} chmod a-x README Changes MANIFEST dos2unix README Changes MANIFEST chmod a-x DAV/*.pm DAV.pm dos2unix DAV/*.pm DAV.pm %build perl Makefile.PL make %check make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %doc Changes MANIFEST README %doc %{_mandir}/man?/* /usr/bin/dave %dir %{perl_vendorlib}/HTTP/DAV.pm %{perl_vendorlib}/HTTP/DAV %dir %{perl_vendorarch}/auto/HTTP %{perl_vendorarch}/auto/HTTP/DAV /var/adm/perl-modules/%{name} %changelog * Fri Feb 27 2009 anicka@suse.cz - update to 0.36 * Fixed RT #19616 (http://rt.cpan.org/Public/Bug/Display.html?id=19616), LWP::UserAgent::redirect_ok() is not changed anymore. We're subclassing it from HTTP::DAV::UserAgent and overriding redirect_ok() there. * Fixed RT #42877 (http://rt.cpan.org/Public/Bug/Display.html?id=42877), HTTP::DAV::UserAgent::credentials() has been modified to behave like LWP::UserAgent::credentials(), otherwise basic authentication breakages can occur. * Fixed a problem with C<-depth> argument to C that could lead to massive performance degradation, especially when running C against large folders. C<-depth> was set to 1 even when passed as zero. - fix permissions, ends of lines and perl dependency * Tue Jan 20 2009 anicka@suse.cz - update to 0.35 * Fixed getting single or multiple files directly to \*STDOUT. * Thu Sep 11 2008 anicka@suse.cz - update to 0.34 * fixed downloading multiple files in the same directory. * Wed Sep 10 2008 anicka@suse.cz - update to 0.33 * Clearly state that Opera Software ASA is now co-maintainer of HTTP::DAV * Fixed various inconsistencies in the v0.32 documentation * Now HTTP::DAV requires Perl 5.6.0+ and Scalar::Util (core in 5.8.x). * Now HTTP::DAV objects are correctly released from memory when they go out of scope. Now it should be possible to use multiple instances of HTTP::DAV even in long-running processes. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Sep 28 2005 dmueller@suse.de - add norootforbuild * Wed Jan 28 2004 ro@suse.de - created package (version 0.31)