File perl-UltraDNS.spec of Package perl-UltraDNS

#
# spec file for package perl-UltraDNS
#
# Copyright (c) 2015 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 http://bugs.opensuse.org/
#


Name:           perl-UltraDNS
Version:        0.06
Release:        0
%define cpan_name UltraDNS
Summary:        Client API for the NeuStar UltraDNS Transaction Protocol
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/UltraDNS/
Source0:        http://www.cpan.org/authors/id/T/TI/TIMB/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Net::SSLeay) >= 1.35
BuildRequires:  perl(RPC::XML) >= 0.64
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(XML::LibXML)
Requires:       perl(Net::SSLeay) >= 1.35
Requires:       perl(RPC::XML) >= 0.64
Requires:       perl(Test::Exception)
Requires:       perl(XML::LibXML)
%{perl_requires}

%description
A simple and efficient client for the NeuStar UltraDNS Transaction Protocol
as defined in the http://www.ultradns.net/api/NUS_API_XML.pdf manpage
(version 3.0, dated September 5, 2008).

All requests are batched and performed in transactions. A single secure
connection is established and reused for any number of transactions.
Multiple concurrent connections can be used if required.

All errors are reported via exceptions.

%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 NUS_API_XML.errata README

%changelog
openSUSE Build Service is sponsored by