]> git.pld-linux.org Git - packages/zeromq.git/blob - zeromq.spec
- x32 rebuild
[packages/zeromq.git] / zeromq.spec
1 #
2 # Conditional build:
3 %bcond_without  pgm             # PGM extension (using OpenPGM library)
4 %bcond_without  tests           # build without tests
5
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
9 Name:           zeromq
10 Version:        4.0.5
11 Release:        2
12 License:        LGPL v3+
13 Group:          Libraries
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
27 BuildRequires:  xmlto
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
37
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.
45
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.
54
55 %package devel
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
63
64 %description devel
65 0MQ library header files for development.
66
67 %description devel -l en.UTF-8
68 ØMQ library header files for development.
69
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe biblioteki ØMQ.
72
73 %package static
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
80
81 %description static
82 Static 0MQ library.
83
84 %description static -l en.UTF-8
85 Static ØMQ library.
86
87 %description static -l pl.UTF-8
88 Statyczna biblioteka ØMQ.
89
90 %prep
91 %setup -q
92
93 %build
94 %{__libtoolize}
95 %{__aclocal}
96 %{__autoconf}
97 %{__automake}
98 %{__autoheader}
99 %configure \
100         --disable-silent-rules \
101         %{?with_pgm:--with-system-pgm}
102 %{__make}
103
104 %if %{with tests}
105 %{__make} check -j1
106 %endif
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 # obsoleted by pkg-config
115 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files
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
129
130 %files devel
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libzmq.so
133 %{_includedir}/zmq.h
134 %{_includedir}/zmq_utils.h
135 %{_pkgconfigdir}/libzmq.pc
136 %{_mandir}/man3/zmq*.3*
137 %{_mandir}/man7/zmq*.7*
138
139 %files static
140 %defattr(644,root,root,755)
141 %{_libdir}/libzmq.a
This page took 0.075013 seconds and 4 git commands to generate.