[perl-ZMQ-LibZMQ2] * First Fedora build

Jose Pedro Oliveira jpo at fedoraproject.org
Thu Jan 3 15:38:21 UTC 2013


commit 16ba3bb1945039cad8bc90c6ab43dc19ba5e610f
Author: Jose Pedro Oliveira <jpo at di.uminho.pt>
Date:   Thu Jan 3 16:37:58 2013 +0000

     * First Fedora build

 .gitignore            |    1 +
 perl-ZMQ-LibZMQ2.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dfc0feb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ZMQ-LibZMQ2-1.03.tar.gz
diff --git a/perl-ZMQ-LibZMQ2.spec b/perl-ZMQ-LibZMQ2.spec
new file mode 100644
index 0000000..8db32c3
--- /dev/null
+++ b/perl-ZMQ-LibZMQ2.spec
@@ -0,0 +1,67 @@
+Name:           perl-ZMQ-LibZMQ2
+Version:        1.03
+Release:        2%{?dist}
+Summary:        Perl wrapper for the libzmq 2.x library
+
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/ZMQ-LibZMQ2/
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/ZMQ-LibZMQ2-%{version}.tar.gz
+
+BuildRequires:  perl(AnyEvent)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More) >= 0.98
+BuildRequires:  perl(Test::Requires)
+BuildRequires:  perl(Test::SharedFork)
+BuildRequires:  perl(Test::TCP) >= 1.08
+BuildRequires:  perl(ZMQ::Constants) >= 1.00
+BuildRequires:  zeromq-devel
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The ZMQ::LibZMQ2 module is a wrapper of the 0MQ message passing library for
+Perl. It's a thin wrapper around the C API. Please read http://zeromq.org
+for more details on 0MQ.
+
+
+%prep
+%setup -q -n ZMQ-LibZMQ2-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+
+%files
+%doc Changes
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/ZMQ*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Thu Dec 27 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
+- Handle review itens (#868529)
+
+* Wed Oct 17 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
+- First Fedora release.
+
+# vim:set ai ts=4 sw=4 sts=4 et:
diff --git a/sources b/sources
index e69de29..c164406 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2a309240a34a43dea4107df77ef0cdf0  ZMQ-LibZMQ2-1.03.tar.gz


More information about the scm-commits mailing list