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