From e645fc2693acc796304498909786b7b47005b429 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:53:35 +0100 Subject: Imported Upstream version 2.1.3 --- zeromq.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'zeromq.spec') diff --git a/zeromq.spec b/zeromq.spec index c92252e..eda5786 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -1,5 +1,5 @@ Name: zeromq -Version: 2.0.10 +Version: 2.1.3 Release: 1%{?dist} Summary: The ZeroMQ messaging library Group: Applications/Internet @@ -8,12 +8,19 @@ URL: http://www.zeromq.org/ Source: http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: gcc, make, gcc-c++, libstdc++-devel +Requires: libstdc++ + %if %{?rhel}%{!?rhel:0} >= 6 -BuildRequires: libuuid-devel, gcc, make, gcc-c++, libstdc++-devel +BuildRequires: libuuid-devel +Requires: libuuid +%elseif %{?rhel}%{!?rhel:0} >= 5 +BuildRequires: e2fsprogs-devel +Requires: e2fsprogs %else -BuildRequires: uuid-devel, gcc, make, gcc-c++, libstdc++-devel +BuildRequires: uuid-devel +Requires: uuid %endif -Requires: uuid, libstdc++ # Build pgm only on supported archs %ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64 @@ -62,6 +69,7 @@ This package contains ZeroMQ related development libraries and header files. [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} # Install the package to build area +%{__make} check %makeinstall %post @@ -80,8 +88,8 @@ This package contains ZeroMQ related development libraries and header files. %doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README # libraries -%{_libdir}/libzmq.so.0 -%{_libdir}/libzmq.so.0.0.0 +%{_libdir}/libzmq.so.1 +%{_libdir}/libzmq.so.1.0.0 %attr(0755,root,root) %{_bindir}/zmq_forwarder %attr(0755,root,root) %{_bindir}/zmq_queue -- cgit v1.2.3