# # spec file for package perl-HTTP-DAV (Version 0.38) # # Copyright (c) 2010 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.38 Release: 2 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 %{?_smp_mflags} %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