File perl-ZMQ-LibZMQ3.spec of Package perl-ZMQ-LibZMQ3

#
# spec file for package perl-ZMQ-LibZMQ3
#
# Copyright (c) 2015 SUSE LINUX Products 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-ZMQ-LibZMQ3
Version:        1.19
Release:        0
%define cpan_name ZMQ-LibZMQ3
Summary:        A libzmq 3.x wrapper for Perl
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/ZMQ-LibZMQ3/
Source:         http://www.cpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Devel::PPPort) >= 3.19
BuildRequires:  perl(ExtUtils::ParseXS) >= 3.18
BuildRequires:  perl(Task::Weaken)
BuildRequires:  perl(Test::Fatal)
BuildRequires:  perl(Test::More) >= 0.98
BuildRequires:  perl(Test::Requires)
BuildRequires:  perl(Test::TCP) >= 1.08
BuildRequires:  perl(ZMQ::Constants)
#BuildRequires: perl(Alien::ZMQ)
#BuildRequires: perl(AnyEvent)
#BuildRequires: perl(inc::Module::Install)
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(Test::SharedFork)
#BuildRequires: perl(YAML::Tiny)
#BuildRequires: perl(ZMQ::LibZMQ3)
Requires:       perl(Task::Weaken)
Requires:       perl(ZMQ::Constants)
%{perl_requires}

%description
The 'ZMQ::LibZMQ3' module is a wrapper of the 0MQ message passing library
for Perl.

Before you start using this module, please make sure you have read and
understood the zguide.

    http://zguide.zeromq.org/page:all

For specifics on each function, please refer to their documentation for the
definitive explanation of each.

    http://api.zeromq.org/

This module is merely a thin wrapper around the C API: You need to
understand how the C API works in order to properly use this module.

Note that this is a wrapper for libzmq 3.x. For 2.x, you need to check the
ZMQ::LibZMQ2 manpage

%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__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

%changelog
openSUSE Build Service is sponsored by