File perl-WebService-Cmis.spec of Package perl-WebService-Cmis

#
# spec file for package perl-WebService-Cmis
#
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
#


Name:           perl-WebService-Cmis
Version:        0.09
Release:        0
%define cpan_name WebService-Cmis
Summary:        Perl interface to CMIS-compliant document management systems
License:        Artistic-1.0 OR GPL-1.0-or-later
Group:          Development/Libraries/Perl
Url:            https://metacpan.org/release/%{cpan_name}
Source0:        https://cpan.metacpan.org/authors/id/N/NU/NUDDLEGG/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Cache::FileCache)
BuildRequires:  perl(Error)
BuildRequires:  perl(File::MMagic)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(REST::Client)
BuildRequires:  perl(Test::Class)
BuildRequires:  perl(Test::DistManifest)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
BuildRequires:  perl(Test::Signature)
BuildRequires:  perl(URI)
BuildRequires:  perl(XML::LibXML)
BuildRequires:  perl(XML::SemanticDiff)
Requires:       perl(Error)
Requires:       perl(File::MMagic)
Requires:       perl(LWP::UserAgent)
Requires:       perl(REST::Client)
Requires:       perl(URI)
Requires:       perl(XML::LibXML)
%{perl_requires}

%description
This library provides a CMIS client library for Perl that can be used to
work with CMIS-compliant repositories such as Alfresco, IBM FileNet, Nuxeo
and others. CMIS is an OASIS approved specification with backing by major
ECM players including those mentioned as well as Microsoft, Oracle, and
SAP.

CMIS providers must expose both Web Services and Restful AtomPub bindings.
WebService::Cmis uses the Restful AtomPub binding to communicate with the
CMIS repository. All you have to tell WebService::Cmis is the repository's
service URL and your credentials. There is nothing to install on the server
side.

See the
_http://docs.oasis-open.org/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html_ for a
full understanding of what CMIS is.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%check
make test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README

%changelog
openSUSE Build Service is sponsored by