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