diff options
author | Martin Lucina <mato@kotelna.sk> | 2011-03-28 10:39:51 +0200 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-01-23 08:53:37 +0100 |
commit | 3e20cb1b8a2b1ca222011df37334e5f4f88dd565 (patch) | |
tree | 4a753775186bc7f583f1ceb3f9aa675b6f110596 /zeromq.spec | |
parent | 3f0085ddbef1a44b6bb7a0b23af497d56e0025fa (diff) | |
parent | e645fc2693acc796304498909786b7b47005b429 (diff) |
Imported Debian patch 2.1.3-1debian/2.1.3-1
Diffstat (limited to 'zeromq.spec')
-rw-r--r-- | zeromq.spec | 20 |
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 |