File perl-EWS-Client.spec of Package perl-EWS-Client

Summary: Microsoft Exchange Web Services Client
Name: perl-EWS-Client
Version: 1.143070
Release: 1
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
Group: Applications/CPAN
URL: http://search.cpan.org/~oliver/EWS-Client/
Source: http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/EWS-Client-%{version}.tar.gz
BuildArch: noarch
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::ShareDir::Install)

%description
This module acts as a client to the Microsoft Exchange Web Services API.
From here you can access calendar and contact entries in a nicely abstracted
fashion. Query results are generally available in an iterator and convenience
methods exist to access the properties of each entry.

%prep
%setup -n EWS-Client-%{version}

%build
%{__perl} Makefile.PL
%{__make} %{?_smp_mflags}

%install
%perl_make_install
%perl_process_packlist

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root)
%doc Changes README
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/EWS
%{perl_vendorlib}/EWS/*.pm
%{perl_vendorlib}/EWS/Calendar
%{perl_vendorlib}/EWS/Client
%{perl_vendorlib}/EWS/Contacts
%{perl_vendorlib}/EWS/Folder
%{perl_vendorlib}/EWS/DistributionList
%dir %{perl_vendorlib}/auto/share
%dir %{perl_vendorlib}/auto/share/dist
%dir %{perl_vendorlib}/auto/share/dist/EWS-Client
%{perl_vendorlib}/auto/share/dist/EWS-Client/*