File perl-ZMQ-LibZMQ4.spec of Package perl-ZMQ-LibZMQ4
#
# spec file for package perl-ZMQ-LibZMQ4
#
# 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-ZMQ-LibZMQ4
Version: 0.01
Release: 0
%define cpan_name ZMQ-LibZMQ4
Summary: Libzmq 4.X Wrapper for Perl
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/ZMQ-LibZMQ4/
Source0: http://www.cpan.org/authors/id/M/MO/MOSCONI/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
The 'ZMQ::LibZMQ4' 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 4.x. For 2.x, you need to check the
ZMQ::LibZMQ2 manpage and for 3.x, you need to check the ZMQ::LibZMQ3
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