summaryrefslogtreecommitdiff
path: root/zeromq.spec
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-01-23 08:53:35 +0100
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:35 +0100
commite645fc2693acc796304498909786b7b47005b429 (patch)
tree4118cd4c7b9eba3ba1d6892800c79669ea94c4e9 /zeromq.spec
parent2c416a793ea781273a5da6742211f5f01af13a2b (diff)
Imported Upstream version 2.1.3upstream/2.1.3
Diffstat (limited to 'zeromq.spec')
-rw-r--r--zeromq.spec20
1 files changed, 14 insertions, 6 deletions
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