2010-04-16 00:01:13 +01:00
|
|
|
Name: zeromq
|
|
|
|
Version: @PACKAGE_VERSION@
|
|
|
|
Release: 1%{?dist}
|
2010-05-28 00:55:04 +02:00
|
|
|
Summary: The ZeroMQ messaging library
|
2010-04-16 00:01:13 +01:00
|
|
|
Group: Applications/Internet
|
|
|
|
License: LGPLv3+
|
|
|
|
URL: http://www.zeromq.org/
|
2011-04-09 08:45:12 +02:00
|
|
|
Source: http://download.zeromq.org/%{name}-%{version}.tar.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
Prefix: %{_prefix}
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2011-02-21 23:40:48 +01:00
|
|
|
BuildRequires: gcc, make, gcc-c++, libstdc++-devel
|
|
|
|
Requires: libstdc++
|
|
|
|
|
2013-01-11 22:50:31 +02:00
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel} == 6
|
2011-02-21 23:40:48 +01:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
Requires: libuuid
|
2013-01-11 22:50:31 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} == 5
|
2011-02-21 23:40:48 +01:00
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
Requires: e2fsprogs
|
2013-01-11 22:50:31 +02:00
|
|
|
%endif
|
2010-10-13 07:59:50 +02:00
|
|
|
%else
|
2011-02-21 23:40:48 +01:00
|
|
|
BuildRequires: uuid-devel
|
|
|
|
Requires: uuid
|
2010-11-25 14:04:53 +01:00
|
|
|
%endif
|
2010-04-16 00:01:13 +01:00
|
|
|
|
|
|
|
# Build pgm only on supported archs
|
|
|
|
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
|
2011-04-09 08:45:12 +02:00
|
|
|
BuildRequires: python, perl
|
2010-04-16 00:01:13 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
2010-05-28 00:55:04 +02:00
|
|
|
The 0MQ lightweight messaging kernel is a library which extends the
|
|
|
|
standard socket interfaces with features traditionally provided by
|
|
|
|
specialised messaging middleware products. 0MQ sockets provide an
|
|
|
|
abstraction of asynchronous message queues, multiple messaging
|
|
|
|
patterns, message filtering (subscriptions), seamless access to
|
|
|
|
multiple transport protocols and more.
|
|
|
|
|
|
|
|
This package contains the ZeroMQ shared library.
|
2010-04-16 00:01:13 +01:00
|
|
|
|
|
|
|
%package devel
|
2010-05-28 00:55:04 +02:00
|
|
|
Summary: Development files and static library for the ZeroMQ library
|
2010-04-16 00:01:13 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
2010-05-28 00:55:04 +02:00
|
|
|
The 0MQ lightweight messaging kernel is a library which extends the
|
|
|
|
standard socket interfaces with features traditionally provided by
|
|
|
|
specialised messaging middleware products. 0MQ sockets provide an
|
|
|
|
abstraction of asynchronous message queues, multiple messaging
|
|
|
|
patterns, message filtering (subscriptions), seamless access to
|
|
|
|
multiple transport protocols and more.
|
2010-04-16 00:01:13 +01:00
|
|
|
|
2010-05-28 00:55:04 +02:00
|
|
|
This package contains ZeroMQ related development libraries and header files.
|
2010-04-16 00:01:13 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
|
2013-01-11 22:50:31 +02:00
|
|
|
%configure --with-pgm --with-pic --with-gnu-ld
|
2010-04-16 00:01:13 +01:00
|
|
|
%else
|
|
|
|
%configure
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
# Install the package to build area
|
2011-02-21 23:40:48 +01:00
|
|
|
%{__make} check
|
2010-04-16 00:01:13 +01:00
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
# docs in the main package
|
|
|
|
%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
|
|
|
|
|
|
|
|
# libraries
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_libdir}/libzmq.so.3
|
|
|
|
%{_libdir}/libzmq.so.3.0.0
|
2012-03-16 16:39:11 -05:00
|
|
|
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man7/zmq.7.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/zmq.h
|
2010-10-13 07:59:50 +02:00
|
|
|
%{_includedir}/zmq_utils.h
|
2010-04-16 00:01:13 +01:00
|
|
|
|
|
|
|
%{_libdir}/libzmq.la
|
|
|
|
%{_libdir}/libzmq.a
|
|
|
|
%{_libdir}/pkgconfig/libzmq.pc
|
|
|
|
%{_libdir}/libzmq.so
|
|
|
|
|
|
|
|
%{_mandir}/man3/zmq_bind.3.gz
|
|
|
|
%{_mandir}/man3/zmq_close.3.gz
|
|
|
|
%{_mandir}/man3/zmq_connect.3.gz
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_mandir}/man3/zmq_disconnect.3.gz
|
|
|
|
%{_mandir}/man3/zmq_ctx_destroy.3.gz
|
|
|
|
%{_mandir}/man3/zmq_ctx_get.3.gz
|
|
|
|
%{_mandir}/man3/zmq_ctx_new.3.gz
|
|
|
|
%{_mandir}/man3/zmq_ctx_set.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_recv.3.gz
|
2010-10-13 07:59:50 +02:00
|
|
|
%{_mandir}/man3/zmq_errno.3.gz
|
|
|
|
%{_mandir}/man3/zmq_getsockopt.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_init.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_close.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_copy.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_data.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_init.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_init_data.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_init_size.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_move.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_size.3.gz
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_mandir}/man3/zmq_msg_get.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_more.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_recv.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_send.3.gz
|
|
|
|
%{_mandir}/man3/zmq_msg_set.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_poll.3.gz
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_mandir}/man3/zmq_proxy.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_recv.3.gz
|
2011-07-21 11:51:41 +02:00
|
|
|
%{_mandir}/man3/zmq_recvmsg.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_send.3.gz
|
2011-07-21 11:51:41 +02:00
|
|
|
%{_mandir}/man3/zmq_sendmsg.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_setsockopt.3.gz
|
|
|
|
%{_mandir}/man3/zmq_socket.3.gz
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_mandir}/man3/zmq_socket_monitor.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man3/zmq_strerror.3.gz
|
|
|
|
%{_mandir}/man3/zmq_term.3.gz
|
|
|
|
%{_mandir}/man3/zmq_version.3.gz
|
2012-11-26 16:12:25 +00:00
|
|
|
%{_mandir}/man3/zmq_unbind.3.gz
|
2010-04-16 00:01:13 +01:00
|
|
|
%{_mandir}/man7/zmq_epgm.7.gz
|
|
|
|
%{_mandir}/man7/zmq_inproc.7.gz
|
|
|
|
%{_mandir}/man7/zmq_ipc.7.gz
|
|
|
|
%{_mandir}/man7/zmq_pgm.7.gz
|
|
|
|
%{_mandir}/man7/zmq_tcp.7.gz
|
|
|
|
|
|
|
|
%changelog
|
2012-11-26 16:12:25 +00:00
|
|
|
* Mon Nov 26 2012 Justin Cook <jhcook@gmail.com> 3.2.2
|
|
|
|
- Update packaged files
|
|
|
|
|
2011-04-09 08:45:12 +02:00
|
|
|
* Fri Apr 8 2011 Mikko Koppanen <mikko@kuut.io> 3.0.0-1
|
|
|
|
- Update dependencies and packaged files
|
|
|
|
|
2010-04-16 00:01:13 +01:00
|
|
|
* Sat Apr 10 2010 Mikko Koppanen <mkoppanen@php.net> 2.0.7-1
|
|
|
|
- Initial packaging
|