]> git.pld-linux.org Git - packages/zeromq.git/blame - zeromq.spec
- disable test_radio_dish test; release 2
[packages/zeromq.git] / zeromq.spec
CommitLineData
a86c1f4a
ER
1#
2# Conditional build:
4e73b439 3%bcond_without gnutls # TLS transport (GnuTLS based)
de74f45f
JB
4%bcond_with kerberos5 # GSSAPI client support [expects MIT Kerberos]
5%bcond_with norm # NORM extension
8c29375b 6%bcond_without pgm # PGM extension (using OpenPGM library)
a86c1f4a
ER
7%bcond_without tests # build without tests
8
970e18a4 9Summary: 0MQ - Zero Message Queue
a86c1f4a 10Summary(en.UTF-8): ØMQ - Zero Message Queue
970e18a4 11Summary(pl.UTF-8): ØMQ (Zero Message Queue) - kolejka komunikatów
ee66aa70 12Name: zeromq
4e73b439 13Version: 4.3.3
b14946a5 14Release: 2
de74f45f 15License: LGPL v3+ with linking exception
ee66aa70 16Group: Libraries
1c59b9bd 17#Source0Download: https://github.com/zeromq/libzmq/releases/
69247a76 18Source0: https://github.com/zeromq/libzmq/releases/download/v%{version}/%{name}-%{version}.tar.gz
4e73b439 19# Source0-md5: 78acc277d95e10812d71b2b3c3c3c9a9
ee66aa70 20URL: http://www.zeromq.org/
970e18a4
JB
21BuildRequires: asciidoc
22BuildRequires: autoconf >= 2.61
ee66aa70 23BuildRequires: automake
4e73b439 24%{?with_gnutls:BuildRequires: gnutls-devel >= 3.1.4}
de74f45f 25%{?with_krb5:BuildRequires: krb5-devel}
4e73b439
JB
26BuildRequires: libbsd-devel
27# 5.1, 5.2, 5.3 are supported
28%{?with_pgm:BuildRequires: libpgm-devel >= 5.1}
29%{?with_pgm:BuildRequires: libpgm-devel < 5.4}
2bed0049 30BuildRequires: libsodium-devel
e5356c10 31BuildRequires: libstdc++-devel
32BuildRequires: libtool
4e73b439 33BuildRequires: libunwind-devel
e5356c10 34BuildRequires: libuuid-devel
de74f45f 35%{?with_norm:BuildRequires: norm-devel}
e5356c10 36BuildRequires: pkgconfig
8c29375b 37BuildRequires: sed >= 4.0
970e18a4 38BuildRequires: xmlto
ee66aa70 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
970e18a4 42The 0MQ lightweight messaging kernel is a library which extends the
a86c1f4a 43standard socket interfaces with features traditionally provided by
970e18a4 44specialised messaging middleware products. 0MQ sockets provide an
a86c1f4a
ER
45abstraction of asynchronous message queues, multiple messaging
46patterns, message filtering (subscriptions), seamless access to
47multiple transport protocols and more.
48
49%description -l en.UTF-8
e24289c9
KK
50The ØMQ lightweight messaging kernel is a library which extends the
51standard socket interfaces with features traditionally provided by
52specialised messaging middleware products. ØMQ sockets provide an
53abstraction of asynchronous message queues, multiple messaging
54patterns, message filtering (subscriptions), seamless access to
55multiple transport protocols and more.
ee66aa70 56
970e18a4
JB
57%description -l pl.UTF-8
58Lekkie jądro przekazywania komunikatów ØMQ to biblioteka rozszerzająca
59standardowe interfejsy gniazd o możliwości zwykle udostępniane przez
60specjalizowane produkty warstwy pośredniej do przekazywania
61komunikatów. Gniazda ØMQ udostępniają abstrakcję asynchronicznych
62kolejek komunikatów, wiele wzorców przekazywania komunikatów,
63filtrowanie komunikatów (subskrypce), przezroczysty dostęp do wielu
64protokołów transportowych i wiele innych możliwości.
65
ee66aa70 66%package devel
970e18a4 67Summary: 0MQ library header files for development
a86c1f4a 68Summary(en.UTF-8): ØMQ library header files for development
e24289c9 69Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ØMQ
ee66aa70 70Group: Development/Libraries
a86c1f4a 71Requires: %{name} = %{version}-%{release}
4e73b439
JB
72%{?with_gnutls:Requires: gnutls >= 3.1.4}
73Requires: libbsd-devel
74%{?with_pgm:Requires: libpgm-devel >= 5.1}
75Requires: libsodium-devel
8c29375b 76Requires: libstdc++-devel
4e73b439 77Requires: libunwind-devel
ee66aa70 78Obsoletes: zeromq-pthreads-devel
79
80%description devel
970e18a4 810MQ library header files for development.
ee66aa70 82
a86c1f4a
ER
83%description devel -l en.UTF-8
84ØMQ library header files for development.
85
ee66aa70 86%description devel -l pl.UTF-8
e24289c9 87Pliki nagłówkowe biblioteki ØMQ.
ee66aa70 88
89%package static
970e18a4 90Summary: Static 0MQ library
a86c1f4a 91Summary(en.UTF-8): Static ØMQ library
e24289c9 92Summary(pl.UTF-8): Statyczna biblioteka ØMQ
ee66aa70 93Group: Development/Libraries
a86c1f4a 94Requires: %{name}-devel = %{version}-%{release}
ee66aa70 95Obsoletes: zeromq-pthreads-static
96
97%description static
970e18a4 98Static 0MQ library.
a86c1f4a
ER
99
100%description static -l en.UTF-8
e24289c9 101Static ØMQ library.
ee66aa70 102
103%description static -l pl.UTF-8
e24289c9 104Statyczna biblioteka ØMQ.
ee66aa70 105
9b67e65f
AM
106%package -n cppzmq-devel
107Summary: Development files for cppzmq
c2b00f6d 108Summary(pl.UTF-8): Pliki programistyczne cppzmq
9b67e65f
AM
109Group: Development/Libraries
110License: MIT
111Requires: %{name}-devel = %{version}-%{release}
112
113%description -n cppzmq-devel
c2b00f6d
JB
114The cppzmq-devel package contains the header file for developing
115applications that use the C++ interface for 0MQ.
116
117%description -n cppzmq-devel -l pl.UTF-8
118Ten pakiet zawiera plik nagłówkowy do tworzenia aplikacji
119wykorzystujących interfejs C++ do ØMQ.
9b67e65f 120
ee66aa70 121%prep
122%setup -q
123
de74f45f
JB
124%{__sed} -ne '/SPECIAL EXCEPTION GRANTED/,$p' COPYING.LESSER > COPYING.exception
125
b14946a5
JB
126# uses some multicast networking, timeouts on some hosts
127%{__sed} -i -e '/^\s*tests\/test_radio_dish /d' Makefile.am
128
ee66aa70 129%build
1b0270ac 130%{__libtoolize}
6f214ed5 131%{__aclocal}
ee66aa70 132%{__autoconf}
1b0270ac 133%{__automake}
6f214ed5 134%{__autoheader}
970e18a4 135%configure \
4e73b439 136 --enable-drafts \
8c29375b 137 --disable-silent-rules \
de74f45f 138 %{?with_kerberos5:--with-libgssapi_krb5} \
1c59b9bd 139 --with-libsodium \
de74f45f 140 %{?with_norm:--with-norm} \
4e73b439
JB
141 %{?with_pgm:--with-pgm} \
142 %{?with_gnutls:--with-tls}
ee66aa70 143%{__make}
144
b70f87eb 145%if %{with tests}
74550f58 146%{__make} check -j1
b70f87eb
AM
147%endif
148
ee66aa70 149%install
150rm -rf $RPM_BUILD_ROOT
151
152%{__make} install \
153 DESTDIR=$RPM_BUILD_ROOT
154
970e18a4
JB
155# obsoleted by pkg-config
156%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
6f214ed5 157
ee66aa70 158%clean
159rm -rf $RPM_BUILD_ROOT
160
161%post -p /sbin/ldconfig
162%postun -p /sbin/ldconfig
163
164%files
165%defattr(644,root,root,755)
69247a76 166%doc AUTHORS COPYING.exception ChangeLog NEWS
1310e013 167%attr(755,root,root) %{_bindir}/curve_keygen
ee66aa70 168%attr(755,root,root) %{_libdir}/libzmq.so.*.*.*
de74f45f 169%attr(755,root,root) %ghost %{_libdir}/libzmq.so.5
ee66aa70 170
171%files devel
172%defattr(644,root,root,755)
970e18a4 173%attr(755,root,root) %{_libdir}/libzmq.so
ee66aa70 174%{_includedir}/zmq.h
1b0270ac 175%{_includedir}/zmq_utils.h
ee66aa70 176%{_pkgconfigdir}/libzmq.pc
6f214ed5
ER
177%{_mandir}/man3/zmq*.3*
178%{_mandir}/man7/zmq*.7*
ee66aa70 179
180%files static
181%defattr(644,root,root,755)
6f214ed5 182%{_libdir}/libzmq.a
This page took 0.122372 seconds and 4 git commands to generate.