Name: perl-LWP-Authen-Wsse
Version: 0.05
Release: 3%{?dist}
Summary: Library for enabling X-WSSE authentication in LWP
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/LWP-Authen-Wsse
Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/LWP-Authen-Wsse-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Digest::SHA1) perl(MIME::Base64)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
LWP::Authen::Wsse allows LWP to authenticate against servers that are
using the X-WSSE authentication scheme, as required by the Atom
Authentication API.
%prep
%setup -q -n LWP-Authen-Wsse-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-3.1
Rebuild for new perl
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2.1
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.05-2
- Add BuildRequires perl(Digest::SHA1) perl(MIME::Base64)
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.05-1
- Initial packaging