3 %bcond_without pgm # PGM extension (using OpenPGM library)
4 %bcond_without tests # build without tests
6 Summary: 0MQ - Zero Message Queue
7 Summary(en.UTF-8): ØMQ - Zero Message Queue
8 Summary(pl.UTF-8): ØMQ (Zero Message Queue) - kolejka komunikatów
14 Source0: http://download.zeromq.org/%{name}-%{version}.tar.gz
15 # Source0-md5: 73c39f5eb01b9d7eaf74a5d899f1d03d
16 URL: http://www.zeromq.org/
17 BuildRequires: asciidoc
18 BuildRequires: autoconf >= 2.61
19 BuildRequires: automake
20 BuildRequires: libsodium-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtool
23 BuildRequires: libuuid-devel
24 %{?with_pgm:BuildRequires: libpgm-devel >= 5.1}
25 BuildRequires: pkgconfig
26 BuildRequires: sed >= 4.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The 0MQ lightweight messaging kernel is a library which extends the
32 standard socket interfaces with features traditionally provided by
33 specialised messaging middleware products. 0MQ sockets provide an
34 abstraction of asynchronous message queues, multiple messaging
35 patterns, message filtering (subscriptions), seamless access to
36 multiple transport protocols and more.
38 %description -l en.UTF-8
39 The ØMQ lightweight messaging kernel is a library which extends the
40 standard socket interfaces with features traditionally provided by
41 specialised messaging middleware products. ØMQ sockets provide an
42 abstraction of asynchronous message queues, multiple messaging
43 patterns, message filtering (subscriptions), seamless access to
44 multiple transport protocols and more.
46 %description -l pl.UTF-8
47 Lekkie jądro przekazywania komunikatów ØMQ to biblioteka rozszerzająca
48 standardowe interfejsy gniazd o możliwości zwykle udostępniane przez
49 specjalizowane produkty warstwy pośredniej do przekazywania
50 komunikatów. Gniazda ØMQ udostępniają abstrakcję asynchronicznych
51 kolejek komunikatów, wiele wzorców przekazywania komunikatów,
52 filtrowanie komunikatów (subskrypce), przezroczysty dostęp do wielu
53 protokołów transportowych i wiele innych możliwości.
56 Summary: 0MQ library header files for development
57 Summary(en.UTF-8): ØMQ library header files for development
58 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ØMQ
59 Group: Development/Libraries
60 Requires: %{name} = %{version}-%{release}
61 Requires: libstdc++-devel
62 Obsoletes: zeromq-pthreads-devel
65 0MQ library header files for development.
67 %description devel -l en.UTF-8
68 ØMQ library header files for development.
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe biblioteki ØMQ.
74 Summary: Static 0MQ library
75 Summary(en.UTF-8): Static ØMQ library
76 Summary(pl.UTF-8): Statyczna biblioteka ØMQ
77 Group: Development/Libraries
78 Requires: %{name}-devel = %{version}-%{release}
79 Obsoletes: zeromq-pthreads-static
84 %description static -l en.UTF-8
87 %description static -l pl.UTF-8
88 Statyczna biblioteka ØMQ.
100 --disable-silent-rules \
101 %{?with_pgm:--with-system-pgm}
109 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT
114 # obsoleted by pkg-config
115 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
118 rm -rf $RPM_BUILD_ROOT
120 %post -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog MAINTAINERS NEWS
126 %attr(755,root,root) %{_bindir}/curve_keygen
127 %attr(755,root,root) %{_libdir}/libzmq.so.*.*.*
128 %attr(755,root,root) %ghost %{_libdir}/libzmq.so.4
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libzmq.so
134 %{_includedir}/zmq_utils.h
135 %{_pkgconfigdir}/libzmq.pc
136 %{_mandir}/man3/zmq*.3*
137 %{_mandir}/man7/zmq*.7*
140 %defattr(644,root,root,755)