8
0
forked from pool/perl-HTTP-DAV

Updating link to change in openSUSE:Factory/perl-HTTP-DAV revision 14.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-DAV?expand=0&rev=06243a2f6e0f804b07f690159b83b645
This commit is contained in:
OBS User buildservice-autocommit
2010-08-02 08:39:41 +00:00
committed by Git OBS Bridge
parent 273539269b
commit 31e0ded149
4 changed files with 56 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf43a760db63a31d620e77a89f55bde4ecdc036209a5ee0d2a5f1c7492a27921
size 77165

3
HTTP-DAV-0.41.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bb4514c87fb02b63d06b4b2028a56c8bcf878997d46cd134036f392c270f5b8
size 77405

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jul 27 09:15:34 UTC 2010 - chris@computersalat.de
- update to 0.41
- Fixed RT #59674 (http://rt.cpan.org/Public/Bug/Display.html?id=59674),
When SSL support is needed but not installed, a more specific
error messages is now displayed, instead of "not DAV enabled
or not accessible".
- recreated by cpanspec 1.78
o fix deps
- noarch pkg
-------------------------------------------------------------------
Tue Feb 23 16:23:31 CET 2010 - anicka@suse.cz

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-HTTP-DAV (Version 0.40)
# spec file for package perl-HTTP-DAV (Version 0.41)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,61 +17,66 @@
# 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.40
%define cpan_name HTTP-DAV
Summary: WebDAV client library for Perl5
Version: 0.41
Release: 1
Source: HTTP-DAV-%{version}.tar.bz2
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTTP-DAV/
#Source: http://www.cpan.org/modules/by-module/HTTP/HTTP-DAV-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(LWP) >= 5.48
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(XML::DOM)
Requires: perl = %{perl_version}
Requires: perl(LWP) >= 5.48
Requires: perl(Scalar::Util)
Requires: perl(XML::DOM)
%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.
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.
Authors:
--------
Patrick Collins <pcollins@cpan.org>
%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
%setup -q -n %{cpan_name}-%{version}
%{__perl} -p -i -e "s|\r\n|\n|" TODO
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $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}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README TODO
%changelog