File perl-HTTP-DAV.spec of Package perl-HTTP-DAV

#
# spec file for package perl-HTTP-DAV (Version 0.34)
#
# Copyright (c) 2008 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:  perl-XML-DOM perl-XML-Parser perl-libwww-perl
License:        Artistic License
Group:          Development/Libraries/Perl
Requires:       perl-libwww-perl
AutoReqProv:    on
Summary:        A WebDAV client library for Perl5
Version:        0.34
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 <pcollins@cpan.org>

%prep
%setup -q -n HTTP-DAV-%{version}
# ---------------------------------------------------------------------------

%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
* 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
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Wed Jan 28 2004 ro@suse.de
- created package (version 0.31)
openSUSE Build Service is sponsored by