2007-01-15 23:30:51 +00:00
|
|
|
#
|
2010-02-24 01:24:04 +00:00
|
|
|
# spec file for package perl-HTTP-DAV (Version 0.40)
|
2007-01-15 23:30:51 +00:00
|
|
|
#
|
2010-01-12 12:49:49 +00:00
|
|
|
# Copyright (c) 2010 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
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-12 16:10:57 +00:00
|
|
|
Url: http://www.cpan.org/modules/by-module/HTTP/
|
|
|
|
|
|
|
|
Name: perl-HTTP-DAV
|
2009-02-27 13:06:55 +00:00
|
|
|
BuildRequires: dos2unix perl-XML-DOM perl-XML-Parser perl-libwww-perl
|
2009-08-03 17:39:31 +00:00
|
|
|
License: Artistic License ..
|
2008-09-12 16:10:57 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2009-02-27 13:06:55 +00:00
|
|
|
Requires: perl-libwww-perl perl = %{perl_version}
|
2008-09-12 16:10:57 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Summary: A WebDAV client library for Perl5
|
2010-02-23 15:41:41 +00:00
|
|
|
Version: 0.40
|
2010-01-14 20:50:15 +00:00
|
|
|
Release: 1
|
2008-09-12 16:10:57 +00:00
|
|
|
Source: HTTP-DAV-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%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
|
2008-09-12 16:10:57 +00:00
|
|
|
%setup -q -n HTTP-DAV-%{version}
|
2009-02-27 13:06:55 +00:00
|
|
|
chmod a-x README Changes MANIFEST
|
|
|
|
dos2unix README Changes MANIFEST
|
|
|
|
chmod a-x DAV/*.pm DAV.pm
|
|
|
|
dos2unix DAV/*.pm DAV.pm
|
2007-01-15 23:30:51 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 12:49:49 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-09-12 16:10:57 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:51 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
2008-09-12 16:10:57 +00:00
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
2007-01-15 23:30:51 +00:00
|
|
|
%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}
|
|
|
|
|
2008-09-12 16:10:57 +00:00
|
|
|
%changelog
|