2007-01-15 23:30:51 +00:00
|
|
|
#
|
2011-04-18 09:03:12 +00:00
|
|
|
# spec file for package perl-HTTP-DAV
|
2007-01-15 23:30:51 +00:00
|
|
|
#
|
2013-06-05 08:23:37 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:51 +00:00
|
|
|
#
|
2008-09-12 16:10:57 +00:00
|
|
|
# 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/
|
2007-01-15 23:30:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-09-12 16:10:57 +00:00
|
|
|
Name: perl-HTTP-DAV
|
2013-06-05 08:23:37 +00:00
|
|
|
Version: 0.47
|
2012-01-13 12:53:23 +00:00
|
|
|
Release: 0
|
2011-09-19 08:37:23 +00:00
|
|
|
%define cpan_name HTTP-DAV
|
2013-06-05 08:23:37 +00:00
|
|
|
Summary: A WebDAV client library for Perl5
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-09-19 08:37:23 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-01-13 12:53:23 +00:00
|
|
|
Url: http://search.cpan.org/dist/HTTP-DAV/
|
2013-06-05 08:23:37 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/C/CO/COSIMO/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-08-02 08:39:41 +00:00
|
|
|
BuildRequires: perl
|
2012-01-13 12:53:23 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-08-02 08:39:41 +00:00
|
|
|
BuildRequires: perl(LWP) >= 5.48
|
2013-06-05 08:23:37 +00:00
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(URI::Escape)
|
2010-08-02 08:39:41 +00:00
|
|
|
BuildRequires: perl(XML::DOM)
|
2013-06-05 08:23:37 +00:00
|
|
|
#BuildRequires: perl(HTTP::Date)
|
|
|
|
#BuildRequires: perl(HTTP::DAV)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::Comms)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::Lock)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::Resource)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::ResourceList)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::Response)
|
|
|
|
#BuildRequires: perl(HTTP::DAV::Utils)
|
|
|
|
#BuildRequires: perl(HTTP::Headers)
|
|
|
|
#BuildRequires: perl(HTTP::Response)
|
|
|
|
#BuildRequires: perl(TestDetails)
|
|
|
|
#BuildRequires: perl(URI::file)
|
2010-08-02 08:39:41 +00:00
|
|
|
Requires: perl(LWP) >= 5.48
|
2013-06-05 08:23:37 +00:00
|
|
|
Requires: perl(URI)
|
|
|
|
Requires: perl(URI::Escape)
|
2010-08-02 08:39:41 +00:00
|
|
|
Requires: perl(XML::DOM)
|
2011-09-19 08:37:23 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%description
|
2010-08-02 08:39:41 +00:00
|
|
|
HTTP::DAV is a Perl API for interacting with and modifying content on
|
|
|
|
webservers using the WebDAV protocol. Now you can LOCK, DELETE and PUT
|
|
|
|
files and much more on a DAV-enabled webserver.
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%prep
|
2010-08-02 08:39:41 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%build
|
2013-06-05 08:23:37 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2008-09-12 16:10:57 +00:00
|
|
|
|
|
|
|
%check
|
2013-06-05 08:23:37 +00:00
|
|
|
%{__make} test
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%install
|
2010-08-02 08:39:41 +00:00
|
|
|
%perl_make_install
|
2013-06-05 08:23:37 +00:00
|
|
|
%perl_process_packlist
|
2010-08-02 08:39:41 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:51 +00:00
|
|
|
|
2010-08-02 08:39:41 +00:00
|
|
|
%files -f %{name}.files
|
2013-06-05 08:23:37 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes doc README TODO
|
2007-01-15 23:30:51 +00:00
|
|
|
|
2008-09-12 16:10:57 +00:00
|
|
|
%changelog
|