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